You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "Maxorao (via GitHub)" <gi...@apache.org> on 2025/04/01 13:48:44 UTC

[I] How to configure the port of a component, such as zookeeper, redis or etcd [openwhisk]

Maxorao opened a new issue, #5538:
URL: https://github.com/apache/openwhisk/issues/5538

   when I run command:
   ```bash
   ansible-playbook -i environments/cluster-0 openwhisk.yml -e db_activation_backend=ElasticSearch
   ```
   An error message occur because the port 2181 is already in use:
   ```bash
   TASK [zookeeper : (re)start zookeeper] *****************************************************************************************************
   Tuesday 01 April 2025  13:36:30 +0000 (0:00:00.087)       0:00:07.123 ********* 
   fatal: [192.168.35.4]: FAILED! => {"changed": false, "msg": "Error starting container 04d3e65c0fd71da964d25b9fe6bb82cb310b06cdf35c93852ef2763aed1646a6: 500 Server Error: Internal Server Error (\"failed to set up container networking: driver failed programming external connectivity on endpoint zookeeper0 (6154238b8f2988d9a7d085eee16ea0ba5bd0e5e014826fa386a33c855b7cda1d): failed to bind host port for 0.0.0.0:2181:172.17.0.5:2181/tcp: address already in use\")"}
   
   Error starting container
   04d3e65c0fd71da964d25b9fe6bb82cb310b06cdf35c93852ef2763aed1646a6: 500 Server
   Error: Internal Server Error ("failed to set up container networking: driver
   failed programming external connectivity on endpoint zookeeper0
   (6154238b8f2988d9a7d085eee16ea0ba5bd0e5e014826fa386a33c855b7cda1d): failed to
   bind host port for 0.0.0.0:2181:172.17.0.5:2181/tcp: address already in
   use")
   ```
   Since I am not the only user of this host, so I want to change the port of my zookeeper.
   Is there any suggestion to do that? Thanks for your 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: issues-unsubscribe@openwhisk.apache.org.apache.org

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


Re: [I] How to configure the port of a component, such as zookeeper, redis or etcd [openwhisk]

Posted by "Maxorao (via GitHub)" <gi...@apache.org>.
Maxorao closed issue #5538: How to configure the port of a component, such as zookeeper, redis or etcd
URL: https://github.com/apache/openwhisk/issues/5538


-- 
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: issues-unsubscribe@openwhisk.apache.org

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


Re: [I] How to configure the port of a component, such as zookeeper, redis or etcd [openwhisk]

Posted by "style95 (via GitHub)" <gi...@apache.org>.
style95 commented on issue #5538:
URL: https://github.com/apache/openwhisk/issues/5538#issuecomment-2770226011

   @Maxorao 
   [Zookeeper deployment script refers `zookeeper.port` config](https://github.com/apache/openwhisk/blob/master/ansible/roles/zookeeper/tasks/deploy.yml#L50).
   So you can change [this port](https://github.com/apache/openwhisk/blob/master/ansible/group_vars/all#L192).


-- 
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: issues-unsubscribe@openwhisk.apache.org

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