Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dyrnq opened this issue Jun 25, 2022 · 3 comments

Comments

@dyrnq
Copy link
Owner

dyrnq commented Jun 25, 2022

{"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
Copy link
Owner Author

dyrnq commented Jun 25, 2022

{"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
Copy link
Owner Author

dyrnq commented Jun 25, 2022

{"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
Copy link
Owner Author

dyrnq commented Jun 26, 2022

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"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant