Open SeibertronSS opened 1 year ago
I got a similar issue, etcd keeps crashing, this is my error log
2022-12-14 05:04:04 | etcd 05:04:04.00
-- | --
| | 2022-12-14 05:04:04 | etcd 05:04:04.00 Welcome to the Bitnami etcd container
| | 2022-12-14 05:04:04 | etcd 05:04:04.00 Subscribe to project updates by watching https://github.com/bitnami/containers
| | 2022-12-14 05:04:04 | etcd 05:04:04.00 Submit issues and feature requests at https://github.com/bitnami/containers/issues
| | 2022-12-14 05:04:04 | etcd 05:04:04.00
| | 2022-12-14 05:04:04 | etcd 05:04:04.01 INFO ==> ** Starting etcd setup **
| | 2022-12-14 05:04:04 | etcd 05:04:04.02 INFO ==> Validating settings in ETCD_* env vars..
| | 2022-12-14 05:04:04 | etcd 05:04:04.02 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment.
| | 2022-12-14 05:04:04 | etcd 05:04:04.03 INFO ==> Initializing etcd
| | 2022-12-14 05:04:04 | etcd 05:04:04.03 INFO ==> Generating etcd config file using env variables
| | 2022-12-14 05:04:04 | etcd 05:04:04.04 INFO ==> Detected data from previous deployments
| | 2022-12-14 05:04:04 | etcd 05:04:04.16 INFO ==> Updating member in existing cluster
| | 2022-12-14 05:04:04 | {"level":"warn","ts":"2022-12-14T05:04:04.211Z","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc00031ca80/apisix-etcd-0.apisix-etcd-headless.apisix.svc.cluster.local:2379","attempt":0,"error":"rpc error: code = NotFound desc = etcdserver: member not found"}
| | 2022-12-14 05:04:04 | Error: etcdserver: member not found
I was able to make it work by first deleting the PersistenceVolumeClaim of the failed etcd pod, then restarting the pod. But I don't know why it worked and failed previously. If someone can help explain 🙏
you could search in issue first https://github.com/apache/apisix-helm-chart/issues?q=is%3Aissue+is%3Aopen+CrashLoopBackOff
Issue description
I installed apisix-ingress using helm, but the status of pod etcd-0 is always Completed or CrashLoopBackOff. At present, the functions of apisix can be used normally. What caused the error to occur ?
The log of etcd-0 is
Environment