A-little-bit-of-data commented on issue #282: URL: https://github.com/apache/apisix-helm-chart/issues/282#issuecomment-1277147696
> ``` > etcd 10:24:37.50 > etcd 10:24:37.50 Welcome to the Bitnami etcd container > etcd 10:24:37.50 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:24:37.50 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:24:37.51 > etcd 10:24:37.51 INFO ==> ** Starting etcd setup ** > etcd 10:24:37.55 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:24:37.55 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:24:37.56 INFO ==> Initializing etcd > etcd 10:24:37.56 INFO ==> Generating etcd config file using env variables > etcd 10:24:37.58 INFO ==> There is no data from previous deployments > etcd 10:24:37.58 INFO ==> Bootstrapping a new cluster > etcd 10:24:42.60 INFO ==> Obtaining cluster member ID > etcd 10:24:42.61 INFO ==> Starting etcd in background > ``` > > ``` > etcd 10:30:03.62 Welcome to the Bitnami etcd container > etcd 10:30:03.63 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:30:03.63 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:30:03.63 > etcd 10:30:03.63 INFO ==> ** Starting etcd setup ** > etcd 10:30:03.67 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:30:03.67 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:30:03.68 INFO ==> Initializing etcd > etcd 10:30:03.68 INFO ==> Generating etcd config file using env variables > etcd 10:30:03.69 INFO ==> Detected data from previous deployments > etcd 10:30:03.79 INFO ==> Updating member in existing cluster > Error: bad member ID arg (strconv.ParseUint: parsing "": invalid syntax), expecting ID in Hex > ``` > > Solution > > 1. set ETCD_INITIAL_CLUSTER_STATE : existing > 2. delete pvc > 3. restart pod > > and I use etcd image `amond/etcd:3.4.18-debian-10-r30` https://hub.docker.com/layers/213541121/amond/etcd/3.4.18-debian-10-r30/images/sha256-c8575e6e2fffcf5fb7492c270be4771b008ee24f64ed820bfbbe0a09d290d4ca?context=repo > > [amondnet/bitnami-docker-etcd@94c7f67](https://github.com/amondnet/bitnami-docker-etcd/commit/94c7f673cc71cefb3deeebe0b4769f8ec9541d72) > > [bitnami/bitnami-docker-etcd#39 (comment)](https://github.com/bitnami/bitnami-docker-etcd/issues/39#issuecomment-1069322973) > > ``` > etcd 10:45:53.52 > etcd 10:45:53.52 Welcome to the Bitnami etcd container > etcd 10:45:53.52 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:45:53.53 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:45:53.53 > etcd 10:45:53.53 INFO ==> ** Starting etcd setup ** > etcd 10:45:53.55 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:45:53.56 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:45:53.56 INFO ==> Initializing etcd > etcd 10:45:53.56 INFO ==> Generating etcd config file using env variables > etcd 10:45:53.57 INFO ==> There is no data from previous deployments > etcd 10:45:53.57 INFO ==> Adding new member to existing cluster > etcd 10:45:53.66 INFO ==> Obtaining cluster member ID > etcd 10:45:53.66 INFO ==> Starting etcd in background > etcd 10:45:56.73 INFO ==> Stored member ID: 17a7caef1fb55e37 > etcd 10:45:56.74 INFO ==> Stopping etcd > Terminated > etcd 10:45:57.75 INFO ==> ** etcd setup finished! ** > > etcd 10:45:57.77 INFO ==> ** Starting etcd ** > ``` I did the same operation as you, but my etcd service still can't get up. What's the reason? The version I am using is 3.4.18-debian-10-r14 of bitnami The error log of etcd is as follows etcd 07:21:09.99 etcd 07:21:10.00 Welcome to the Bitnami etcd container etcd 07:21:10.00 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd etcd 07:21:10.00 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues etcd 07:21:10.01 etcd 07:21:10.01 INFO ==> ** Starting etcd setup ** etcd 07:21:10.04 INFO ==> Validating settings in ETCD_* env vars.. etcd 07:21:10.04 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. etcd 07:21:10.05 INFO ==> Initializing etcd etcd 07:21:10.06 INFO ==> Generating etcd config file using env variables etcd 07:21:10.08 INFO ==> There is no data from previous deployments etcd 07:21:10.08 INFO ==> Bootstrapping a new cluster etcd 07:22:10.23 ERROR ==> Headless service domain does not have an IP per initial member in the cluster > ``` > etcd 10:24:37.50 > etcd 10:24:37.50 Welcome to the Bitnami etcd container > etcd 10:24:37.50 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:24:37.50 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:24:37.51 > etcd 10:24:37.51 INFO ==> ** Starting etcd setup ** > etcd 10:24:37.55 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:24:37.55 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:24:37.56 INFO ==> Initializing etcd > etcd 10:24:37.56 INFO ==> Generating etcd config file using env variables > etcd 10:24:37.58 INFO ==> There is no data from previous deployments > etcd 10:24:37.58 INFO ==> Bootstrapping a new cluster > etcd 10:24:42.60 INFO ==> Obtaining cluster member ID > etcd 10:24:42.61 INFO ==> Starting etcd in background > ``` > > ``` > etcd 10:30:03.62 Welcome to the Bitnami etcd container > etcd 10:30:03.63 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:30:03.63 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:30:03.63 > etcd 10:30:03.63 INFO ==> ** Starting etcd setup ** > etcd 10:30:03.67 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:30:03.67 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:30:03.68 INFO ==> Initializing etcd > etcd 10:30:03.68 INFO ==> Generating etcd config file using env variables > etcd 10:30:03.69 INFO ==> Detected data from previous deployments > etcd 10:30:03.79 INFO ==> Updating member in existing cluster > Error: bad member ID arg (strconv.ParseUint: parsing "": invalid syntax), expecting ID in Hex > ``` > > Solution > > 1. set ETCD_INITIAL_CLUSTER_STATE : existing > 2. delete pvc > 3. restart pod > > and I use etcd image `amond/etcd:3.4.18-debian-10-r30` https://hub.docker.com/layers/213541121/amond/etcd/3.4.18-debian-10-r30/images/sha256-c8575e6e2fffcf5fb7492c270be4771b008ee24f64ed820bfbbe0a09d290d4ca?context=repo > > [amondnet/bitnami-docker-etcd@94c7f67](https://github.com/amondnet/bitnami-docker-etcd/commit/94c7f673cc71cefb3deeebe0b4769f8ec9541d72) > > [bitnami/bitnami-docker-etcd#39 (comment)](https://github.com/bitnami/bitnami-docker-etcd/issues/39#issuecomment-1069322973) > > ``` > etcd 10:45:53.52 > etcd 10:45:53.52 Welcome to the Bitnami etcd container > etcd 10:45:53.52 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd > etcd 10:45:53.53 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues > etcd 10:45:53.53 > etcd 10:45:53.53 INFO ==> ** Starting etcd setup ** > etcd 10:45:53.55 INFO ==> Validating settings in ETCD_* env vars.. > etcd 10:45:53.56 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. > etcd 10:45:53.56 INFO ==> Initializing etcd > etcd 10:45:53.56 INFO ==> Generating etcd config file using env variables > etcd 10:45:53.57 INFO ==> There is no data from previous deployments > etcd 10:45:53.57 INFO ==> Adding new member to existing cluster > etcd 10:45:53.66 INFO ==> Obtaining cluster member ID > etcd 10:45:53.66 INFO ==> Starting etcd in background > etcd 10:45:56.73 INFO ==> Stored member ID: 17a7caef1fb55e37 > etcd 10:45:56.74 INFO ==> Stopping etcd > Terminated > etcd 10:45:57.75 INFO ==> ** etcd setup finished! ** > > etcd 10:45:57.77 INFO ==> ** Starting etcd ** > ``` I did the same operation as you, but my etcd service still can't get up. What's the reason? The version I am using is 3.4.18-debian-10-r14 of bitnami The error log of etcd is as follows etcd 07:21:09.99 etcd 07:21:10.00 Welcome to the Bitnami etcd container etcd 07:21:10.00 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-etcd etcd 07:21:10.00 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-etcd/issues etcd 07:21:10.01 etcd 07:21:10.01 INFO ==> ** Starting etcd setup ** etcd 07:21:10.04 INFO ==> Validating settings in ETCD_* env vars.. etcd 07:21:10.04 WARN ==> You set the environment variable ALLOW_NONE_AUTHENTICATION=yes. For safety reasons, do not use this flag in a production environment. etcd 07:21:10.05 INFO ==> Initializing etcd etcd 07:21:10.06 INFO ==> Generating etcd config file using env variables etcd 07:21:10.08 INFO ==> There is no data from previous deployments etcd 07:21:10.08 INFO ==> Bootstrapping a new cluster etcd 07:22:10.23 ERROR ==> Headless service domain does not have an IP per initial member in the cluster -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
