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?
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.