projectodd / openwhisk-openshift

Resources necessary for running OpenWhisk on OpenShift
Apache License 2.0
45 stars 26 forks source link

Latest (RHT-compat) couchdb fails to setup cluster on OCP #23

Closed jcrossley3 closed 6 years ago

jcrossley3 commented 6 years ago

It seems to work fine on minishift, but on the AWS (also tested on Azure) demo cluster, the last pod fails with "document update conflicts" when attempting to setup the cluster. Here's the log:

[jim@localhost summitdemo]$ oc logs couchdb-4
+ '[' '!' -z couchdb-4 ']'
+ export NODENAME=couchdb-4.couchdb-headless
+ NODENAME=couchdb-4.couchdb-headless
+ TIMEOUT=0
+ echo 'wait for CouchDB to be up and running'
+ /docker-entrypoint.sh /opt/couchdb/bin/couchdb
wait for CouchDB to be up and running
++ curl --location --output /dev/null --fail --head --silent http://localhost:5984/_utils
#    -name couchdb@127.0.0.1
#    -name couchdb@my.host.domain.com
#    -name couchdb@192.168.0.1
-name couchdb@127.0.0.1
-setcookie monster
+ '[' 0 -eq 30 ']'
+ echo 'waiting for CouchDB to be available'
waiting for CouchDB to be available
+ sleep 2
+ let TIMEOUT=TIMEOUT+1
++ curl --location --output /dev/null --fail --head --silent http://localhost:5984/_utils
+ '[' 1 -eq 30 ']'
+ '[' '!' -f /opt/couchdb/data/_openwhisk_initialized.stamp ']'
+ LAST_NODE_INDEX=4
+ '[' 5 -gt 1 ']'
+ [[ couchdb-4.couchdb-headless == couchdb-4* ]]
+ (( i=0 ))
+ (( i < 4 ))
+ ADD_NODE_JSON='{ "action": "add_node","host":"couchdb-0.couchdb-headless","port": 5984,"username": "...","password":"..."}'
+ curl -H 'Content-Type: application/json' -X POST http://...:...@localhost:5984/_cluster_setup -d '{ "action": "add_node","host":"couchdb-0.couchdb-headless","port": 5984,"username": "...","password":"..."}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   191  100    58  100   133   2085   4781 --:--:-- --:--:-- --:--:--  4925
{"error":"conflict","reason":"Document update conflict."}
+ (( i++  ))
+ (( i < 4 ))
+ ADD_NODE_JSON='{ "action": "add_node","host":"couchdb-1.couchdb-headless","port": 5984,"username": "...","password":"..."}'
+ curl -H 'Content-Type: application/json' -X POST http://...:...@localhost:5984/_cluster_setup -d '{ "action": "add_node","host":"couchdb-1.couchdb-headless","port": 5984,"username": "...","password":"..."}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   191  100    58  100   133   6418  14717 --:--:-- --:--:-- --:--:-- 16625
{"error":"conflict","reason":"Document update conflict."}
+ (( i++  ))
+ (( i < 4 ))
+ ADD_NODE_JSON='{ "action": "add_node","host":"couchdb-2.couchdb-headless","port": 5984,"username": "...","password":"..."}'
+ curl -H 'Content-Type: application/json' -X POST http://...:...@localhost:5984/_cluster_setup -d '{ "action": "add_node","host":"couchdb-2.couchdb-headless","port": 5984,"username": "...","password":"..."}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   191  100    58  100   133   6745  15468 --:--:-- --:--:-- --:--:-- 16625
{"error":"conflict","reason":"Document update conflict."}
+ (( i++  ))
+ (( i < 4 ))
+ ADD_NODE_JSON='{ "action": "add_node","host":"couchdb-3.couchdb-headless","port": 5984,"username": "...","password":"..."}'
+ curl -H 'Content-Type: application/json' -X POST http://...:...@localhost:5984/_cluster_setup -d '{ "action": "add_node","host":"couchdb-3.couchdb-headless","port": 5984,"username": "...","password":"..."}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   191  100    58  100   133   6808  15612 --:--:-- --:--:-- --:--:-- 16625
{"error":"conflict","reason":"Document update conflict."}
+ (( i++  ))
+ (( i < 4 ))
+ curl -H 'Content-Type: application/json' -X POST http://...:...@localhost:5984/_cluster_setup -d '{"action": "finish_cluster"}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    91  100    63  100    28   5432   2414 --:--:-- --:--:-- --:--:--  5727
{"error":"bad_request","reason":"Cluster is already finished"}
+ [[ couchdb-4.couchdb-headless == couchdb-4* ]]
+ pushd /openwhisk
+ '[' -n 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:RSwqPSjJ83rH7Pbi3WbhTvtJykGhC06QW2UQWM18l7koY0mFm0T0aI7LiFSEXq7h ']'
+ echo 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:RSwqPSjJ83rH7Pbi3WbhTvtJykGhC06QW2UQWM18l7koY0mFm0T0aI7LiFSEXq7h
/openwhisk /opt/jboss
+ '[' -n 789c46b1-71f6-4ed5-8c54-816aa4f8c502:cOjRamjqFDJnGPPhG1x2HJ4cNgoX83cFN6NAf3E3oeiEwDuowvbJVOBtCORlCFEp ']'
+ echo 789c46b1-71f6-4ed5-8c54-816aa4f8c502:cOjRamjqFDJnGPPhG1x2HJ4cNgoX83cFN6NAf3E3oeiEwDuowvbJVOBtCORlCFEp
+ export LD_PRELOAD=/usr/lib64/libuid_wrapper.so
+ LD_PRELOAD=/usr/lib64/libuid_wrapper.so
+ export UID_WRAPPER=1
+ UID_WRAPPER=1
+ export UID_WRAPPER_ROOT=1
+ UID_WRAPPER_ROOT=1
+ pushd ansible
+ ansible-playbook -i environments/local setup.yml
/openwhisk/ansible /openwhisk /opt/jboss
 [WARNING]: provided hosts list is empty, only localhost is available
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
Tuesday 03 April 2018  00:05:53 +0000 (0:00:00.020)       0:00:00.020 ********* 
ok: [localhost]
TASK [gen hosts if 'local' env is used] ****************************************
Tuesday 03 April 2018  00:05:55 +0000 (0:00:01.395)       0:00:01.416 ********* 
changed: [localhost -> localhost]
TASK [find the ip of docker-machine] *******************************************
Tuesday 03 April 2018  00:05:55 +0000 (0:00:00.487)       0:00:01.904 ********* 
skipping: [localhost]
TASK [get the docker-machine ip] ***********************************************
Tuesday 03 April 2018  00:05:55 +0000 (0:00:00.039)       0:00:01.944 ********* 
skipping: [localhost]
TASK [gen hosts for docker-machine] ********************************************
Tuesday 03 April 2018  00:05:55 +0000 (0:00:00.041)       0:00:01.985 ********* 
skipping: [localhost]
TASK [gen untrusted server certificate for host] *******************************
Tuesday 03 April 2018  00:05:55 +0000 (0:00:00.039)       0:00:02.025 ********* 
changed: [localhost -> localhost]
TASK [gen untrusted client certificate for host] *******************************
Tuesday 03 April 2018  00:05:56 +0000 (0:00:00.637)       0:00:02.663 ********* 
changed: [localhost -> localhost]
TASK [clean up old kafka keystore] *********************************************
Tuesday 03 April 2018  00:05:57 +0000 (0:00:00.893)       0:00:03.557 ********* 
skipping: [localhost]
TASK [ensure kafka files directory exists] *************************************
Tuesday 03 April 2018  00:05:57 +0000 (0:00:00.041)       0:00:03.598 ********* 
skipping: [localhost]
TASK [generate kafka certificates] *********************************************
Tuesday 03 April 2018  00:05:57 +0000 (0:00:00.041)       0:00:03.639 ********* 
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost                  : ok=4    changed=3    unreachable=0    failed=0   
Tuesday 03 April 2018  00:05:57 +0000 (0:00:00.035)       0:00:03.675 ********* 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.40s
gen untrusted client certificate for host ------------------------------- 0.89s
gen untrusted server certificate for host ------------------------------- 0.64s
gen hosts if 'local' env is used ---------------------------------------- 0.49s
ensure kafka files directory exists ------------------------------------- 0.04s
clean up old kafka keystore --------------------------------------------- 0.04s
get the docker-machine ip ----------------------------------------------- 0.04s
gen hosts for docker-machine -------------------------------------------- 0.04s
find the ip of docker-machine ------------------------------------------- 0.04s
generate kafka certificates --------------------------------------------- 0.04s
+ ansible-playbook -i environments/local couchdb.yml --tags ini -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=... -e db_password=... -e db_port=5984 -e openwhisk_home=/openwhisk
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
Tuesday 03 April 2018  00:05:57 +0000 (0:00:00.020)       0:00:00.021 ********* 
ok: [localhost]
TASK [check if db_local.ini exists?] *******************************************
Tuesday 03 April 2018  00:05:59 +0000 (0:00:01.399)       0:00:01.420 ********* 
ok: [localhost]
TASK [prepare db_local.ini] ****************************************************
Tuesday 03 April 2018  00:05:59 +0000 (0:00:00.273)       0:00:01.693 ********* 
changed: [localhost -> localhost]
PLAY [db] **********************************************************************
TASK [Gathering Facts] *********************************************************
Tuesday 03 April 2018  00:05:59 +0000 (0:00:00.416)       0:00:02.109 ********* 
ok: [172.17.0.1]
PLAY RECAP *********************************************************************
172.17.0.1                 : ok=1    changed=0    unreachable=0    failed=0   
localhost                  : ok=3    changed=1    unreachable=0    failed=0   
Tuesday 03 April 2018  00:06:01 +0000 (0:00:01.183)       0:00:03.293 ********* 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.40s
Gathering Facts --------------------------------------------------------- 1.18s
prepare db_local.ini ---------------------------------------------------- 0.42s
check if db_local.ini exists? ------------------------------------------- 0.27s
+ popd
+ pushd ansible
/openwhisk /opt/jboss
/openwhisk/ansible /openwhisk /opt/jboss
+ ansible-playbook -i environments/local initdb.yml -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=... -e db_password=... -e db_port=5984 -e openwhisk_home=/openwhisk
PLAY [ansible] *****************************************************************
TASK [Gathering Facts] *********************************************************
Tuesday 03 April 2018  00:06:01 +0000 (0:00:00.019)       0:00:00.019 ********* 
ok: [ansible]
TASK [check if test_subjects with CouchDB exists] ******************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:01.434)       0:00:01.453 ********* 
ok: [ansible]
TASK [delete the test_subjects with CouchDB] ***********************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.370)       0:00:01.824 ********* 
skipping: [ansible]
TASK [create test_subjects with CouchDB] ***************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.024)       0:00:01.849 ********* 
skipping: [ansible]
TASK [include] *****************************************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.015)       0:00:01.864 ********* 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.068)       0:00:01.932 ********* 
ok: [ansible]
TASK [check for _design/subjects document in test_subjects database] ***********
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.034)       0:00:01.967 ********* 
ok: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.234)       0:00:02.202 ********* 
ok: [ansible]
TASK [extract revision from previous document] *********************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.026)       0:00:02.229 ********* 
ok: [ansible]
TASK [check if a doc update is required] ***************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.029)       0:00:02.258 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.016)       0:00:02.274 ********* 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.020)       0:00:02.295 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.015)       0:00:02.311 ********* 
ok: [ansible]
TASK [check for _design/snapshotFilters document in test_subjects database] ****
Tuesday 03 April 2018  00:06:03 +0000 (0:00:00.032)       0:00:02.343 ********* 
ok: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.227)       0:00:02.571 ********* 
ok: [ansible]
TASK [extract revision from previous document] *********************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.025)       0:00:02.597 ********* 
ok: [ansible]
TASK [check if a doc update is required] ***************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.027)       0:00:02.624 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.016)       0:00:02.641 ********* 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.021)       0:00:02.663 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.015)       0:00:02.678 ********* 
ok: [ansible]
TASK [check for _design/namespaceThrottlings document in test_subjects database] ***
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.035)       0:00:02.714 ********* 
ok: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.232)       0:00:02.947 ********* 
ok: [ansible]
TASK [extract revision from previous document] *********************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.026)       0:00:02.973 ********* 
ok: [ansible]
TASK [check if a doc update is required] ***************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.028)       0:00:03.002 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.017)       0:00:03.019 ********* 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.022)       0:00:03.042 ********* 
skipping: [ansible]
TASK [create necessary "auth" keys] ********************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.015)       0:00:03.057 ********* 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.054)       0:00:03.112 ********* 
ok: [ansible]
TASK [check for guest document in test_subjects database] **********************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.039)       0:00:03.152 ********* 
ok: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:04 +0000 (0:00:00.232)       0:00:03.384 ********* 
ok: [ansible]
TASK [extract revision from previous document] *********************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.026)       0:00:03.411 ********* 
ok: [ansible]
TASK [check if a doc update is required] ***************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.032)       0:00:03.444 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.018)       0:00:03.462 ********* 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.024)       0:00:03.486 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.016)       0:00:03.503 ********* 
ok: [ansible]
TASK [check for whisk.system document in test_subjects database] ***************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.041)       0:00:03.545 ********* 
ok: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.236)       0:00:03.781 ********* 
ok: [ansible]
TASK [extract revision from previous document] *********************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.028)       0:00:03.810 ********* 
ok: [ansible]
TASK [check if a doc update is required] ***************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.033)       0:00:03.844 ********* 
skipping: [ansible]
TASK [set_fact] ****************************************************************
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.019)       0:00:03.864 ********* 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.023)       0:00:03.887 ********* 
skipping: [ansible]
PLAY RECAP *********************************************************************
ansible                    : ok=27   changed=0    unreachable=0    failed=0   
Tuesday 03 April 2018  00:06:05 +0000 (0:00:00.014)       0:00:03.902 ********* 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.43s
check if test_subjects with CouchDB exists ------------------------------ 0.37s
check for whisk.system document in test_subjects database --------------- 0.24s
check for _design/subjects document in test_subjects database ----------- 0.23s
check for _design/namespaceThrottlings document in test_subjects database --- 0.23s
check for guest document in test_subjects database ---------------------- 0.23s
check for _design/snapshotFilters document in test_subjects database ---- 0.23s
include ----------------------------------------------------------------- 0.07s
create necessary "auth" keys -------------------------------------------- 0.05s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.03s
extract revision from previous document --------------------------------- 0.03s
extract revision from previous document --------------------------------- 0.03s
set_fact ---------------------------------------------------------------- 0.03s
extract revision from previous document --------------------------------- 0.03s
extract revision from previous document --------------------------------- 0.03s
set_fact ---------------------------------------------------------------- 0.03s
extract revision from previous document --------------------------------- 0.03s
+ ansible-playbook -i environments/local wipe.yml -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=... -e db_password=... -e db_port=5984 -e openwhisk_home=/openwhisk
PLAY [ansible] *****************************************************************
TASK [Gathering Facts] *********************************************************
Tuesday 03 April 2018  00:06:06 +0000 (0:00:00.018)       0:00:00.018 ********* 
ok: [ansible]
TASK [check if test_whisks with CouchDB exists] ********************************
Tuesday 03 April 2018  00:06:07 +0000 (0:00:01.428)       0:00:01.446 ********* 
ok: [ansible]
TASK [delete the test_whisks with CouchDB] *************************************
Tuesday 03 April 2018  00:06:07 +0000 (0:00:00.368)       0:00:01.815 ********* 
skipping: [ansible]
TASK [create test_whisks with CouchDB] *****************************************
Tuesday 03 April 2018  00:06:07 +0000 (0:00:00.026)       0:00:01.841 ********* 
fatal: [ansible]: FAILED! => {"cache_control": "must-revalidate", "changed": false, "connection": "close", "content": "{\"error\":\"error\",\"reason\":\"internal_server_error\"}\n", "content_length": "51", "content_type": "application/json", "date": "Tue, 03 Apr 2018 00:06:08 GMT", "failed": true, "json": {"error": "error", "reason": "internal_server_error"}, "msg": "Status code was not [200, 201]: HTTP Error 500: Internal Server Error", "redirected": false, "server": "CouchDB/2.1.1 (Erlang OTP/18)", "status": 500, "url": "http://127.0.0.1:5984/test_whisks", "x_couch_request_id": "808420ba74", "x_couchdb_body_time": "0"}
Status code was not [200, 201]: HTTP Error 500: Internal Server Error
PLAY RECAP *********************************************************************
ansible                    : ok=2    changed=0    unreachable=0    failed=1   
Tuesday 03 April 2018  00:06:08 +0000 (0:00:00.256)       0:00:02.097 ********* 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.43s
check if test_whisks with CouchDB exists -------------------------------- 0.37s
create test_whisks with CouchDB ----------------------------------------- 0.26s
delete the test_whisks with CouchDB ------------------------------------- 0.03s
goldmann commented 6 years ago

