Get member-id of a dead node #18934
Unanswered
BabaTataKaka
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm trying to automate the restore of a failed ectd node. I'm running the following command to retrieve the member-id in order to remove and re-add the member in the cluster.
etcdctl endpoint status --cacert /etc/etcd/certs/tls-ca.crt --key /etc/etcd/certs/tls.key --cert /etc/etcd/certs/tls.crt --endpoints https://etcd-node-1:2379 --cluster member list
The problem is that is does not return the dead node information(including member-id), only the active one. How do I get the member-id of a dead node using the node name or ip of the dead node? The information is required in order to remove to node so I would assume the information is stored somewhere.
Beta Was this translation helpful? Give feedback.
All reactions