Failed to reconcile etcd plane: Failed to add etcd member [etcd-server05] to etcd cluster
Posted catoop
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to reconcile etcd plane: Failed to add etcd member [etcd-server05] to etcd cluster相关的知识,希望对你有一定的参考价值。
出现这个错误的原因可能不止一种,本文陈述一个可能会出现这个错误的原因,那就是集群中存在了不存在的节点,然后当你再想新添加一个etcd节点的时候,就会出现这个错误。
问题发生在 rancher 扩容 etcd 节点上(我先在界面删除了一个原来的 etcd 节点,然后又重新在一个新服务器上创建 etcd 节点出现的问题)。
解决方法:
1、docker 查看 etcd 集群的节点列表,确认有一个是我们要删除的节点(物理节点实际上已经在 rancher 中删除)
[root@middleware2 ~]# docker exec -it etcd /bin/sh
ETCDCTL_API=3
etcdctl member list
# 如下输出
d8a7036575f338e2, started, etcd-middleware3, https://192.168.10.11:2380, https://192.168.1.129:2379, false
dad7321c85205c7b, started, etcd-server04, https://192.168.10.12:2380, https://192.168.1.142:2379, false
ee5dd8e2dade36c9, started, etcd-middleware2, https://192.168.10.13:2380, https://192.168.1.122:2379, false
2、确认确实有一个节点是我们已经删除过的,然后用命令把它剔除删掉即可
etcdctl member remove dad7321c85205c7b
Member dad7321c85205c7b removed from cluster 9f9dbdf5b7927116
(END)
以上是关于Failed to reconcile etcd plane: Failed to add etcd member [etcd-server05] to etcd cluster的主要内容,如果未能解决你的问题,请参考以下文章
问题解决:Failed to start etcd.service: Unit is masked.
cluster may be unhealthy: failed to list members
解决git未指定冲突处理方法的问题 - hint: Pulling without specifying how to reconcile divergent branches ishint: di(
安装Intel HAXM:"failed to configure driver unknown error. failed to open driver"