You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/16 15:58:47 UTC
[GitHub] rabbah commented on a change in pull request #4290: Enable couchdb
persist_path in a distributed environment as well
rabbah commented on a change in pull request #4290: Enable couchdb persist_path in a distributed environment as well
URL: https://github.com/apache/incubator-openwhisk/pull/4290#discussion_r257465532
##########
File path: ansible/roles/couchdb/tasks/deploy.yml
##########
@@ -88,6 +92,45 @@
force_basic_auth: yes
when: (create_users_db.status == 404) and (inventory_hostname == coordinator) and (couchdb.version is version_compare('2.0','>='))
+- name: check whether couchdb is clustered
+ uri:
+ url: "{{ db.protocol }}://{{ ansible_host }}:{{ db.port }}/_cluster_setup"
+ method: GET
+ status_code: 200
Review comment:
can this error and return 40x?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services