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 2021/03/30 18:38:14 UTC
[GitHub] [openwhisk-devtools] fishercht1995 opened a new issue #329: Openwhisk install failed since last next
fishercht1995 opened a new issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329
```Since last week, I can not install openwhisk. I guess maybe the reason is openwhisk repository updates a healthManager at 3/22. The following is the message when I make file by "make quick-start". Does anyone know how to fix it? My VM is from cloudlab, Ubuntu 18.04```
Unpacking tarball.
downloading the CLI tool ...
downloading cli for linux
nightly: Pulling from openwhisk/controller
Digest: sha256:7456ee370096e24872780d7484910906bcd08154f1610374ce67fcf76687602d
Status: Image is up to date for openwhisk/controller:nightly
docker.io/openwhisk/controller:nightly
nightly: Pulling from openwhisk/nodejs6action
Digest: sha256:f36f93c2ce7a8c98b7a966e520e0e8eecc8ddeec44471e6ae76b433fc16640a7
Status: Image is up to date for openwhisk/nodejs6action:nightly
docker.io/openwhisk/nodejs6action:nightly
nightly: Pulling from openwhisk/dockerskeleton
Digest: sha256:b773b7ed096041ac1bbbf5d8bbe06b4812199607720cb409c8453444cd2dec21
Status: Image is up to date for openwhisk/dockerskeleton:nightly
docker.io/openwhisk/dockerskeleton:nightly
pulling the docker images short list...
nightly: Pulling from openwhisk/invoker
Digest: sha256:19a0867d02b37ef95d87dc195eab3688346ad6a32da57d43c640a3d7b01435d6
Status: Image is up to date for openwhisk/invoker:nightly
docker.io/openwhisk/invoker:nightly
host ip address: 128.105.145.246
checking required ports ...
... OK
... preparing api-gateway configuration
pinging minio...
Creating openwhisk_minio_1 ... done
... OK
generating server certificate request
Can't load /users/yuqi15/.rnd into RNG
140295094493632:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/users/yuqi15/.rnd
generating self-signed password-less server certificate
Signature ok
subject=C = US, ST = NY, L = Yorktown, O = OpenWhisk, CN = 128.105.145.246
Getting Private key
generate keystore
Waiting till all containers are powered up...
openwhisk_minio_1 is up-to-date
Creating openwhisk_redis_1 ...
Creating openwhisk_redis_1 ... done
Creating openwhisk_zookeeper_1 ... done
Creating openwhisk_db_1 ... done
Creating openwhisk_kafka_1 ... done
Creating openwhisk_invoker_1 ... done
Creating openwhisk_kafka-rest_1 ... done
Creating openwhisk_controller_1 ... done
Creating openwhisk_kafka-topics-ui_1 ... done
Creating openwhisk_apigateway_1 ... done
... OK: all containers up!
waiting for the database to come up ... on 128.105.145.246
initializing the database ... on 128.105.145.246
Setting up db using ansible container....
Unable to find image 'ddragosd/ansible:2.4.0.0-debian8' locally
2.4.0.0-debian8: Pulling from ddragosd/ansible
aa18ad1a0d33: Pull complete
783caa45f35f: Pull complete
Digest: sha256:ec8b0ae43e1a850b26c5f87b7dd0b93b304eaa98dbaa99a33aebd4599d97a11f
Status: Downloaded newer image for ddragosd/ansible:2.4.0.0-debian8
[WARNING]: Unable to parse /openwhisk/ansible/environments/local as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
PLAY [localhost] ***************************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************
Tuesday 30 March 2021 18:32:54 +0000 (0:00:00.051) 0:00:00.051 *********
ok: [localhost]
TASK [gen hosts if 'local' env is used] ****************************************************************************************************************
Tuesday 30 March 2021 18:33:01 +0000 (0:00:06.937) 0:00:06.989 *********
changed: [localhost -> localhost]
TASK [find the ip of docker-machine] *******************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.687) 0:00:07.677 *********
skipping: [localhost]
TASK [get the docker-machine ip] ***********************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.032) 0:00:07.709 *********
skipping: [localhost]
TASK [gen hosts for docker-machine] ********************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.042) 0:00:07.751 *********
skipping: [localhost]
TASK [gen hosts for Jenkins] ***************************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.038) 0:00:07.790 *********
skipping: [localhost]
TASK [check if db_local.ini exists?] *******************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.034) 0:00:07.824 *********
ok: [localhost]
TASK [prepare db_local.ini] ****************************************************************************************************************************
Tuesday 30 March 2021 18:33:02 +0000 (0:00:00.188) 0:00:08.013 *********
changed: [localhost -> localhost]
TASK [gen untrusted server certificate for host] *******************************************************************************************************
Tuesday 30 March 2021 18:33:03 +0000 (0:00:00.346) 0:00:08.360 *********
changed: [localhost -> localhost]
TASK [gen untrusted client certificate for host] *******************************************************************************************************
Tuesday 30 March 2021 18:33:04 +0000 (0:00:01.017) 0:00:09.377 *********
changed: [localhost -> localhost]
TASK [clean up old kafka keystore] *********************************************************************************************************************
Tuesday 30 March 2021 18:33:05 +0000 (0:00:01.015) 0:00:10.392 *********
skipping: [localhost]
TASK [ensure kafka files directory exists] *************************************************************************************************************
Tuesday 30 March 2021 18:33:05 +0000 (0:00:00.038) 0:00:10.431 *********
skipping: [localhost]
TASK [generate kafka certificates] *********************************************************************************************************************
Tuesday 30 March 2021 18:33:05 +0000 (0:00:00.042) 0:00:10.473 *********
skipping: [localhost]
TASK [ensure controller files directory exists] ********************************************************************************************************
Tuesday 30 March 2021 18:33:05 +0000 (0:00:00.042) 0:00:10.516 *********
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'controller.protocol == 'https'' failed. The error was: {u'protocol': u\"{{ controller_protocol | default('https') }}\", u'extraEnv': u'{{ controller_extraEnv | default({}) }}', u'dir': {u'become': u'{{ controller_dir_become | default(false) }}'}, u'ssl': {u'keystore': {u'password': u'openwhisk', u'name': u'{{ __controller_ssl_keyPrefix }}openwhisk-keystore.p12'}, u'cert': u'{{ __controller_ssl_keyPrefix }}openwhisk-server-cert.pem', u'cn': u'openwhisk-controllers', u'key': u'{{ __controller_ssl_keyPrefix }}openwhisk-server-key.pem', u'keyPrefix': u'{{ __controller_ssl_keyPrefix }}', u'clientAuth': u\"{{ controller_client_auth | default('true') }}\", u'storeFlavor': u'PKCS12'}, u'heap': u\"{{ controller_heap | default('2g') }}\", u'managedFraction': u'{{ controller_managed_fraction | default(1.0 - (controller_blackbox_fraction | default(__controller_blackbox_fraction))) }}', u'entitlement': {u'spi': u\"{
{ controller_entitlement_spi | default('') }}\"}, u'instances': u\"{{ groups['controllers'] | length }}\", u'loglevel': u\"{{ controller_loglevel | default(whisk_loglevel) | default('INFO') }}\", u'timeoutFactor': u'{{ controller_timeout_factor | default(2) }}', u'blackboxFraction': u'{{ controller_blackbox_fraction | default(__controller_blackbox_fraction) }}', u'confdir': u'{{ config_root_dir }}/controller', u'authentication': {u'spi': u\"{{ controller_authentication_spi | default('') }}\"}, u'arguments': u\"{{ controller_arguments | default('') }}\", u'timeoutAddon': u\"{{ controller_timeout_addon | default('1 m') }}\", u'basePort': 10001, u'akka': {u'cluster': {u'bindPort': 2551, u'basePort': 8000, u'host': u\"{{ groups['controllers'] | map('extract', hostvars, 'ansible_host') | list }}\", u'seedNodes': u\"{{ groups['controllers'] | map('extract', hostvars, 'ansible_host') | list }}\"}, u'provider': u'cluster'}, u'loadbalancer': {u'spi': u\"{{ controller_loadbalancer_spi | defau
lt('') }}\"}}: template error while templating string: expected token ',', got 'second'. String: {{ scheduler_dataManagementService_retryInterval | default(1 second) }}\n\nThe error appears to have been in '/openwhisk/ansible/setup.yml': line 89, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # Generate Controller certificates\n - name: ensure controller files directory exists\n ^ here\n"}
The conditional check 'controller.protocol == 'https'' failed. The error
was: {u'protocol': u"{{ controller_protocol | default('https') }}", u'extraEnv':
u'{{ controller_extraEnv | default({}) }}', u'dir': {u'become': u'{{
controller_dir_become | default(false) }}'}, u'ssl': {u'keystore': {u'password':
u'openwhisk', u'name': u'{{ __controller_ssl_keyPrefix }}openwhisk-
keystore.p12'}, u'cert': u'{{ __controller_ssl_keyPrefix }}openwhisk-server-
cert.pem', u'cn': u'openwhisk-controllers', u'key': u'{{
__controller_ssl_keyPrefix }}openwhisk-server-key.pem', u'keyPrefix': u'{{
__controller_ssl_keyPrefix }}', u'clientAuth': u"{{ controller_client_auth |
default('true') }}", u'storeFlavor': u'PKCS12'}, u'heap': u"{{ controller_heap |
default('2g') }}", u'managedFraction': u'{{ controller_managed_fraction |
default(1.0 - (controller_blackbox_fraction |
default(__controller_blackbox_fraction))) }}', u'entitlement': {u'spi': u"{{
controller_entitlement_spi | default('') }}"}, u'instances': u"{{
groups['controllers'] | length }}", u'loglevel': u"{{ controller_loglevel |
default(whisk_loglevel) | default('INFO') }}", u'timeoutFactor': u'{{
controller_timeout_factor | default(2) }}', u'blackboxFraction': u'{{
controller_blackbox_fraction | default(__controller_blackbox_fraction) }}',
u'confdir': u'{{ config_root_dir }}/controller', u'authentication': {u'spi':
u"{{ controller_authentication_spi | default('') }}"}, u'arguments': u"{{
controller_arguments | default('') }}", u'timeoutAddon': u"{{
controller_timeout_addon | default('1 m') }}", u'basePort': 10001, u'akka':
{u'cluster': {u'bindPort': 2551, u'basePort': 8000, u'host': u"{{
groups['controllers'] | map('extract', hostvars, 'ansible_host') | list }}",
u'seedNodes': u"{{ groups['controllers'] | map('extract', hostvars,
'ansible_host') | list }}"}, u'provider': u'cluster'}, u'loadbalancer': {u'spi':
u"{{ controller_loadbalancer_spi | default('') }}"}}: template error while
templating string: expected token ',', got 'second'. String: {{
scheduler_dataManagementService_retryInterval | default(1 second) }} The error
appears to have been in '/openwhisk/ansible/setup.yml': line 89, column 5, but
may be elsewhere in the file depending on the exact syntax problem. The
offending line appears to be: # Generate Controller certificates - name:
ensure controller files directory exists ^ here
PLAY RECAP *********************************************************************************************************************************************
localhost : ok=6 changed=4 unreachable=0 failed=1
Tuesday 30 March 2021 18:33:05 +0000 (0:00:00.258) 0:00:10.774 *********
===============================================================================
Gathering Facts --------------------------------------------------------------------------------------------------------------------------------- 6.94s
gen untrusted server certificate for host ------------------------------------------------------------------------------------------------------- 1.02s
gen untrusted client certificate for host ------------------------------------------------------------------------------------------------------- 1.02s
gen hosts if 'local' env is used ---------------------------------------------------------------------------------------------------------------- 0.69s
prepare db_local.ini ---------------------------------------------------------------------------------------------------------------------------- 0.35s
ensure controller files directory exists -------------------------------------------------------------------------------------------------------- 0.26s
check if db_local.ini exists? ------------------------------------------------------------------------------------------------------------------- 0.19s
generate kafka certificates --------------------------------------------------------------------------------------------------------------------- 0.04s
ensure kafka files directory exists ------------------------------------------------------------------------------------------------------------- 0.04s
get the docker-machine ip ----------------------------------------------------------------------------------------------------------------------- 0.04s
gen hosts for docker-machine -------------------------------------------------------------------------------------------------------------------- 0.04s
clean up old kafka keystore --------------------------------------------------------------------------------------------------------------------- 0.04s
gen hosts for Jenkins --------------------------------------------------------------------------------------------------------------------------- 0.03s
find the ip of docker-machine ------------------------------------------------------------------------------------------------------------------- 0.03s
Makefile:349: recipe for target 'init-couchdb' failed
make: *** [init-couchdb] Error 2
--
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
[GitHub] [openwhisk-devtools] dgrove-oss closed issue #329: Openwhisk install failed since last week
Posted by GitBox <gi...@apache.org>.
dgrove-oss closed issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329
--
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
[GitHub] [openwhisk-devtools] rabbah commented on issue #329: Openwhisk install failed since last week
Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329#issuecomment-817186966
This is fixed by the linked PR.
A workaround, if you have a local checkout of openwhisk is to rebase the PR above and then run with
`OPENWHISK_PROJECT_HOME=/path/to/you/openwhisk make quickstart`
--
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
[GitHub] [openwhisk-devtools] rabbah commented on issue #329: Openwhisk install failed since last week
Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329#issuecomment-817143071
I've reproduced this failure.
--
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
[GitHub] [openwhisk-devtools] LinG955 commented on issue #329: Openwhisk install failed since last week
Posted by GitBox <gi...@apache.org>.
LinG955 commented on issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329#issuecomment-816464208
It's the same problem that I have, and I can't solve it
--
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
[GitHub] [openwhisk-devtools] LinG955 edited a comment on issue #329: Openwhisk install failed since last week
Posted by GitBox <gi...@apache.org>.
LinG955 edited a comment on issue #329:
URL: https://github.com/apache/openwhisk-devtools/issues/329#issuecomment-816464208
It's the same problem that I have, but I can't solve it
--
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