Closed yantingqiu closed 1 month ago
@yantingqiu Don't use the same hostname.
@yantingqiu Don't use the same hostname.
@gaius-qi When deploying Dragonfly2 in a containerized environment using StatefulSet, the Pods will retain their original hostnames after restarting, which seems difficult to change. Do you have any suggestions?
Additionally, the Pods that are killed should be marked as inactive, but the database continuously updates them to active.
Bug report:
When the scheduler restarts, the dfdaemon and seed-peer will report errors saying they can't resolve the scheduler. At the same time, the scheduler will also report errors saying it can't resolve the seed-peer.
In the database, the deleted scheduler remains in an active state, while the newly created scheduler stays in an inactive state.![image](https://github.com/dragonflyoss/Dragonfly2/assets/14917988/4d675108-b849-43b7-b2f0-b3ffe05a4b31)
Here are the relevant logs:
scheduler log:
scheduler.log
dfdaemon log:
dfdaemon.log
seed-peer log:
seed-peer.log
manager: manager.log
Expected behavior:
All components (scheduler, dfdaemon, and seed-peer) should be able to resolve each other correctly and operate without errors after the scheduler restarts.
How to reproduce it:
Environment:
uname -a
):