2021-11-05 06:17:52 UTC - Jesse Stutler: Hi, I’m trying to deploy openwhisk on 
multiple nodes by using ansible. Why there is no doc teaching how to deploy on 
multiple nodes in 
<https://github.com/apache/openwhisk/blob/master/ansible/README.md>? I tried to 
follow this issue   <https://github.com/apache/openwhisk/issues/4905> but got 
following error when implementing setup.yml :
```TASK [ensure invoker files directory exists] 
************************************************
Friday 05 November 2021  06:05:55 +0000 (0:00:00.428)       0:00:05.728 *******
fatal: [localhost]: FAILED! =&gt; {"msg": "The conditional check 
'invoker.protocol == 'https'' failed. The error was: error while evaluating 
conditional (invoker.protocol == 'https'): AnsibleMapping([('dir', 
AnsibleMapping([('become', '{{ invoker_dir_become | default(false) }}')])), 
('confdir', '{{ config_root_dir }}/invoker'), ('port', 12001), ('heap', \"{{ 
invoker_heap | default('2g') }}\"), ('arguments', \"{{ invoker_arguments | 
default('') }}\"), ('userMemory', \"{{ invoker_user_memory | default('2048m') 
}}\"), ('allowMultipleInstances', '{{ invoker_allow_multiple_instances | 
default(false) }}'), ('useRunc', '{{ invoker_use_runc | default(true) }}'), 
('docker', AnsibleMapping([('become', '{{ invoker_docker_become | 
default(false) }}'), ('runcdir', \"{{ invoker_runcdir | 
default('/run/docker/runtime-runc/moby') }}\"), ('volumes', '{{ 
invoker_docker_volumes | default([]) }}')])), ('loglevel', \"{{ 
invoker_loglevel | default(whisk_loglevel) | default('INFO') }}\"), 
('jmxremote', AnsibleMapping([('jvmArgs', \"{% if inventory_hostname in 
groups['invokers'] %} {{ jmx.jvmCommonArgs }} -Djava.rmi.server.hostname={{ 
invokerHostname }} -Dcom.sun.management.jmxremote.rmi.port={{ 
jmx.rmiBasePortInvoker + groups['invokers'].index(inventory_hostname) }} 
-Dcom.sun.management.jmxremote.port={{ jmx.basePortInvoker + 
groups['invokers'].index(inventory_hostname) }} {% endif %}\")])), ('extraEnv', 
'{{ invoker_extraEnv | default({}) }}'), ('protocol', \"{{ invoker_protocol | 
default('https') }}\"), ('ssl', AnsibleMapping([('cn', 'openwhisk-invokers'), 
('keyPrefix', '{{ __invoker_ssl_keyPrefix }}'), ('storeFlavor', 'PKCS12'), 
('clientAuth', \"{{ invoker_client_auth | default('true') }}\"), ('cert', '{{ 
__invoker_ssl_keyPrefix }}openwhisk-server-cert.pem'), ('key', '{{ 
__invoker_ssl_keyPrefix }}openwhisk-server-key.pem'), ('keystore', 
AnsibleMapping([('password', \"{{ invoker_keystore_password | 
default('openwhisk') }}\"), ('name', '{{ __invoker_ssl_keyPrefix 
}}openwhisk-keystore.p12')]))])), ('reactiveSpi', \"{{ invokerReactive_spi | 
default('') }}\"), ('serverSpi', \"{{ invokerServer_spi | default('') }}\")]): 
{{ invokerHostnameFromMap | default(inventory_hostname) }}```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1636093072045400?thread_ts=1636093072.045400&cid=C3TPCAQG1
----

Reply via email to