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 2019/07/30 08:03:23 UTC

[GitHub] [incubator-openwhisk-devtools] pepiparaskev30 opened a new issue #276: make quick start fails - error in db

pepiparaskev30 opened a new issue #276: make quick start fails - error in db
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/276
 
 
   i tried to install openwhisk with docker compose and i faced the below 
   creating the hello.js function ...
   invoking the hello-world function ... 
   adding the function to whisk ...
   ok: created action hello
   invoking the function ...
   ok: invoked /_/hello, but the request has not yet finished, with id 993191cf891947d2b191cf891937d23f
   ok: deleted action hello
   ==> /home/devops/tmp/openwhisk/invoker/logs/invoker-local_logs.log <==
   [2019-07-30T06:27:53.018Z] [ERROR] [#tid_sid_invoker] [CouchDbRestStore] Unexpected http response code: 404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   ) [marker:database_queryView_error:5790:745]
   [2019-07-30T06:27:53.019Z] [ERROR] [#tid_sid_unknown] [InvokerReactive] error on updating the blacklist: Unexpected http response code: 404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   )
   [2019-07-30T06:27:53.188Z] [INFO] [#tid_sid_invokerWarmup] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 256 --memory 256m --memory-swap 256m --network openwhisk_default -e __OW_API_HOST=https://192.168.111.128 --name wsk0_1_prewarm_nodejs6 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --log-driver json-file openwhisk/nodejs6action:nightly (timeout: 1 minute) [marker:invoker_docker.run_start:6003]
   [2019-07-30T06:27:53.189Z] [INFO] [#tid_sid_invokerWarmup] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 256 --memory 256m --memory-swap 256m --network openwhisk_default -e __OW_API_HOST=https://192.168.111.128 --name wsk0_2_prewarm_nodejs6 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --log-driver json-file openwhisk/nodejs6action:nightly (timeout: 1 minute) [marker:invoker_docker.run_start:6005]
   [2019-07-30T06:27:56.507Z] [INFO] [#tid_sid_invokerWarmup] [DockerClientWithFileAccess]  [marker:invoker_docker.run_finish:9323:3319]
   [2019-07-30T06:27:57.162Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive]  [marker:invoker_activation_start:8713]
   [2019-07-30T06:27:57.171Z] [WARN] [#tid_sid_invokerHealth] [InvokerReactive] revision was not provided for whisk.system/invokerHealthTestAction0
   [2019-07-30T06:27:57.501Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore] [GET] 'local_whisks' finding document: 'id: whisk.system/invokerHealthTestAction0' [marker:database_getDocument_start:9046]
   [2019-07-30T06:27:57.507Z] [INFO] [#tid_sid_invokerWarmup] [DockerClientWithFileAccess]  [marker:invoker_docker.run_finish:10322:4317]
   [2019-07-30T06:27:57.532Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore]  [marker:database_getDocument_finish:9082:36]
   [2019-07-30T06:27:57.594Z] [ERROR] [#tid_sid_invokerHealth] [InvokerReactive] activation event was not sent: java.lang.IllegalStateException: key 'kind' does not exist
   [2019-07-30T06:27:57.617Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore] [PUT] 'local_activations' saving document: 'id: whisk.system/6b0bcc1e87cc4c978bcc1e87cc4c9754, rev: null' [marker:database_saveDocument_start:9168]
   [2019-07-30T06:27:57.621Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:10437]
   [2019-07-30T06:27:57.707Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive] posted completion of activation 6b0bcc1e87cc4c978bcc1e87cc4c9754
   [2019-07-30T06:27:57.769Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive]  [marker:invoker_activation_start:9319]
   [2019-07-30T06:27:57.770Z] [WARN] [#tid_sid_invokerHealth] [InvokerReactive] revision was not provided for whisk.system/invokerHealthTestAction0
   [2019-07-30T06:27:57.770Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore] [GET] 'local_whisks' finding document: 'id: whisk.system/invokerHealthTestAction0' [marker:database_getDocument_start:9320]
   [2019-07-30T06:27:57.797Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore]  [marker:database_getDocument_finish:9347:27]
   [2019-07-30T06:27:57.804Z] [ERROR] [#tid_sid_invokerHealth] [InvokerReactive] activation event was not sent: java.lang.IllegalStateException: key 'kind' does not exist
   [2019-07-30T06:27:57.808Z] [INFO] [#tid_sid_invokerHealth] [CouchDbRestStore] [PUT] 'local_activations' saving document: 'id: whisk.system/3c644249e1654c84a44249e1653c8403, rev: null' [marker:database_saveDocument_start:9358]
   [2019-07-30T06:27:57.808Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:10625]
   [2019-07-30T06:27:57.817Z] [ERROR] [#tid_sid_dbBatcher] [CouchDbRestStore] 'local_activations' failed to put documents, http status: '404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   )' [marker:database_saveDocumentBulk_error:10631:194]
   [2019-07-30T06:27:57.817Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive] posted completion of activation 3c644249e1654c84a44249e1653c8403
   [2019-07-30T06:27:57.818Z] [ERROR] [#tid_sid_invokerHealth] [ArtifactActivationStore] failed to record activation 6b0bcc1e87cc4c978bcc1e87cc4c9754 with error Unexpected http response code: 404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   )
   [2019-07-30T06:27:57.831Z] [ERROR] [#tid_sid_dbBatcher] [CouchDbRestStore] 'local_activations' failed to put documents, http status: '404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   )' [marker:database_saveDocumentBulk_error:10648:23]
   [2019-07-30T06:27:57.831Z] [ERROR] [#tid_sid_invokerHealth] [ArtifactActivationStore] failed to record activation 3c644249e1654c84a44249e1653c8403 with error Unexpected http response code: 404 Not Found (details: {"error":"not_found","reason":"Database does not exist."}
   )
   [2019-07-30T06:32:52.237Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:305053]
   [2019-07-30T06:32:52.389Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:305206:153]
   [2019-07-30T06:32:52.390Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T06:33:32.128Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [InvokerReactive]  [marker:invoker_activation_start:113]
   [2019-07-30T06:33:32.220Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [WhiskAction] [GET] serving from datastore: CacheKey(guest/hello) [marker:database_cacheMiss_counter:205]
   [2019-07-30T06:33:32.220Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [CouchDbRestStore] [GET] 'local_whisks' finding document: 'id: guest/hello, rev: 1-c39881c48581641ca181d37e33a91629' [marker:database_getDocument_start:206]
   [2019-07-30T06:33:32.272Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [CouchDbRestStore]  [marker:database_getDocument_finish:257:51]
   [2019-07-30T06:33:32.336Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(guest/hello), tid XXXCqKpkitehykLrLrCNur31cu8HvhKG, state WriteInProgress
   [2019-07-30T06:33:32.342Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [WhiskAction] write all done, caching CacheKey(guest/hello) Cached
   [2019-07-30T06:33:32.365Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 256 --memory 256m --memory-swap 256m --network openwhisk_default -e __OW_API_HOST=https://192.168.111.128 --name wsk0_3_guest_hello --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --log-driver json-file openwhisk/action-nodejs-v10:nightly (timeout: 1 minute) [marker:invoker_docker.run_start:351]
   [2019-07-30T06:33:32.367Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [ContainerPool] containerStart containerState: cold container: None activations: 1 of max 1 action: hello namespace: guest activationId: 91b0ea8465e94ce2b0ea8465e94ce2b1 [marker:invoker_containerStart.cold_counter:353]
   [2019-07-30T06:34:32.395Z] [ERROR] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [DockerClientWithFileAccess] info: command was terminated, took longer than 1 minute, code: 143 (terminated by signal SIGTERM), stdout: , stderr: Unable to find image 'openwhisk/action-nodejs-v10:nightly' locally
   nightly: Pulling from openwhisk/action-nodejs-v10
   c5e155d5a1d1: Pulling fs layer
   221d80d00ae9: Pulling fs layer
   4250b3117dca: Pulling fs layer
   3b7ca19181b2: Pulling fs layer
   425d7b2a5bcc: Pulling fs layer
   69df12c70287: Pulling fs layer
   ad53476a61f2: Pulling fs layer
   204bb8bac4a1: Pulling fs layer
   1891112c52f1: Pulling fs layer
   fe6b742cd989: Pulling fs layer
   4deb689367e0: Pulling fs layer
   616c7559716b: Pulling fs layer
   45af35197726: Pulling fs layer
   204bb8bac4a1: Waiting
   1891112c52f1: Waiting
   fe6b742cd989: Waiting
   4deb689367e0: Waiting
   616c7559716b: Waiting
   45af35197726: Waiting
   3b7ca19181b2: Waiting
   425d7b2a5bcc: Waiting
   69df12c70287: Waiting
   ad53476a61f2: Waiting
   4250b3117dca: Verifying Checksum
   4250b3117dca: Download complete
   221d80d00ae9: Verifying Checksum
   221d80d00ae9: Download complete [marker:invoker_docker.run_error:60381:60030]
   [2019-07-30T06:34:32.408Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [CouchDbRestStore] [PUT] 'local_activations' saving document: 'id: guest/91b0ea8465e94ce2b0ea8465e94ce2b1, rev: null' [marker:database_saveDocument_start:60394]
   [2019-07-30T06:34:32.409Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:405225]
   [2019-07-30T06:34:32.412Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [InvokerReactive] posted completion of activation 91b0ea8465e94ce2b0ea8465e94ce2b1
   [2019-07-30T06:34:32.460Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:405277:51]
   [2019-07-30T06:34:32.475Z] [INFO] [#tid_XXXCqKpkitehykLrLrCNur31cu8HvhKG] [CouchDbRestStore]  [marker:database_saveDocument_finish:60461:67]
   [2019-07-30T06:37:52.257Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:605073]
   [2019-07-30T06:37:52.285Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:605102:29]
   [2019-07-30T06:37:52.286Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T06:42:52.287Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:905103]
   [2019-07-30T06:42:52.317Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:905134:31]
   [2019-07-30T06:42:52.317Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T06:47:52.307Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:1205123]
   [2019-07-30T06:47:52.350Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:1205167:43]
   [2019-07-30T06:47:52.350Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T06:52:52.328Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:1505144]
   [2019-07-30T06:52:52.358Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:1505175:31]
   [2019-07-30T06:52:52.358Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T06:57:52.347Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:1805163]
   [2019-07-30T06:57:52.375Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:1805192:29]
   [2019-07-30T06:57:52.376Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T07:02:52.378Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:2105193]
   [2019-07-30T07:02:52.476Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore]  [marker:database_queryView_finish:2105293:99]
   [2019-07-30T07:02:52.477Z] [INFO] [#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries
   [2019-07-30T07:07:52.398Z] [INFO] [#tid_sid_invoker] [CouchDbRestStore] [QUERY] 'local_subjects' searching 'namespaceThrottlings/blockedNamespaces [marker:database_queryView_start:2405214]
   [2019-07-30T07:07:52.436Z] [INFO] [#tid_sid_invoker] [CouchDb...

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services