kingledion opened a new issue, #71: URL: https://github.com/apache/couchdb-helm/issues/71
<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of Fill in as much of the template below as you can. If you leave out information, we can't help you as well. Be ready for followup questions, and please respond in a timely manner. If we can't reproduce a bug or think a feature already exists, we might close your issue. If we're wrong, PLEASE feel free to reopen it and explain why. --> **Describe the bug** The cluster setup wizard does not work in microk8s, while it does work in k3s, kind, and minikube. The setup command is ``` curl -s http://127.0.0.1:5984/_cluster_setup -X POST -H "Content-Type: application/json" -d '{"action": "finish_cluster"}' -u admin ``` executed on one of the nodes within k8s. **Version of Helm and Kubernetes**: Helm v3.6.3 Kubernetes v1.21.11 (via microk8s) **What happened**: ``` {"error":"setup_error","reason":"Cluster setup timed out waiting for nodes to connect"} ``` **What you expected to happen**: Successful completion of setup wizard, creation of `_users` and `_replication` table, etc **How to reproduce it** (as minimally and precisely as possible): Install [microk8s](https://microk8s.io/docs/getting-started) `sudo snap install microk8s --classic --channel=1.21` (you may need more to get kubectl working) Activate addons for microk8s; `dns` and `storage` are required for this config, `traefik` and `rbac` are also installed for replication ``` microk8s enable dns microk8s enable storage ``` Install CouchDB [helm chart](https://github.com/apache/couchdb-helm/tree/main/couchdb) `kubectl create secret generic cluster-couchdb --from-literal=adminUsername=admin --from-literal=adminPassword=dbpass --from-literal=cookieAuthSecret=dbcookiepass --from-literal=erlangCookie=monster` `helm install my-release couchdb/couchdb --set couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -) --version 3.6.1 -f ./values.yaml` with values.yaml like: ``` createAdminSecret: false persistentVolume: enabled: true accessModes: - ReadWriteOnce size: 10Gi # storageClass: "-" ``` I also did this with version=3.3.3 with same issue. **Anything else we need to know**: I tried on two machines, both of which were running Ubuntu 20.04. Between the two machines, I verified that this worked with all of minikube, kind and k3s. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
