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/11/08 06:37:26 UTC

[GitHub] [apisix-helm-chart] xinxinh2020 opened a new issue, #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

xinxinh2020 opened a new issue, #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389

   ### Current Behavior
   
   When i upgraded the image of helm release from 2.15.0-centos(or 2.15.0-alpine) to the latest one, the latest container failed to run due to failing to connect to etcd cluster. The error message in container logs like:
   
   ```bash
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
   Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=1
   Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=2
   request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused
   all etcd nodes are unavailable
   ```
   
   I have recorded all the steps to reproduce this bug using asciinema, see: https://asciinema.org/a/4q10QLD1kJw3N5viGAR7JgYd3
   
   ### Expected Behavior
   
   Upgraded successfully.
   
   ### Error Logs
   
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
   Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=1
   Warning! Request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused, retry time=2
   request etcd endpoint 'http://127.0.0.1:2379/version' error, connection refused
   all etcd nodes are unavailable
   
   ### Steps to Reproduce
   
   https://asciinema.org/a/4q10QLD1kJw3N5viGAR7JgYd3
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.0.0
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.apache.org

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


[GitHub] [apisix-helm-chart] tao12345666333 closed issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd 
URL: https://github.com/apache/apisix-helm-chart/issues/389


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


[GitHub] [apisix-helm-chart] xinxinh2020 commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
xinxinh2020 commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1306725563

   > BTW, we are developing the feature to use 3.0 image (which is not backward compatible) via a separate flag. So soon we don't need to manually modify the helm chart (which is not recommended).
   
   Is there a latest helm chart for 3.0 image ?
   If not now, how can i  manually modify the helm chart to upgrade to 3.0 image ?
   


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


[GitHub] [apisix-helm-chart] spacewander commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1308277863

   > BTW, we are developing the feature to use 3.0 image (which is not backward compatible) via a separate flag. 
   
   We plan to carry out this feature this week.


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


[GitHub] [apisix-helm-chart] tzssangglass commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1308321299

   > I will try to manually modify the configmap for the config.yaml later
   
   wait for #390 merged, I'm working on this.


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


[GitHub] [apisix-helm-chart] spacewander commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1306711480

   Could you provide the helm chart commit version which you modify from?


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


[GitHub] [apisix-helm-chart] spacewander commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1306715753

   BTW, we are developing the feature to use 3.0 image (which is not backward compatible) via a separate flag. So soon we don't need to manually modify the helm chart (which is not recommended). 


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


[GitHub] [apisix-helm-chart] xinxinh2020 commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
xinxinh2020 commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1306720980

   > Could you provide the helm chart commit version which you modify from?
   
   I think it is the latest version in the `https://charts.apiseven.com` repo:
   ```bash
   helm search repo apisix
   NAME                            	CHART VERSION	APP VERSION	DESCRIPTION
   apisix/apisix                   	0.11.1       	2.15.0     	A Helm chart for Apache APISIX
   ```
   


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


[GitHub] [apisix-helm-chart] xinxinh2020 commented on issue #389: bug: using the latest image(3.0.0-centos) to upgrade helm release failed: container cannot connect to etcd

Posted by GitBox <gi...@apache.org>.
xinxinh2020 commented on issue #389:
URL: https://github.com/apache/apisix-helm-chart/issues/389#issuecomment-1306786370

   > > BTW, we are developing the feature to use 3.0 image (which is not backward compatible) via a separate flag. So soon we don't need to manually modify the helm chart (which is not recommended).
   > 
   > Is there a latest helm chart for 3.0 image ? If not now, how can i manually modify the helm chart to upgrade to 3.0 image ?
   
   I think i have figured out the problem: the configuration structure in 3.0.0 is changed - The etcd field is moved to deployment: [#7860](https://github.com/apache/apisix/pull/7860)
   
   I will try to manually modify the configmap for the config.yaml later
   
   Hope the latest helm chart to be released soon and If there's anything I can do, I would be pleased to help. 


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