openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [incubator-openwhisk-deploy-kube] branch master updated: Create the required CouchDB system databases (#60)
Date Thu, 28 Sep 2017 13:35:56 GMT
This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new ed27285  Create the required CouchDB system databases (#60)
ed27285 is described below

commit ed27285ca7a20460c76c96100ca18bb8714c2d6f
Author: Ben Browning <>
AuthorDate: Thu Sep 28 09:35:54 2017 -0400

    Create the required CouchDB system databases (#60)
    As of CouchDB 2.0, system databases don't automatically get created on
    startup and you have to do this manually. The process differs a bit
    for single nodes vs clusters, but since everything else in the Ansible
    scripts seems to assume single node this just sets things up that way.
    See the CouchDB docs at for more
    This prevents errors constantly being logged by CouchDB with messages
    like `Error in process <0.22878.7> on node 'couchdb@couchdb0' with
    exit value: {database_does_not_exist ...` and `chttpd_auth_cache
    changes listener died database_does_not_exist ...` which can end up
    chewing through a lot of log disk space.
 kubernetes/couchdb/docker/ | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kubernetes/couchdb/docker/ b/kubernetes/couchdb/docker/
index 5568107..85e41e3 100755
--- a/kubernetes/couchdb/docker/
+++ b/kubernetes/couchdb/docker/
@@ -57,6 +57,11 @@ pushd /openwhisk
   # disable reduce limits on views
   curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@$DB_HOST:$DB_PORT/_node/couchdb@couchdb0/_config/query_server_config/reduce_limit
-d '"false"'
+  # create the couchdb system databases
+  curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@$DB_HOST:$DB_PORT/_global_changes
   pushd ansible
     # initialize the DB
     ansible-playbook -i environments/local initdb.yml \

To stop receiving notification emails like this one, please contact
['"" <>'].

View raw message