Toldent未正确初始化、并显示错误"etcdserver:Another etcd processing is using "//var//etcd//data//memb//snap//db"并保持文件锁定、或者加载后端文件所用时间超过10秒"" to "Cloud/Astra/Toldent/Toldent does not properly初始化并显示错误
适用场景
- Asta Trident 19.10 (使用 etcD数据库)
- RedHat OCP 3.11
问题描述
在发生影响Kubnetes集群的断电后、三端存储无法正确初始化并卡住:
YYYY-MM-DD hh:mm:ss I | etcdmain: etcd Version: 3.3.13
YYYY-MM-DD hh:mm:ss I | etcdmain: Git SHA: XXXXXX
YYYY-MM-DD hh:mm:ss I | etcdmain: Go Version: go1.10.8
YYYY-MM-DD hh:mm:ss I | etcdmain: Go OS/Arch: linux/amd64
YYYY-MM-DD hh:mm:ss I | etcdmain: setting maximum number of CPUs to 32, total number of available CPUs is 32
YYYY-MM-DD hh:mm:ss W | etcdmain: found invalid file/dir backup under data dir /var/etcd/data (Ignore this if you are upgrading etcd)
YYYY-MM-DD hh:mm:ss N | etcdmain: the server is already initialized as member before, starting as etcd member...
YYYY-MM-DD hh:mm:ss I | embed: listening for peers on http://127.0.0.1:8002
YYYY-MM-DD hh:mm:ssI | embed: listening for client requests on 127.0.0.1:8001
YYYY-MM-DD hh:mm:ss W | etcdserver: another etcd process is using "/var/etcd/data/member/snap/db" and holds the file lock, or loading backend file is taking >10 seconds
YYYY-MM-DD hh:mm:ss W | etcdserver: waiting for it to exit before starting...