Posted over 1 year ago. Visible to the public. Repeats.
Repair broken etcd node
If one etcd node is no longer a member of the remaining etcd cluster or fails to connect you need to remove it from the cluster and then add it again:
- Stop etcd on the broken node :
sudo stop etcd
- delete the data on the broken node
sudo rm -r /var/lib/etcd/data/*
- delete the wal data on the broken node:
sudo rm -r /var/lib/etcd/wal/*
- Follow the instructions for etcd runtime-configuration, remove the broken node from the cluster, then re-add it again and update the etcd config on the broken node with the parameters printed by the add command.
- start etcd again