dragonflyoss / Dragonfly2

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project.
https://d7y.io
Apache License 2.0
2.22k stars 281 forks source link

The dfget downloads from object storage in my pod did not use P2P #3279

Closed lihuawei321 closed 4 months ago

lihuawei321 commented 4 months ago
  1. Use dfget in dfdaemon Pod1 for the first time image

You can see the logs in the scheduler image

  1. Using dfget in dfdaemon's pod2 is faster, and the scheduler logs are still visible image image

  2. However, when installing the dfget command in my own test pod to download, the speed is slow and no logs are generated in the scheduler, which indicates that P2P is not being used。 image

gaius-qi commented 4 months ago

Please provide test pod daemon log.

lihuawei321 commented 4 months ago

Please provide test pod daemon log. It seems like the scheduler address is unreachable. Where should this address be configured? I installed the dfget RPM package directly in the pod using yum install.

image

lihuawei321 commented 4 months ago

I found the issue. Although dfget is installed in my pod, the dfget configuration hasn't been changed.