You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "jcmluquez (via GitHub)" <gi...@apache.org> on 2024/10/28 13:29:26 UTC

[I] Unable to deploy on openshift cluster using helm chart [couchdb-helm]

jcmluquez opened a new issue, #182:
URL: https://github.com/apache/couchdb-helm/issues/182

   **Describe the bug**
   I am trying to install CouchDB 4.5.3 on an Openshift cluster, using helm chart, with persisten volumes but pods go into CrashLoopBackOff because of some permission error. This is the log:
   `/docker-entrypoint.sh: line 89: /opt/couchdb/.erlang.cookie: Permission denied`
   
   **Version of Helm and Kubernetes**:
   Helm v3.16.2, Kubernetes v1.28.7+6e2789b
   
   **What happened**:
   Install command:
   `helm install couchdb couchdb/couchdb --version=4.5.3 --set allowAdminParty=true --set persistentVolume.enabled=true --set couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -)`
   Every resource seems to be created ok, but the 3 pods got into CrashLoopBackOff state because of the following error:
   `/docker-entrypoint.sh: line 89: /opt/couchdb/.erlang.cookie: Permission denied`
   
   **How to reproduce it** (as minimally and precisely as possible):
   # oc login <cluster credentials>
   # oc project couchdb
   # helm repo add couchdb https://apache.github.io/couchdb-helm
   # helm install couchdb couchdb/couchdb --version=4.5.3 --set allowAdminParty=true --set persistentVolume.enabled=true --set couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -)
   
   
   **Anything else we need to know**:
   Init-copy container log:
   ```
   total 8
   ```
   -rw-r--r-- 1 1001090000 1001090000 225 Oct 28 13:01 seedlist.ini
   -rw-r--r-- 1 1001090000 1001090000 106 Oct 28 13:01 chart.ini
   ```
   ```
   Couchdb container log:
   `/docker-entrypoint.sh: line 89: /opt/couchdb/.erlang.cookie: Permission denied`
   
   Allready tried without persistentce and got the same error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to deploy on openshift cluster using helm chart [couchdb-helm]

Posted by "jcmluquez (via GitHub)" <gi...@apache.org>.
jcmluquez commented on issue #182:
URL: https://github.com/apache/couchdb-helm/issues/182#issuecomment-2445196321

   Fixed running:
   oc adm policy add-scc-to-user anyuid -z couchdb-couchdb
   and scale to 0, then to 3 again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to deploy on openshift cluster using helm chart [couchdb-helm]

Posted by "jcmluquez (via GitHub)" <gi...@apache.org>.
jcmluquez closed issue #182: Unable to deploy on openshift cluster using helm chart
URL: https://github.com/apache/couchdb-helm/issues/182


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org