2020-11-05 09:18:08 UTC - Pavel Kravchenko: Is there a way to create Java 
action using openwhisk npm <https://www.npmjs.com/package/openwhisk>?
Seems i can't find a way to specify --main.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604567888242500?thread_ts=1604567888.242500&cid=C3TPCAQG1
----
2020-11-05 09:47:27 UTC - Keerthi Kumar S R: you need to pass `main` in `exec` 
as

```{
  kind: 'java:8'
  exec: { main }
}```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604569647242700?thread_ts=1604567888.242500&cid=C3TPCAQG1
----
2020-11-05 09:52:39 UTC - Pavel Kravchenko: Thanks!
+1 : Keerthi Kumar S R
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604569959243000?thread_ts=1604567888.242500&cid=C3TPCAQG1
----
2020-11-05 18:25:00 UTC - Brendan Doyle: is there any reason why in 
`updateInvokers` I can't just filter on `offline` invokers. Would that be too 
frequent of a rebalance if an invoker goes down or is restarted? I guess if an 
invoker is brought down or restarted for a period of time it's going to have to 
step anyways during that time from the home invoker, but I guess it would do a 
total rebalance hmmm
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604600700244700?thread_ts=1604432801.220900&cid=C3TPCAQG1
----
2020-11-05 18:43:26 UTC - Lixiang Ao: Has anyone seen this “invalid pid_mode” 
error when deploying using Ansible?
```The full traceback is:
Traceback (most recent call last):
  File 
"/home/ubuntu/.ansible/tmp/ansible-tmp-1604601087.73-224774675852006/AnsiballZ_docker_container.py",
 line 1
13, in &lt;module&gt;
    _ansiballz_main()
  File 
"/home/ubuntu/.ansible/tmp/ansible-tmp-1604601087.73-224774675852006/AnsiballZ_docker_container.py",
 line 1
05, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File 
"/home/ubuntu/.ansible/tmp/ansible-tmp-1604601087.73-224774675852006/AnsiballZ_docker_container.py",
 line 4
8, in invoke_module
    imp.load_module('__main__', mod, module, MOD_DESC)
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 2385, 
in &lt;module&gt;
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 2380, 
in main
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 1822, 
in __init__
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 1850, 
in present
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 907, in 
create_parameters
  File "/tmp/ansible_docker_container_payload_jnVXla/__main__.py", line 1020, 
in _host_config
  File 
"/home/ubuntu/.local/lib/python2.7/site-packages/docker/api/container.py", line 
157, in create_host_config
    return utils.create_host_config(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/docker/utils/utils.py", 
line 658, in create_host_config
    raise host_config_value_error('pid_mode', pid_mode)
ValueError: Invalid value for pid_mode param:
 ```
(the pid_mode param is a “\n”)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1604601806245900?thread_ts=1604601806.245900&cid=C3TPCAQG1
----

Reply via email to