I cannot reproduce it with OCP 3.9, clustered setup with master + 2 nodes using image projectodd/whisk_couchdb:3f130ac.

Versions:

openshift v3.9.14
kubernetes v1.9.1+a0ce1bc657

Pod:

$ oc describe pod couchdb-0
Name:           couchdb-0
Namespace:      openwhisk
Security Policy:    restricted
Node:           172.16.212.19/172.16.212.19
Start Time:     Fri, 06 Apr 2018 08:44:40 +0200
Labels:         controller-revision-hash=couchdb-5f95d6dc97
            name=couchdb
            statefulset.kubernetes.io/pod-name=couchdb-0
Annotations:        openshift.io/scc=restricted
Status:         Running
IP:         10.129.0.138
Controllers:        <none>
Containers:
  couchdb:
    Container ID:   docker://1b13b27e5adc5a183de463f712bbbd5b9adc660f93758d734b5703243d37540c
    Image:      projectodd/whisk_couchdb:3f130ac
    Image ID:       docker-pullable://docker.io/projectodd/whisk_couchdb@sha256:a3a78db8d123187d689e2f76f65096da71efeda973e32dc68d97dc1b29c4985a
    Ports:      5984/TCP, 4369/TCP, 9100/TCP
    Command:
      /init.sh
    State:      Running
      Started:      Fri, 06 Apr 2018 08:45:29 +0200
    Ready:      True
    Restart Count:  0
    Limits:
      memory:   256Mi
    Requests:
      memory:   256Mi
    Readiness:  http-get http://:5984/_utils/ delay=10s timeout=1s period=10s #success=1 #failure=10
    Environment:
      DB_PREFIX:        <set to the key 'db_prefix' of config map 'db.config'>  Optional: false
      DB_HOST:          127.0.0.1
      DB_PORT:          $(COUCHDB_SERVICE_PORT_COUCHDB)
      COUCHDB_USER:     <set to the key 'db_username' in secret 'db.auth'>  Optional: false
      COUCHDB_PASSWORD:     <set to the key 'db_password' in secret 'db.auth'>  Optional: false
      COUCHDB_SECRET:       <set to the key 'db_secret' in secret 'db.auth'>    Optional: false
      NODENAME_HOSTNAME:    couchdb-0 (v1:metadata.name)
      NODENAME_SUBDOMAIN:   couchdb-headless
      COUCHDB_NODE_COUNT:   1
      AUTH_WHISK_SYSTEM:    <set to the key 'system' in secret 'whisk.auth'>    Optional: false
      AUTH_GUEST:       <set to the key 'guest' in secret 'whisk.auth'>     Optional: false
    Mounts:
      /opt/couchdb/data from couchdb-data (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-pvzpw (ro)
Conditions:
  Type      Status
  Initialized   True 
  Ready     True 
  PodScheduled  True 
Volumes:
  couchdb-data:
    Type:   EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium: 
  default-token-pvzpw:
    Type:   Secret (a volume populated by a Secret)
    SecretName: default-token-pvzpw
    Optional:   false
QoS Class:  Burstable
Node-Selectors: node-role.kubernetes.io/compute=true
Tolerations:    node.kubernetes.io/memory-pressure=:Exists:NoSchedule
Events:
  FirstSeen LastSeen    Count   From            SubObjectPath           Type        Reason          Message
  --------- --------    -----   ----            -------------           --------    ------          -------
  4m        4m      1   default-scheduler                   Normal      Scheduled       Successfully assigned couchdb-0 to 172.16.212.19
  4m        4m      1   kubelet, 172.16.212.19                  Normal      SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "couchdb-data" 
  4m        4m      1   kubelet, 172.16.212.19                  Normal      SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "default-token-pvzpw" 
  4m        4m      1   kubelet, 172.16.212.19  spec.containers{couchdb}    Normal      Pulling         pulling image "projectodd/whisk_couchdb:3f130ac"
  3m        3m      1   kubelet, 172.16.212.19  spec.containers{couchdb}    Normal      Pulled          Successfully pulled image "projectodd/whisk_couchdb:3f130ac"
  3m        3m      1   kubelet, 172.16.212.19  spec.containers{couchdb}    Normal      Created         Created container
  3m        3m      1   kubelet, 172.16.212.19  spec.containers{couchdb}    Normal      Started         Started container

The projectodd/whisk_couchdb:3f130ac image is the one built from my sources:

$ oc exec couchdb-0 -- cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

And here are the full logs from the couchdb-0 pod:

$ oc logs couchdb-0                 
wait for CouchDB to be up and running
+ '[' '!' -z couchdb-0 ']'
+ export NODENAME=couchdb-0.couchdb-headless
+ NODENAME=couchdb-0.couchdb-headless
+ TIMEOUT=0
+ echo 'wait for CouchDB to be up and running'
+ /docker-entrypoint.sh /opt/couchdb/bin/couchdb
++ curl --location --output /dev/null --fail --head --silent http://localhost:5984/_utils
#    -name couchdb@127.0.0.1
#    -name couchdb@my.host.domain.com
#    -name couchdb@192.168.0.1
-name couchdb@127.0.0.1
-setcookie monster
+ '[' 0 -eq 30 ']'
+ echo 'waiting for CouchDB to be available'
+ sleep 2
waiting for CouchDB to be available
+ let TIMEOUT=TIMEOUT+1
++ curl --location --output /dev/null --fail --head --silent http://localhost:5984/_utils
+ '[' 1 -eq 30 ']'
+ '[' '!' -f /opt/couchdb/data/_openwhisk_initialized.stamp ']'
+ LAST_NODE_INDEX=0
+ '[' 1 -gt 1 ']'
+ curl -X PUT http://user7GC:yXYJn0pwNV8L7mGn@localhost:5984/_users
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    12  100    12    0     0    199      0 --:--:-- --:--:-- --:--:--   203
{"ok":true}
+ curl -X PUT http://user7GC:yXYJn0pwNV8L7mGn@localhost:5984/_replicator
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
{"ok":true}
100    12  100    12    0     0    794      0 --:--:-- --:--:-- --:--:--   857
+ curl -X PUT http://user7GC:yXYJn0pwNV8L7mGn@localhost:5984/_global_changes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
{"ok":true}
/openwhisk /opt/jboss
100    12  100    12    0     0    765      0 --:--:-- --:--:-- --:--:--   800
+ [[ couchdb-0.couchdb-headless == couchdb-0* ]]
+ pushd /openwhisk
+ '[' -n 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:MNBB3HasCjl4qyX4RxDwMIbUPHPwqGmnBCLE5crpIMON4o00brIgdVySINnjET8B ']'
+ echo 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:MNBB3HasCjl4qyX4RxDwMIbUPHPwqGmnBCLE5crpIMON4o00brIgdVySINnjET8B
/openwhisk/ansible /openwhisk /opt/jboss
+ '[' -n 789c46b1-71f6-4ed5-8c54-816aa4f8c502:qXjAFIuaMNfmxAC8fVxS5fiymeadpnaEsPVbAAqUy3R05xnnMpRBNPW5THJJ2XAF ']'
+ echo 789c46b1-71f6-4ed5-8c54-816aa4f8c502:qXjAFIuaMNfmxAC8fVxS5fiymeadpnaEsPVbAAqUy3R05xnnMpRBNPW5THJJ2XAF
+ export LD_PRELOAD=/usr/lib64/libuid_wrapper.so
+ LD_PRELOAD=/usr/lib64/libuid_wrapper.so
+ export UID_WRAPPER=1
+ UID_WRAPPER=1
+ export UID_WRAPPER_ROOT=1
+ UID_WRAPPER_ROOT=1
+ pushd ansible
+ ansible-playbook -i environments/local setup.yml
 [WARNING]: provided hosts list is empty, only localhost is available
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
Friday 06 April 2018  06:45:33 +0000 (0:00:00.059)       0:00:00.059 ********** 
ok: [localhost]
TASK [gen hosts if 'local' env is used] ****************************************
Friday 06 April 2018  06:45:34 +0000 (0:00:01.277)       0:00:01.337 ********** 
changed: [localhost -> localhost]
TASK [find the ip of docker-machine] *******************************************
Friday 06 April 2018  06:45:35 +0000 (0:00:00.477)       0:00:01.814 ********** 
skipping: [localhost]
TASK [get the docker-machine ip] ***********************************************
Friday 06 April 2018  06:45:35 +0000 (0:00:00.039)       0:00:01.853 ********** 
skipping: [localhost]
TASK [gen hosts for docker-machine] ********************************************
Friday 06 April 2018  06:45:35 +0000 (0:00:00.037)       0:00:01.891 ********** 
skipping: [localhost]
TASK [gen untrusted server certificate for host] *******************************
Friday 06 April 2018  06:45:35 +0000 (0:00:00.037)       0:00:01.928 ********** 
changed: [localhost -> localhost]
TASK [gen untrusted client certificate for host] *******************************
Friday 06 April 2018  06:45:35 +0000 (0:00:00.599)       0:00:02.528 ********** 
changed: [localhost -> localhost]
TASK [clean up old kafka keystore] *********************************************
Friday 06 April 2018  06:45:36 +0000 (0:00:00.697)       0:00:03.225 ********** 
skipping: [localhost]
TASK [ensure kafka files directory exists] *************************************
Friday 06 April 2018  06:45:36 +0000 (0:00:00.037)       0:00:03.263 ********** 
skipping: [localhost]
TASK [generate kafka certificates] *********************************************
Friday 06 April 2018  06:45:36 +0000 (0:00:00.038)       0:00:03.302 ********** 
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost                  : ok=4    changed=3    unreachable=0    failed=0   
Friday 06 April 2018  06:45:36 +0000 (0:00:00.034)       0:00:03.336 ********** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.28s
gen untrusted client certificate for host ------------------------------- 0.70s
gen untrusted server certificate for host ------------------------------- 0.60s
gen hosts if 'local' env is used ---------------------------------------- 0.48s
find the ip of docker-machine ------------------------------------------- 0.04s
ensure kafka files directory exists ------------------------------------- 0.04s
get the docker-machine ip ----------------------------------------------- 0.04s
gen hosts for docker-machine -------------------------------------------- 0.04s
clean up old kafka keystore --------------------------------------------- 0.04s
generate kafka certificates --------------------------------------------- 0.03s
+ ansible-playbook -i environments/local couchdb.yml --tags ini -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=user7GC -e db_password=yXYJn0pwNV8L7mGn -e db_port=5984 -e openwhisk_home=/openwhisk
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
Friday 06 April 2018  06:45:37 +0000 (0:00:00.019)       0:00:00.019 ********** 
ok: [localhost]
TASK [check if db_local.ini exists?] *******************************************
Friday 06 April 2018  06:45:38 +0000 (0:00:01.205)       0:00:01.225 ********** 
ok: [localhost]
TASK [prepare db_local.ini] ****************************************************
Friday 06 April 2018  06:45:39 +0000 (0:00:00.276)       0:00:01.501 ********** 
changed: [localhost -> localhost]
PLAY [db] **********************************************************************
TASK [Gathering Facts] *********************************************************
Friday 06 April 2018  06:45:39 +0000 (0:00:00.403)       0:00:01.905 ********** 
ok: [172.17.0.1]
PLAY RECAP *********************************************************************
172.17.0.1                 : ok=1    changed=0    unreachable=0    failed=0   
localhost                  : ok=3    changed=1    unreachable=0    failed=0   
Friday 06 April 2018  06:45:41 +0000 (0:00:01.699)       0:00:03.604 ********** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.70s
Gathering Facts --------------------------------------------------------- 1.21s
prepare db_local.ini ---------------------------------------------------- 0.40s
check if db_local.ini exists? ------------------------------------------- 0.28s
+ popd
+ pushd ansible
+ ansible-playbook -i environments/local initdb.yml -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=user7GC -e db_password=yXYJn0pwNV8L7mGn -e db_port=5984 -e openwhisk_home=/openwhisk
/openwhisk /opt/jboss
/openwhisk/ansible /openwhisk /opt/jboss
PLAY [ansible] *****************************************************************
TASK [Gathering Facts] *********************************************************
Friday 06 April 2018  06:45:41 +0000 (0:00:00.018)       0:00:00.018 ********** 
ok: [ansible]
TASK [check if test_subjects with CouchDB exists] ******************************
Friday 06 April 2018  06:45:43 +0000 (0:00:01.225)       0:00:01.244 ********** 
ok: [ansible]
TASK [delete the test_subjects with CouchDB] ***********************************
Friday 06 April 2018  06:45:43 +0000 (0:00:00.340)       0:00:01.584 ********** 
skipping: [ansible]
TASK [create test_subjects with CouchDB] ***************************************
Friday 06 April 2018  06:45:43 +0000 (0:00:00.022)       0:00:01.606 ********** 
ok: [ansible]
TASK [include] *****************************************************************
Friday 06 April 2018  06:45:43 +0000 (0:00:00.221)       0:00:01.827 ********** 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:43 +0000 (0:00:00.067)       0:00:01.894 ********** 
ok: [ansible]
TASK [check for _design/subjects document in test_subjects database] ***********
Friday 06 April 2018  06:45:43 +0000 (0:00:00.037)       0:00:01.931 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.206)       0:00:02.138 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.015)       0:00:02.153 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.015)       0:00:02.169 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.023)       0:00:02.192 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Friday 06 April 2018  06:45:44 +0000 (0:00:00.021)       0:00:02.213 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.519)       0:00:02.733 ********** 
ok: [ansible]
TASK [check for _design/snapshotFilters document in test_subjects database] ****
Friday 06 April 2018  06:45:44 +0000 (0:00:00.036)       0:00:02.769 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.211)       0:00:02.981 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.015)       0:00:02.997 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.014)       0:00:03.012 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:44 +0000 (0:00:00.022)       0:00:03.034 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Friday 06 April 2018  06:45:44 +0000 (0:00:00.020)       0:00:03.054 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.208)       0:00:03.263 ********** 
ok: [ansible]
TASK [check for _design/namespaceThrottlings document in test_subjects database] ***
Friday 06 April 2018  06:45:45 +0000 (0:00:00.034)       0:00:03.298 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.208)       0:00:03.506 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.016)       0:00:03.522 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.014)       0:00:03.537 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.022)       0:00:03.560 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Friday 06 April 2018  06:45:45 +0000 (0:00:00.021)       0:00:03.581 ********** 
ok: [ansible]
TASK [create necessary "auth" keys] ********************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.210)       0:00:03.791 ********** 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.050)       0:00:03.842 ********** 
ok: [ansible]
TASK [check for guest document in test_subjects database] **********************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.041)       0:00:03.883 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:45 +0000 (0:00:00.235)       0:00:04.118 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.056)       0:00:04.175 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.016)       0:00:04.191 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.023)       0:00:04.214 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Friday 06 April 2018  06:45:46 +0000 (0:00:00.021)       0:00:04.236 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.213)       0:00:04.450 ********** 
ok: [ansible]
TASK [check for whisk.system document in test_subjects database] ***************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.037)       0:00:04.487 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.209)       0:00:04.697 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.014)       0:00:04.712 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.016)       0:00:04.728 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:46 +0000 (0:00:00.023)       0:00:04.752 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_subjects database] ***********
Friday 06 April 2018  06:45:46 +0000 (0:00:00.022)       0:00:04.774 ********** 
ok: [ansible]
PLAY RECAP *********************************************************************
ansible                    : ok=28   changed=0    unreachable=0    failed=0   
Friday 06 April 2018  06:45:46 +0000 (0:00:00.216)       0:00:04.991 ********** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.23s
recreate or update the document on the test_subjects database ----------- 0.52s
check if test_subjects with CouchDB exists ------------------------------ 0.34s
check for guest document in test_subjects database ---------------------- 0.24s
create test_subjects with CouchDB --------------------------------------- 0.22s
recreate or update the document on the test_subjects database ----------- 0.22s
recreate or update the document on the test_subjects database ----------- 0.21s
check for _design/snapshotFilters document in test_subjects database ---- 0.21s
recreate or update the document on the test_subjects database ----------- 0.21s
check for whisk.system document in test_subjects database --------------- 0.21s
recreate or update the document on the test_subjects database ----------- 0.21s
check for _design/namespaceThrottlings document in test_subjects database --- 0.21s
check for _design/subjects document in test_subjects database ----------- 0.21s
include ----------------------------------------------------------------- 0.07s
set_fact ---------------------------------------------------------------- 0.06s
create necessary "auth" keys -------------------------------------------- 0.05s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.04s
set_fact ---------------------------------------------------------------- 0.04s
+ ansible-playbook -i environments/local wipe.yml -e db_prefix=test_ -e db_host=127.0.0.1 -e db_username=user7GC -e db_password=yXYJn0pwNV8L7mGn -e db_port=5984 -e openwhisk_home=/openwhisk
PLAY [ansible] *****************************************************************
TASK [Gathering Facts] *********************************************************
Friday 06 April 2018  06:45:48 +0000 (0:00:00.018)       0:00:00.018 ********** 
ok: [ansible]
TASK [check if test_whisks with CouchDB exists] ********************************
Friday 06 April 2018  06:45:49 +0000 (0:00:01.209)       0:00:01.228 ********** 
ok: [ansible]
TASK [delete the test_whisks with CouchDB] *************************************
Friday 06 April 2018  06:45:49 +0000 (0:00:00.351)       0:00:01.580 ********** 
skipping: [ansible]
TASK [create test_whisks with CouchDB] *****************************************
Friday 06 April 2018  06:45:49 +0000 (0:00:00.026)       0:00:01.606 ********** 
ok: [ansible]
TASK [check if test_activations with CouchDB exists] ***************************
Friday 06 April 2018  06:45:50 +0000 (0:00:00.253)       0:00:01.860 ********** 
ok: [ansible]
TASK [delete the test_activations with CouchDB] ********************************
Friday 06 April 2018  06:45:50 +0000 (0:00:00.234)       0:00:02.095 ********** 
skipping: [ansible]
TASK [create test_activations with CouchDB] ************************************
Friday 06 April 2018  06:45:50 +0000 (0:00:00.030)       0:00:02.126 ********** 
ok: [ansible]
TASK [include] *****************************************************************
Friday 06 April 2018  06:45:50 +0000 (0:00:00.235)       0:00:02.361 ********** 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:50 +0000 (0:00:00.077)       0:00:02.439 ********** 
ok: [ansible]
TASK [check for _design/whisks.v2.1.0 document in test_whisks database] ********
Friday 06 April 2018  06:45:50 +0000 (0:00:00.204)       0:00:02.644 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.223)       0:00:02.867 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.022)       0:00:02.890 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.025)       0:00:02.916 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.032)       0:00:02.949 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_whisks database] *************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.030)       0:00:02.979 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.232)       0:00:03.211 ********** 
ok: [ansible]
TASK [check for _design/snapshotFilters document in test_whisks database] ******
Friday 06 April 2018  06:45:51 +0000 (0:00:00.043)       0:00:03.255 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.220)       0:00:03.475 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.023)       0:00:03.499 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.022)       0:00:03.522 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.030)       0:00:03.552 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_whisks database] *************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.029)       0:00:03.582 ********** 
ok: [ansible]
TASK [include] *****************************************************************
Friday 06 April 2018  06:45:51 +0000 (0:00:00.224)       0:00:03.807 ********** 
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
included: /openwhisk/ansible/tasks/db/recreateDoc.yml for ansible
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.198)       0:00:04.005 ********** 
ok: [ansible]
TASK [check for _design/whisks.v2.1.0 document in test_activations database] ***
Friday 06 April 2018  06:45:52 +0000 (0:00:00.055)       0:00:04.060 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.233)       0:00:04.293 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.032)       0:00:04.326 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.028)       0:00:04.354 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.035)       0:00:04.390 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_activations database] ********
Friday 06 April 2018  06:45:52 +0000 (0:00:00.034)       0:00:04.425 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:52 +0000 (0:00:00.232)       0:00:04.658 ********** 
ok: [ansible]
TASK [check for _design/whisks-filters.v2.1.0 document in test_activations database] ***
Friday 06 April 2018  06:45:52 +0000 (0:00:00.049)       0:00:04.707 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.231)       0:00:04.939 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.029)       0:00:04.968 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.029)       0:00:04.998 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.035)       0:00:05.034 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_activations database] ********
Friday 06 April 2018  06:45:53 +0000 (0:00:00.035)       0:00:05.069 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.229)       0:00:05.298 ********** 
ok: [ansible]
TASK [check for _design/snapshotFilters document in test_activations database] ***
Friday 06 April 2018  06:45:53 +0000 (0:00:00.047)       0:00:05.346 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.221)       0:00:05.567 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.028)       0:00:05.596 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.029)       0:00:05.625 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:53 +0000 (0:00:00.037)       0:00:05.663 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_activations database] ********
Friday 06 April 2018  06:45:53 +0000 (0:00:00.034)       0:00:05.698 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.232)       0:00:05.931 ********** 
ok: [ansible]
TASK [check for _design/activations document in test_activations database] *****
Friday 06 April 2018  06:45:54 +0000 (0:00:00.049)       0:00:05.980 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.229)       0:00:06.210 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.029)       0:00:06.239 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.029)       0:00:06.269 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.036)       0:00:06.306 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_activations database] ********
Friday 06 April 2018  06:45:54 +0000 (0:00:00.035)       0:00:06.341 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:54 +0000 (0:00:00.231)       0:00:06.572 ********** 
ok: [ansible]
TASK [check for _design/logCleanup document in test_activations database] ******
Friday 06 April 2018  06:45:54 +0000 (0:00:00.047)       0:00:06.619 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:55 +0000 (0:00:00.220)       0:00:06.839 ********** 
skipping: [ansible]
TASK [extract revision from previous document] *********************************
Friday 06 April 2018  06:45:55 +0000 (0:00:00.029)       0:00:06.869 ********** 
skipping: [ansible]
TASK [check if a doc update is required] ***************************************
Friday 06 April 2018  06:45:55 +0000 (0:00:00.029)       0:00:06.899 ********** 
ok: [ansible]
TASK [set_fact] ****************************************************************
Friday 06 April 2018  06:45:55 +0000 (0:00:00.038)       0:00:06.937 ********** 
skipping: [ansible]
TASK [recreate or update the document on the test_activations database] ********
Friday 06 April 2018  06:45:55 +0000 (0:00:00.038)       0:00:06.976 ********** 
ok: [ansible]
PLAY RECAP *********************************************************************
ansible                    : ok=40   changed=0    unreachable=0    failed=0   
Friday 06 April 2018  06:45:55 +0000 (0:00:00.234)       0:00:07.210 ********** 
=============================================================================== 
Gathering Facts --------------------------------------------------------- 1.21s
check if test_whisks with CouchDB exists -------------------------------- 0.35s
create test_whisks with CouchDB ----------------------------------------- 0.25s
create test_activations with CouchDB ------------------------------------ 0.24s
check if test_activations with CouchDB exists --------------------------- 0.23s
recreate or update the document on the test_activations database -------- 0.23s
check for _design/whisks.v2.1.0 document in test_activations database --- 0.23s
recreate or update the document on the test_activations database -------- 0.23s
recreate or update the document on the test_activations database -------- 0.23s
recreate or update the document on the test_whisks database ------------- 0.23s
check for _design/whisks-filters.v2.1.0 document in test_activations database --- 0.23s
recreate or update the document on the test_activations database -------- 0.23s
check for _design/activations document in test_activations database ----- 0.23s
recreate or update the document on the test_activations database -------- 0.23s
recreate or update the document on the test_whisks database ------------- 0.22s
check for _design/whisks.v2.1.0 document in test_whisks database -------- 0.22s
check for _design/snapshotFilters document in test_activations database --- 0.22s
check for _design/snapshotFilters document in test_whisks database ------ 0.22s
check for _design/logCleanup document in test_activations database ------ 0.22s
set_fact ---------------------------------------------------------------- 0.20s
/openwhisk /opt/jboss
/opt/jboss
+ popd
+ unset LD_PRELOAD UID_WRAPPER UID_WRAPPER_ROOT
+ popd
+ date
+ echo 'successfully setup and configured CouchDB for OpenWhisk'
+ sleep inf
successfully setup and configured CouchDB for OpenWhisk
bbrowning commented 6 years ago

Fixed by https://github.com/projectodd/openwhisk-openshift/compare/6a94b61...d0f8661