You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got error when I tried to build openwhisk on both my server,Can someone help me? Thank you very much.
Environment details:
miao@miao-virtual-machine:~/openwhisk/ansible$ uname -a
Linux miao-virtual-machine 5.15.0-122-generic #132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
miao@miao-virtual-machine:~/openwhisk/ansible$ docker --version
Docker version 27.4.0, build bde2b89
Steps to reproduce the issue:
ansible-playbook -i environments/local couchdb.ym
Provide the actual results and outputs:
(owvenv) lmiao@lmiao-virtual-machine:~/openwhisk/ansible$ ansible-playbook -i environments/local couchdb.yml
PLAY [db] ********************************************************************************************************************************************************************************************************************************
[WARNING]: While constructing a mapping from /home/lmiao/openwhisk/ansible/group_vars/all, line 506, column 3, found a duplicate dict key (dataManagementService). Using last defined value only.
TASK [Gathering Facts] *******************************************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:36 +0800 (0:00:00.015) 0:00:00.015 ****
ok: [172.17.0.1]
TASK [couchdb : set the coordinator to the first node] ***********************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.565) 0:00:00.580 ****
ok: [172.17.0.1]
TASK [couchdb : Set the volumes] *********************************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.021) 0:00:00.601 ****
ok: [172.17.0.1]
TASK [couchdb : Set the nodes] ***********************************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.026) 0:00:00.628 ****
ok: [172.17.0.1]
TASK [couchdb : check if db credentials are valid for CouchDB] ***************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.029) 0:00:00.657 ****
skipping: [172.17.0.1]
TASK [couchdb : ensure directory for persisting db exists] *******************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.050) 0:00:00.708 ****
skipping: [172.17.0.1]
TASK [couchdb : fail if path to persist db does not exist] *******************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.048) 0:00:00.757 ****
skipping: [172.17.0.1]
TASK [couchdb : mount directory for persisting dbs] **************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.047) 0:00:00.804 ****
skipping: [172.17.0.1]
TASK [couchdb : include_tasks] ***********************************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.045) 0:00:00.849 ****
skipping: [172.17.0.1]
TASK [couchdb : set the erlang cookie volume] ********************************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.050) 0:00:00.900 ****
skipping: [172.17.0.1]
TASK [couchdb : (re)start CouchDB from 'apache/couchdb:2.3 '] ****************************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:37 +0800 (0:00:00.056) 0:00:00.957 ****
changed: [172.17.0.1]
TASK [couchdb : wait until CouchDB in this host is up and running] ***********************************************************************************************************************************************************************
Wednesday 18 December 2024 16:50:56 +0800 (0:00:18.838) 0:00:19.795 ****
FAILED - RETRYING: wait until CouchDB in this host is up and running (12 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (11 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (10 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (9 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (8 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (7 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (6 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (5 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (4 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (3 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (2 retries left).
FAILED - RETRYING: wait until CouchDB in this host is up and running (1 retries left).
fatal: [172.17.0.1]: FAILED! => {"attempts": 12, "changed": false, "connection": "close", "content": "", "content_length": "0", "elapsed": 0, "msg": "Status code was 502 and not [200]: HTTP Error 502: Bad Gateway", "redirected": false, "status": 502, "url": "http://172.17.0.1:5984/_utils/"}
Status code was 502 and not [200]: HTTP Error 502: Bad Gateway
PLAY RECAP *******************************************************************************************************************************************************************************************************************************
172.17.0.1 : ok=5 changed=1 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
Wednesday 18 December 2024 16:52:02 +0800 (0:01:05.850) 0:01:25.646 ****
===============================================================================
couchdb : wait until CouchDB in this host is up and running ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 65.85s
couchdb : (re)start CouchDB from 'apache/couchdb:2.3 ' -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 18.84s
Gathering Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.57s
couchdb : set the erlang cookie volume -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.06s
couchdb : check if db credentials are valid for CouchDB --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
couchdb : include_tasks ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
couchdb : ensure directory for persisting db exists ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
couchdb : fail if path to persist db does not exist ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
couchdb : mount directory for persisting dbs -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.05s
couchdb : Set the nodes ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
couchdb : Set the volumes --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.03s
couchdb : set the coordinator to the first node ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.02s
I got error when I tried to build openwhisk on both my server,Can someone help me? Thank you very much.
Environment details:
Steps to reproduce the issue:
Provide the actual results and outputs:
Additional information you deem important:
Contents of db_local.ini:
The text was updated successfully, but these errors were encountered: