You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/14 11:33:21 UTC

[GitHub] [apisix-helm-chart] niuguy commented on issue #414: request help: etcd-0 CrashLoopBackOff

niuguy commented on issue #414:
URL: https://github.com/apache/apisix-helm-chart/issues/414#issuecomment-1351073905

   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 🙏 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org