-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Environment details:
Ubuntu 20.04.6 LTS
Steps to reproduce the issue:
https://github.com/apache/openwhisk/blob/master/ansible/README.md
Run the command "~/openwhisk/ansible# ansible-playbook -i environments/local/ openwhisk.yml"
Provide the expected results and outputs:
Unable to
root@ubuntu:/home/waiyiu/Desktop/openwhisk/ansible# sudo ansible-playbook openwhisk.yml
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in
version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [etcd] *************************************************************************************************************************************************************************
[WARNING]: While constructing a mapping from /home/waiyiu/Desktop/openwhisk/ansible/group_vars/all, line 506, column 3, found a duplicate dict key (dataManagementService). Using
last defined value only.
TASK [Gathering Facts] **************************************************************************************************************************************************************
Tuesday 29 July 2025 12:53:37 +0800 (0:00:00.016) 0:00:00.016 **********
ok: [etcd0]
TASK [etcd : Set the name of the etcd node] *****************************************************************************************************************************************
Tuesday 29 July 2025 12:53:37 +0800 (0:00:00.922) 0:00:00.938 **********
ok: [etcd0]
TASK [etcd : set the volume_dir] ****************************************************************************************************************************************************
Tuesday 29 July 2025 12:53:37 +0800 (0:00:00.038) 0:00:00.977 **********
skipping: [etcd0]
TASK [etcd : Set the cluster of the etcd cluster] ***********************************************************************************************************************************
Tuesday 29 July 2025 12:53:38 +0800 (0:00:00.039) 0:00:01.016 **********
ok: [etcd0]
TASK [etcd : (re)start etcd] ********************************************************************************************************************************************************
Tuesday 29 July 2025 12:53:38 +0800 (0:00:00.048) 0:00:01.065 **********
changed: [etcd0]
TASK [etcd : wait until etcd in this host is up and running] ************************************************************************************************************************
Tuesday 29 July 2025 12:55:21 +0800 (0:01:43.649) 0:01:44.714 **********
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (12 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (11 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (10 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (9 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (8 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (7 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (6 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (5 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (4 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (3 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (2 retries left).
FAILED - RETRYING: [etcd0]: wait until etcd in this host is up and running (1 retries left).
fatal: [etcd0]: FAILED! => {"attempts": 12, "changed": false, "elapsed": 21, "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "http://172.17.0.1:2379/health"}
Status code was -1 and not [200]: Request failed: <urlopen error [Errno
111] Connection refused>
PLAY RECAP **************************************************************************************************************************************************************************
etcd0 : ok=4 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
Tuesday 29 July 2025 13:00:41 +0800 (0:05:20.080) 0:07:04.795 **********
etcd : wait until etcd in this host is up and running ---------------------------------------------------------------------------------------------------------------------- 320.08s
etcd : (re)start etcd ------------------------------------------------------------------------------------------------------------------------------------------------------ 103.65s
Gathering Facts -------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.92s
etcd : Set the cluster of the etcd cluster ----------------------------------------------------------------------------------------------------------------------------------- 0.05s
etcd : set the volume_dir ---------------------------------------------------------------------------------------------------------------------------------------------------- 0.04s
etcd : Set the name of the etcd node ----------------------------------------------------------------------------------------------------------------------------------------- 0.04s
Please help me where and what I am missing in settings?
How can I get success deploy?
Thank you in advance.