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 2018/06/15 20:55:21 UTC

[GitHub] dgrove-oss commented on issue #226: CouchDB fails to start

dgrove-oss commented on issue #226: CouchDB fails to start
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/226#issuecomment-397739771
 
 
   This looks like it might be a problem running the base apache/couchdb:2.1 image in your environment.   Appended is an example of the expected logs from couchdb as it starts up.  The log from your environment is missing all of the `couchdb@couchdb0` log messages which suggests that there is something wrong very early in the process of launching couchdb.
   
   ```
   daves-mbp-3:helm dgrove$ kubectl -n openwhisk logs -lname=couchdb
   wait for CouchDB to be up and running
   + TIMEOUT=0
   + echo 'wait for CouchDB to be up and running'
   + /docker-entrypoint.sh /opt/couchdb/bin/couchdb
   ++ curl --output /dev/null --silent http://127.0.0.1:5984/_utils
   + '[' 0 -eq 30 ']'
   + echo 'waiting for CouchDB to be available'
   + sleep 2
   waiting for CouchDB to be available
   + let TIMEOUT=TIMEOUT+1
   ++ curl --output /dev/null --silent http://127.0.0.1:5984/_utils
   + '[' 1 -eq 30 ']'
   + echo 'waiting for CouchDB to be available'
   + sleep 2
   waiting for CouchDB to be available
   [info] 2018-06-15T20:48:16.227206Z couchdb@couchdb0 <0.7.0> -------- Application couch_log started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.234172Z couchdb@couchdb0 <0.7.0> -------- Application folsom started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.287256Z couchdb@couchdb0 <0.7.0> -------- Application couch_stats started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.287444Z couchdb@couchdb0 <0.7.0> -------- Application khash started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.299549Z couchdb@couchdb0 <0.7.0> -------- Application couch_event started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.307429Z couchdb@couchdb0 <0.7.0> -------- Application ibrowse started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.314547Z couchdb@couchdb0 <0.7.0> -------- Application ioq started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.314729Z couchdb@couchdb0 <0.7.0> -------- Application mochiweb started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:16.325350Z couchdb@couchdb0 <0.201.0> -------- Apache CouchDB 2.1.1 is starting.
   
   [info] 2018-06-15T20:48:16.325526Z couchdb@couchdb0 <0.202.0> -------- Starting couch_sup
   [notice] 2018-06-15T20:48:16.350034Z couchdb@couchdb0 <0.88.0> -------- config: [admins] whisk_admin set to -pbkdf2-e1f00537090772c77bda1f32e40974f1063060b6,d8b6c9fe18370b16b511c3895fcfc20b,10 for reason nil
   [notice] 2018-06-15T20:48:16.372061Z couchdb@couchdb0 <0.88.0> -------- config: [couchdb] uuid set to 4e4eaa61e576f7af5d88352cd4e84627 for reason nil
   [info] 2018-06-15T20:48:17.203563Z couchdb@couchdb0 <0.207.0> -------- open_result error {not_found,no_db_file} for _users
   [info] 2018-06-15T20:48:17.290269Z couchdb@couchdb0 <0.201.0> -------- Apache CouchDB has started. Time to relax.
   
   [info] 2018-06-15T20:48:17.290471Z couchdb@couchdb0 <0.201.0> -------- Apache CouchDB has started on http://any:5986/
   [info] 2018-06-15T20:48:17.290857Z couchdb@couchdb0 <0.7.0> -------- Application couch started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.290907Z couchdb@couchdb0 <0.7.0> -------- Application ets_lru started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.319075Z couchdb@couchdb0 <0.267.0> -------- Opening index for db: _users idx: _design/_auth sig: "3e823c2a4383ac0c18d4e574135a5b08"
   [info] 2018-06-15T20:48:17.325583Z couchdb@couchdb0 <0.7.0> -------- Application rexi started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.337552Z couchdb@couchdb0 <0.207.0> -------- open_result error {not_found,no_db_file} for _nodes
   [warning] 2018-06-15T20:48:17.337611Z couchdb@couchdb0 <0.284.0> -------- creating missing database: _nodes
   [info] 2018-06-15T20:48:17.363327Z couchdb@couchdb0 <0.207.0> -------- open_result error {not_found,no_db_file} for _dbs
   [warning] 2018-06-15T20:48:17.363381Z couchdb@couchdb0 <0.297.0> -------- creating missing database: _dbs
   [warning] 2018-06-15T20:48:17.363433Z couchdb@couchdb0 <0.296.0> -------- creating missing database: _dbs
   [info] 2018-06-15T20:48:17.372759Z couchdb@couchdb0 <0.7.0> -------- Application mem3 started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.372892Z couchdb@couchdb0 <0.7.0> -------- Application fabric started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.400240Z couchdb@couchdb0 <0.7.0> -------- Application chttpd started on node couchdb@couchdb0
   [error] 2018-06-15T20:48:17.404321Z couchdb@couchdb0 emulator -------- Error in process <0.334.0> on node 'couchdb@couchdb0' with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,378}]},{mem3_shards,load_shards_from_disk... 
   [notice] 2018-06-15T20:48:17.404410Z couchdb@couchdb0 <0.333.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
   [info] 2018-06-15T20:48:17.411802Z couchdb@couchdb0 <0.7.0> -------- Application couch_index started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.412671Z couchdb@couchdb0 <0.7.0> -------- Application couch_mrview started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.413542Z couchdb@couchdb0 <0.7.0> -------- Application couch_plugins started on node couchdb@couchdb0
   [notice] 2018-06-15T20:48:17.445552Z couchdb@couchdb0 <0.88.0> -------- config: [features] scheduler set to true for reason nil
   [info] 2018-06-15T20:48:17.465649Z couchdb@couchdb0 <0.207.0> -------- open_result error {not_found,no_db_file} for _replicator
   [notice] 2018-06-15T20:48:17.472677Z couchdb@couchdb0 <0.350.0> -------- creating replicator ddoc <<"_replicator">>
   [info] 2018-06-15T20:48:17.483419Z couchdb@couchdb0 <0.7.0> -------- Application couch_replicator started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.494571Z couchdb@couchdb0 <0.7.0> -------- Application couch_peruser started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.505727Z couchdb@couchdb0 <0.7.0> -------- Application ddoc_cache started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.522468Z couchdb@couchdb0 <0.7.0> -------- Application global_changes started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.522501Z couchdb@couchdb0 <0.7.0> -------- Application jiffy started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.529798Z couchdb@couchdb0 <0.7.0> -------- Application mango started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.537603Z couchdb@couchdb0 <0.7.0> -------- Application setup started on node couchdb@couchdb0
   [info] 2018-06-15T20:48:17.537655Z couchdb@couchdb0 <0.7.0> -------- Application snappy started on node couchdb@couchdb0
   + let TIMEOUT=TIMEOUT+1
   ++ curl --output /dev/null --silent http://127.0.0.1:5984/_utils
   [notice] 2018-06-15T20:48:17.970593Z couchdb@couchdb0 <0.317.0> ae3a11f5ae 127.0.0.1:5984 127.0.0.1 undefined GET /_utils 301 ok 36
   + '[' 2 -eq 30 ']'
   ```

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