tudordumitriu opened a new issue #3124:
URL: https://github.com/apache/couchdb/issues/3124


   [NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ 
)
   
   ## Description
   We have a kubernetes couchdb 3 nodes cluster deployed into azure aks.
   There are around 10 dbs with an average of 100 docs per database 
   After deploying a fresh cluster using the existing databases (using the 
standard docker image https://github.com/apache/couchdb-docker) 3.1.0 and 
re-initializing the cluster (attached file couch.cluster.config.sh) after few 
minutes of usage from various services / clients we are getting the "No DB 
shards could be opened" error.
   
   General mentions:
   On a local dev k8s cluster the same setup works perfectly (same 
images/process)
   We did try some of the settings suggested in 
https://github.com/apache/couchdb/issues/796 (except the last one 
/etc/systemd/system/couchdb.d/override.conf but in a built docker couch image 
is harder to do that and checked the ulimit -n and seems pretty high)
   We are overriding local.ini on prestart with the attached file
   
[local.ini.txt](https://github.com/apache/couchdb/files/5160180/local.ini.txt)
   
   Judging from the couch cluster error logs doesn't seem to be a resource 
problem but a auth issue (the logs are attached)
   The general k8s cluster CPU seems high but not used by the couch machines
   
   ## Steps to Reproduce
   Deploy new k8s cluster in azure aks
   Configure the cluster using script
   Generic API query / Fauxton admin usage (that crashes too with Database 
unavailable but after refresh appears ok which leads to the fact that the 
cluster nodes were not synced properly I think)
   
   ## Expected Behaviour
   -
   [NOTE]: # ( Tell us what you expected to happen. )
   
   ## Your Environment
   Azure AKS 3 nodes cluster
   
   [TIP]:  # ( Include as many relevant details about your environment as 
possible. )
   [TIP]:  # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. 
)
   
   * CouchDB version used: 3.1.0
   * Browser name and version: Not relevant
   * Operating system and version: Azure
   
   
   
   ## Additional Context (logs, scripts and config files)
   [couch2.log](https://github.com/apache/couchdb/files/5160175/couch2.log)
   [couch0.log](https://github.com/apache/couchdb/files/5160176/couch0.log)
   [couch1.log](https://github.com/apache/couchdb/files/5160177/couch1.log)
   
[local.ini.txt](https://github.com/apache/couchdb/files/5160184/local.ini.txt)
   
[couch.cluster.config.sh.txt](https://github.com/apache/couchdb/files/5160172/couch.cluster.config.sh.txt)
   
   
   
   
   [TIP]:  # ( Add any other context about the problem here. )
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to