Closed Gustavo-Maurizio closed 6 years ago
Any updates on this? I am experiencing the same issue with 18.03.0-ce
The no_proxy fix proposed in https://github.com/moby/moby/issues/35870 works for me, but it doesn't seem like the best solution...
@Gustavo-Maurizio please open this issue on https://www.github.com/docker/swarmkit. Sorry for the trouble.
Description
Creating a swarm cluster works fine in 17.06 but does not in 17.09/10 or 11. Can create swarm manager and add workers, but not add another manager or promote worker to manager. In all cases the same error shows: ERRO[2017-12-25T11:21:18.873626672Z] cluster exited with error: manager stopped: can't initialize raft node: rpc error: code = Internal desc = connection error: desc = "transport: x509: certificate is valid for 10.203.16.82, not swarm-manager" DEBU[2017-12-25T11:21:18.873965442Z] FIXME: Got an API for which error does not match any expected type!!!: rpc error: code = Internal desc = connection error: desc = "transport: x509: certificate is valid for 10.203.16.82, not swarm-manager" error_type="status.statusError" module=api ERRO[2017-12-25T11:21:18.873986002Z] Handler for POST /v1.32/swarm/join returned error: manager stopped: can't initialize raft node: rpc error: code = Internal desc = connection error: desc = "transport: x509: certificate is valid for 10.203.16.82, not swarm-manager" DEBU[2017-12-25T11:21:18.874034324Z] FIXME: Got an API for which error does not match any expected type!!!: rpc error: code = Internal desc = connection error: desc = "transport: x509: certificate is valid for 10.203.16.82, not swarm-manager" error_type="status.statusError" module=api Steps to reproduce the issue:
Describe the results you received: root@ip-203-16-21:~# docker swarm join --token SWMTKN-1-2mihdqwmde3sr242c1w6vize6h9gduyv0prjrznizke0weh37t-ayuwrk82u0qgdblp95hc8uway 10.203.16.82:2377 Error response from daemon: manager stopped: can't initialize raft node: rpc error: code = Internal desc = connection error: desc = "transport: x509: certificate is valid for 10.203.16.82, not swarm-manager"
Describe the results you expected: success in adding manager
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.): AWS ubuntu instances in private VPC. works fine with 17.06