shekhar-jha / docker

Repository of docker build files
0 stars 0 forks source link

Consul election after shutdown #3

Open shekhar-jha opened 8 years ago

shekhar-jha commented 8 years ago
  1. Consul Server 1 started with "-bootstrap-expect 1"
  2. Consul Server 2 started with retry-join pointing to server 1
  3. Consul Server 2 stopped
  4. Consul Server 1 is not able to elect itself automatically and start fulfilling request.

2015/09/07 01:04:40 [WARN] raft: Election timeout reached, restarting election 2015/09/07 01:04:40 [INFO] raft: Node at 172.17.1.35:8300 [Candidate] entering Candidate state 2015/09/07 01:04:40 [ERR] raft: Failed to make RequestVote RPC to 172.17.1.36:8300: dial tcp 172.17.1.36:8300: connection refused

All the calls to the remaining server fails with "No cluster leader"