Skip to content

Can I stop a "broken" etcd from communicating with "dead" nodes? #15885

Closed Answered by alanbchristie
alanbchristie asked this question in Q&A
Discussion options

You must be logged in to vote

I have found a solution for my scenario!

It's inspired by the articles breaking-down-and-fixing-etcd-cluster and how-to-start-a-stopped-docker-container-with-a-different-command.

The Loss of quorum section in the first tells me I probably need the --force-new-cluster flag in my etcd container. To do this I use the second article to illustrate how to stop the container, edit the JSON (the run-command arguments in my case), which contains the start command and then restart docker and the container.

Once I do this my etcd service starts as a single node and continues to operate as normal and (crucially) givens me etcdctl again...

$ docker exec 049 etcdctl member list -w table
+--------------…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alanbchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant