amondnet commented on issue #282:
URL: 
https://github.com/apache/apisix-helm-chart/issues/282#issuecomment-1125921447

   ```
   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
   
   
   ```
   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 **
   ```
   


-- 
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]

Reply via email to