Docker Community Forums

Share and learn in the Docker community.

No cluster leader after upgrade


(Luisherrera) #1

Expected behavior

After upgrading to 1.12.0-rc4-beta2 and log into manager, be able to use docker swarm commands like docker node ls or deploy services.

Actual behavior

$ docker node ls
Error response from daemon: This node is not a Swarm manager. Worker nodes can’t be used to view or modify cluster state. Please run this command on a manager node or promote the current node to a manager.

$ docker info

Swarm: pending
NodeID: 0lk4njutjhydzbbwm0v85biwr
Error: rpc error: code = 2 desc = raft: no elected cluster leader
IsManager: No

Additional Information

Steps to reproduce the behavior

  1. Upgrade to 1.12.0-rc4-beta2 following instructions
  2. Use the connection string returned by CloudFormation
  3. docker node ls