apache / apisix-helm-chart

Apache APISIX Helm Chart
https://apisix.apache.org/
Apache License 2.0
231 stars 209 forks source link

apisix-etcd 出错 #418

Open liangpeihuahua opened 1 year ago

liangpeihuahua commented 1 year ago

Current Behavior

Warning FailedPreStopHook 49m kubelet Exec lifecycle hook ([/opt/bitnami/scripts/etcd/prestop.sh]) for Container "etcd" in Pod "apisix-etcd-2_apisix(9b763c1a-e46d-48f0-b478-ff0fcf6e96ad)" failed - error: command '/opt/bitnami/scripts/etcd/prestop.sh' exited with 128: Error: bad member ID arg (strconv.ParseUint: parsing "": invalid syntax), expecting ID in Hex , message: "Error: bad member ID arg (strconv.ParseUint: parsing \"\": invalid syntax), expecting ID in Hex\n"

Expected Behavior

etcd 集群正常

Error Logs

Warning FailedPreStopHook 49m kubelet Exec lifecycle hook ([/opt/bitnami/scripts/etcd/prestop.sh]) for Container "etcd" in Pod "apisix-etcd-2_apisix(9b763c1a-e46d-48f0-b478-ff0fcf6e96ad)" failed - error: command '/opt/bitnami/scripts/etcd/prestop.sh' exited with 128: Error: bad member ID arg (strconv.ParseUint: parsing "": invalid syntax), expecting ID in Hex , message: "Error: bad member ID arg (strconv.ParseUint: parsing \"\": invalid syntax), expecting ID in Hex\n"

etcd的两个备,报错如上

Steps to Reproduce

1.通过helm 安装

Environment

tzssangglass commented 1 year ago

I think this error is not related to APISIX, it's a problem with ETCD cluster initialization.