Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Swarm unstable if host's address is different from the public IP address #26167
Additional environment details (AWS, VirtualBox, physical, etc.):
Virtual instance running at Hetzner swarmed with instances running on Digital Ocean, Packet, etc.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Thanks very much for the detailed report. I've seen a few similar issues recently, and I'm eager to find and fix the root cause.
Agreed. The fact that this is getting stuck appears to be a bug. We'll try to understand and resolve the problem.
referenced this issue
Aug 31, 2016
I looked into this and found that remote-side address detection is indeed not working as it should. I've opened #26211 to address this part of the issue. Thanks again for the report.
We are also looking into avoiding the bad state that results from an incorrect advertise address being specified or detected. docker/swarmkit#1440 is related to this. It prevents certain errors from being swallowed, and will avoid the bad state where the node is partially but not completely a manager.