dyrnq / kubeadm-vagrant

Run kubernetes cluster with kubeadm on vagrant.
1 stars 5 forks source link

etcd discovery failed error member 71f7aa3ba5a2cc3b has already been bootstrapped #31

Open dyrnq opened 2 years ago

dyrnq commented 2 years ago
{"level":"fatal","ts":"2022-06-25T23:21:52.252+0800","caller":"etcdmain/etcd.go:204","msg":"discovery failed","error":"member 71f7aa3ba5a2cc3b has already been bootstrapped","stacktrace":"go.etcd.io/etcd/server/v3/etcdmain.startEtcdOrProxyV2\n\t/go/src/go.etcd.io/etcd/release/etcd/server/etcdmain/etcd.go:204\ngo.etcd.io/etcd/server/v3/etcdmain.Main\n\t/go/src/go.etcd.io/etcd/release/etcd/server/etcdmain/main.go:40\nmain.main\n\t/go/src/go.etcd.io/etcd/release/etcd/server/main.go:32\nruntime.main\n\t/go/gos/go1.16.15/src/runtime/proc.go:225"}
dyrnq commented 2 years ago
{"level":"info","ts":"2022-06-25T23:25:46.617+0800","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"71f7aa3ba5a2cc3b became follower at term 2"}
{"level":"panic","ts":"2022-06-25T23:25:46.617+0800","logger":"raft","caller":"etcdserver/zap_raft.go:101","msg":"tocommit(9) is out of range [lastIndex(0)]. Was the raft log corrupted, truncated, or lost?","stacktrace":"go.etcd.io/etcd/server/v3/etcdserver.(*zapRaftLogger).Panicf\n\t/go/src/go.etcd.io/etcd/release/etcd/server/etcdserver/zap_raft.go:101\ngo.etcd.io/etcd/raft/v3.(*raftLog).commitTo\n\t/go/src/go.etcd.io/etcd/release/etcd/raft/log.go:237\ngo.etcd.io/etcd/raft/v3.(*raft).handleHeartbeat\n\t/go/src/go.etcd.io/etcd/release/etcd/raft/raft.go:1508\ngo.etcd.io/etcd/raft/v3.stepFollower\n\t/go/src/go.etcd.io/etcd/release/etcd/raft/raft.go:1434\ngo.etcd.io/etcd/raft/v3.(*raft).Step\n\t/go/src/go.etcd.io/etcd/release/etcd/raft/raft.go:975\ngo.etcd.io/etcd/raft/v3.(*node).run\n\t/go/src/go.etcd.io/etcd/release/etcd/raft/node.go:356"}
panic: tocommit(9) is out of range [lastIndex(0)]. Was the raft log corrupted, truncated, or lost?
dyrnq commented 2 years ago
{"level":"warn","ts":"2022-06-25T23:43:55.600+0800","caller":"etcdserver/server.go:1150","msg":"server error","error":"the member has been permanently removed from the cluster"}
{"level":"warn","ts":"2022-06-25T23:43:55.600+0800","caller":"etcdserver/server.go:1151","msg":"data-dir used by this member must be removed"}
{"level":"warn","ts":"2022-06-25T23:43:55.600+0800","caller":"etcdserver/server.go:2053","msg":"stopped publish because server is stopped","local-member-id":"71f7aa3ba5a2cc3b","local-member-attr
dyrnq commented 2 years ago
Jun 26 09:05:20 n82 etcd[3786]: {"level":"warn","ts":"2022-06-26T09:05:20.763+0800","caller":"rafthttp/http.go:413","msg":"failed to find remote peer in cluster","local-member-id":"c5c7cc217ddbae20","remote-peer-id-stream-handler":"c5c7cc217ddbae20","remote-peer-id-from":"213a45cf0a7f0c9b","cluster-id":"b0ab803e23aae965"}