2020-03-10 00:01:36 UTC - Rodric Rabbah: should be https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583798496244900 ---- 2020-03-10 01:30:03 UTC - Jiang PengCheng: seems you are using ES 7.x, but as the PR used `elastic4s:6.7.4` , there might be some compatible issues https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583803803245000?thread_ts=1583435988.200500&cid=C3TPCAQG1 ---- 2020-03-10 01:46:47 UTC - Yinkang Huang: I deploy it following this: <https://github.com/apache/openwhisk/blob/master/ansible/README.md> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583804807245700?thread_ts=1583763390.237000&cid=C3TPCAQG1 ---- 2020-03-10 01:48:27 UTC - Yinkang Huang: I got a lot of ports on docker containers, I don't know which I should use. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583804907246000?thread_ts=1583763390.237000&cid=C3TPCAQG1 ---- 2020-03-10 02:54:48 UTC - Yinkang Huang: I got that, the nginx had problems and stopped... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583808888246500?thread_ts=1583763390.237000&cid=C3TPCAQG1 ---- 2020-03-10 02:55:10 UTC - Yinkang Huang: After I redeploy, it works fine. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583808910246700?thread_ts=1583763390.237000&cid=C3TPCAQG1 ---- 2020-03-10 03:26:00 UTC - Yinkang Huang: does openwhisk provide web UI now? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583810760247500 ---- 2020-03-10 06:10:07 UTC - Rekha: zip -r dbConnect.zip __main__.py /usr/lib64/python2.7/site-packages/psycopg2-2.7.7/* https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583820607247600?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 06:10:36 UTC - Rekha: @Bilal this is the command used to zip file https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583820636247800?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 14:09:05 UTC - Bilal: Ah, you need to include an entire virtualenv directory inside your ZIP https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583849345248000?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 14:09:40 UTC - Bilal: <https://github.com/apache/openwhisk/blob/master/docs/actions-python.md#packaging-python-actions-with-a-virtual-environment-in-zip-files> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583849380248200?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 14:12:10 UTC - Bilal: You need a requirements.txt listing psycopg2 and run this command ```docker run --rm -v "$PWD:/tmp" openwhisk/python3action bash \ -c "cd tmp && virtualenv virtualenv && source virtualenv/bin/activate && pip install -r requirements.txt"``` This spins up the python3 runtime used by openwhisk and saves a `virtualenv` directory to your disk. You must zip that entire directory with your action. ```zip -r helloPython.zip virtualenv __main__.py```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583849530248400?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 14:14:51 UTC - Bilal: Oh, you're using python2, so you'd want to run the python2 docker container. `openwhisk/python2action` in the above docker run command https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583849691248600?thread_ts=1583752809.234700&cid=C3TPCAQG1 ---- 2020-03-10 14:21:40 UTC - Bilal: ```whisk: containerPool: userMemory: "32768m"``` You'd need enough memory to also run those concurrent actions. I think default is 256m per container. Of course the memory value you set depends on the specs of your kube cluster. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583850100248800?thread_ts=1583797092.244600&cid=C3TPCAQG1 ---- 2020-03-10 14:47:12 UTC - Rodric Rabbah: there isn’t an apache UI for openwhisk there is the playground, which is a light weight interface to creating and invoking actions, exporting web url you can see this when you then standalone controller for example or here <https://apigcp.nimbella.io/wb> there is also the open source <https://github.com/kui-shell/oui> which we’ve adapted here <https://apigcp.nimbella.io/wb> there isn’t a project supported ui https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583851632250400 ---- 2020-03-10 15:00:40 UTC - Bilal: @Jiang PengCheng Yup, that solved the issue, using elasticsearch 6.7.2 as listed here <https://github.com/apache/openwhisk/blob/12b2b76d4bef3e7c2bd990cc441e31cb3d3046be/ansible/group_vars/all#L315> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583852440250800?thread_ts=1583435988.200500&cid=C3TPCAQG1 ---- 2020-03-10 18:07:08 UTC - Tom Barber: yeah, i saw that. Thats like the entire pool available to actions, right? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583863628251000?thread_ts=1583797092.244600&cid=C3TPCAQG1 ---- 2020-03-10 18:09:05 UTC - Bilal: Yea that's all the memory available to actions. My cluster is 3 nodes, got 64gb mem on each machine/node. I do share this kubecluster so I limited to 32g for my openwhsik. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583863745251200?thread_ts=1583797092.244600&cid=C3TPCAQG1 ---- 2020-03-10 20:43:21 UTC - Siddharth Lanka: Hi guys, I’m not really sure if this is the right question for this channel but I’m happy to move it to another channel if needed. I’m trying to setup the kafka openwhisk package(<https://github.com/apache/openwhisk-package-kafka>) and configure a trigger to listen to an event stream instance in IBM. I have setup openwhisk with docker-compose on Ubuntu 18.04. I’m able to bind the package to my event stream instance on IBM but I’m unable to create the trigger and running into a few issues there. This seems to be like a javascript issue which one of the functions is based on. I notice that the package.json files are empty and do not have any dependencies mentioned for the respective functions. Will be great if I get some help for this! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583873001254100?thread_ts=1583873001.254100&cid=C3TPCAQG1 ----