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 03:19:46 UTC

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

xinxinh2020 opened a new issue, #8272:
URL: https://github.com/apache/apisix/issues/8272

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