docker-consul icon indicating copy to clipboard operation
docker-consul copied to clipboard

error: No cluster leader when reboot

Open Dreampie opened this issue 9 years ago • 4 comments

    2015/12/22 02:36:41 [WARN] raft: Election timeout reached, restarting election
    2015/12/22 02:36:41 [INFO] raft: Node at 172.17.0.7:8300 [Candidate] entering Candidate state
    2015/12/22 02:36:41 [ERR] raft: Failed to make RequestVote RPC to 172.17.0.6:8300: dial tcp 172.17.0.6:8300: connection refused
    2015/12/22 02:36:43 [WARN] raft: Election timeout reached, restarting election
    2015/12/22 02:36:43 [INFO] raft: Node at 172.17.0.7:8300 [Candidate] entering Candidate state
    2015/12/22 02:36:43 [ERR] raft: Failed to make RequestVote RPC to 172.17.0.6:8300: dial tcp 172.17.0.6:8300: connection refused
    2015/12/22 02:36:44 [ERR] http: Request /v1/kv/docker/nodes/192.168.60.41:2376, error: No cluster leader
    2015/12/22 02:36:44 [ERR] http: Request /v1/kv/docker/nodes/192.168.60.41:2376, error: No cluster leader
    2015/12/22 02:36:44 [ERR] http: Request /v1/kv/docker/nodes/192.168.60.41:2376, error: No cluster leader
    2015/12/22 02:36:44 [ERR] http: Request /v1/kv/docker/nodes/192.168.60.41:2376, error: No cluster leader
    2015/12/22 02:36:44 [ERR] http: Request /v1/kv/docker/nodes/192.168.60.41:2376, error: No cluster leader

Dreampie avatar Dec 22 '15 02:12 Dreampie

:+1: been getting this also on reboot.

alexw23 avatar Dec 27 '15 12:12 alexw23

Have the same Problem here. Even a restart of the container doesn't help.

christophlsa avatar Apr 11 '16 20:04 christophlsa

Recreating the container works, but it's a nasty solution.

KamilKopaczyk avatar Apr 12 '16 19:04 KamilKopaczyk

Linked to this issue: https://github.com/hashicorp/consul/issues/1580

Kimamisa avatar Aug 16 '17 12:08 Kimamisa