-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fresh 3 Nodes cluster do not pass Fauxton GUI replica check. #130
Comments
Update: Connecting to the single node's Fauxton GUI, and doing a manaul check (connect to node 1, create db, connect to node 2, check db presence), the replication seems to work properly, only the Fauxton GUI's checkup fails on the last check. |
@urbaman what URL are you using to access Fauxton and is it routable from the CouchDB pods? |
Hi, It's behind a proxy (traefik), on couchdb service port 5984. |
broadly, I think the issue is that all replications in CouchDB are "remote" i.e. require the source and target databases to be fully qualified domain names that are routable from each CouchDB pod. Fauxton's replication check does not populate a FQDN, I believe, and relies on CouchDB's legacy (pre-clustering) behaviour:
The CouchDB bind address comes from the following in the Helm chart
so perhaps you could change it to Otherwise, you can just ignore the check given "real" replications would go through the front-end Kube service anyway. |
Hi, sorry for being late in answering. So, the three couchdb instances are actually replicated between them, even if the GUI check fails? Thank you. |
Describe the bug
Did a fresh setup:
helm repo add couchdb https://apache.github.io/couchdb-helm
helm repo update
helm install couchdb couchdb/couchdb --set persistentVolume.enabled=true --set couchdbConfig.chttpd.require_valid_user=true --set prometheusPort.enabled=true --set couchdbConfig.couchdb.uuid= --namespace couchdb --create-namespace
The cluster responds, and I can connect to single pods from una of the pods:
If I check up the cluster from the Fauxton GUI, all of the checks are good but the last one (replication), with the following error:
couchdb cluster Error: {session request failed,http://any:5984/_session,admin, {conn_failed,{error,nxdomain}}}
Is there anything I could check or setup to make it work properly?
Version of Helm and Kubernetes:
Helm 3.10.1
Kubernetes 1.28.1
What happened:
As seen above, the Fauxton GUI cluster check fails on the last check (replication)
What you expected to happen:
The check to be passed
How to reproduce it (as minimally and precisely as possible):
Install, undergo the cluster checkup trhough Fauxton GUI
Anything else we need to know:
The text was updated successfully, but these errors were encountered: