Docker Community Forums

Share and learn in the Docker community.

No elected cluster leader

(Aaryan) #1

Hi All,

I have 3 Swarm Managers and 3 Worker nodes running on AWS VPC. Currently all servers down except Leader server and getting below error when run docker node ls,

root@manager1:/home/ubuntu# docker node ls
Error response from daemon: rpc error: code = 2 desc = raft: no elected cluster leader

any idea why Docker swarm triggering Cluster leader election when Leader node online?

(Sahota14) #2

Im also having the same issue on Digital Ocean. When the leader goes down I get an error saying no cluster leader elected. Also when i kill a worker node it sometimes shows as still running even though I have destroyed the instance.

(Nathan Le Claire) #3

I’d suggest filing issue on with steps to reproduce please