You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by OpenWhisk Team Slack <ra...@apache.org> on 2019/11/12 09:21:57 UTC

[slack-digest] [2019-11-11] #general

2019-11-11 00:56:27 UTC - Jiang PengCheng: clearly that you need to install npm on your host, I'm not familiar with the vagrant way to deploy openwhisk, not sure whether it install the npm package automatically or not
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573433787241200?thread_ts=1573433787.241200&cid=C3TPCAQG1
----
2019-11-11 01:09:11 UTC - Rodric Rabbah: these warnings should be safe to ignore
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573434551241300?thread_ts=1573304037.237300&cid=C3TPCAQG1
----
2019-11-11 08:57:30 UTC - Andrea Scuderi: Hi all!
wave : Dominic Kim, mmarth, Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573462650241900
----
2019-11-11 09:16:54 UTC - Bill Zong: Hi Andrea :slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573463814242900
----
2019-11-11 09:23:17 UTC - Dominic Kim: Welcome @Andrea Scuderi
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573464197243400
----
2019-11-11 09:29:42 UTC - Andrea Scuderi: Thanks!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573464582243600
----
2019-11-11 11:01:09 UTC - Ajoy Agarwal: I want to manage it directly
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573470069243800?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 11:02:08 UTC - Ajoy Agarwal: This is the error I am getting while using docker compose option
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573470128244000?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 11:03:11 UTC - Ajoy Agarwal: I have run the following commands
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573470191244400?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 11:03:13 UTC - Ajoy Agarwal: $ git clone <https://github.com/apache/openwhisk-devtools.git>
$ cd openwhisk-devtools/docker-compose
$ make quick-start
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573470193244600?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 11:17:00 UTC - Michele Sciabarra: Hello All, I am trying to build support for swift 5.1
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573471020245100
----
2019-11-11 11:17:18 UTC - Michele Sciabarra: I have issues with the very old v3.1.1 is it still supported?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573471038245500
----
2019-11-11 11:18:01 UTC - Michele Sciabarra: I cannot even build it anymore
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573471081246300
----
2019-11-11 11:31:45 UTC - chetanm: What's your docker and docker compose version . May be update it to latest and try
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573471905246600?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 11:57:44 UTC - Ajoy Agarwal: I laready have latest version 1.17.1-2
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573473464246800?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:06:41 UTC - Ajoy Agarwal: Now getting a different error but it looks like it is again related to docker-compose itself. I have reinstalled docker-compose.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573477601247100?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:07:01 UTC - Ajoy Agarwal: Does any one has any clue why I am getting this error?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573477621247500?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:42:59 UTC - Ajoy Agarwal: Finally installed it. Thanks everyone whosoever replied to my queries
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573479779248400?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:46:35 UTC - Rodric Rabbah: great @Ajoy Agarwal
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573479995248600?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:46:58 UTC - Rodric Rabbah: what can we do to update the docs etc based on your experience
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573480018248800?thread_ts=1572861645.180700&cid=C3TPCAQG1
----
2019-11-11 13:47:30 UTC - Rodric Rabbah: i think we dropped it
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573480050249300
----
2019-11-11 13:49:34 UTC - giusdp: I did install it but it didn't fix it
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573480174249500?thread_ts=1573433787.241200&cid=C3TPCAQG1
----
2019-11-11 13:50:15 UTC - giusdp: I think I'll try another way to deploy it
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573480215249700?thread_ts=1573433787.241200&cid=C3TPCAQG1
----
2019-11-11 13:54:06 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/8946f5bfe08f72ec9df29aa80670389e77e700db/ansible/files/runtimes.json#L110> only including 4
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573480446250300
----
2019-11-11 15:40:52 UTC - Waqar Muhammad: Hi, i am trying to create the docker image to create a docker action but for some reason it always keeps failing, it says that module cython not found (while trying to install scikit-learn) if possible can anyone tell me the mistake in the docker file please.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573486852252000
----
2019-11-11 15:41:22 UTC - Waqar Muhammad: 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573486882252100
----
2019-11-11 15:43:12 UTC - Waqar Muhammad: this is the error i am getting
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573486992252900
----
2019-11-11 16:13:48 UTC - Waqar Muhammad: I tried installing cython as well but after installing it, its not installing any other libs
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573488828254100
----
2019-11-11 19:59:56 UTC - Shawn Black: Maybe try updating your requirements.txt to include Cython?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573502396254600
----
2019-11-11 20:03:12 UTC - Shawn Black: Or try scikit-learn rather than sklearn
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573502592255000
----
2019-11-11 20:55:24 UTC - Houman Kamali: @Olivier Tardieu @Rodric Rabbah Thanks for the final remarks regarding retry mechanism with backoff and interval.

As a first step, I was looking into `Composer` for Node.JS to implement a simple retry without any backoff/interval.

I know it is possible to deploy the action using Composer's `compose` and then `deploy` command.

I checked the output of `compose` and it is an AST, so I am assuming there is another processing level that converts that AST into a final OpenWhisk Sequence cloud function in JavaScript.

My question is that if there's a command that would output that final cloud function? I'd rather commit that final OpenWhisk Sequence in JavaScript to our source file instead of committing the abstracted Composer file, cause OpenWhisk Sequence API seems to be more stable.

Unless Composer is just as stable (worried cause it is introduced as a technical preview feature)?

Thanks again!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573505724255200?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 20:57:36 UTC - Olivier Tardieu: the `compose` command generates a _conductor action_ rather than a _sequence action_
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573505856255700?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 20:57:49 UTC - Olivier Tardieu: <https://github.com/apache/openwhisk/blob/master/docs/conductors.md>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573505869255900?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 20:58:26 UTC - Olivier Tardieu: the `compose` command supports several flags including:
```
 --js                   output the conductor action code for the composition
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573505906256100?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 20:58:51 UTC - Olivier Tardieu: so you can obtain the actual action code if you want
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573505931256300?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:00:59 UTC - Olivier Tardieu: and deploy it directly - don’t forget the conductor annotation
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506059256500?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:02:18 UTC - Olivier Tardieu: ```
compose composition.js --js -o action.js
wsk action create composition action.js -a conductor true
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506138256700?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:03:57 UTC - Olivier Tardieu: you can commit both composition.js and action.js if you want
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506237256900?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:06:00 UTC - Houman Kamali: @Olivier Tardieu Oh that is so cool! I should have read the docs more carefully &gt;~&lt;
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506360257100?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:07:40 UTC - Houman Kamali: I looked at the output, and it seems it is requiring `redis`. Is redis available by default from within OpenWhisk environment?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506460257300?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:08:00 UTC - Olivier Tardieu: there is an open bug for that…
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506480257500?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:08:28 UTC - Houman Kamali: Oh okay. So I don't need to worry about it? :smile:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506508257700?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:08:44 UTC - Olivier Tardieu: redis was taken out from the base node.js image but recently put back
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506524257900?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:09:07 UTC - Olivier Tardieu: so it should not be an issue at this point
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506547258100?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:09:41 UTC - Houman Kamali: Great, thanks!! An instance of redis itself is not necessary either, right?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506581258300?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:09:53 UTC - Olivier Tardieu: not unless you want parallel execution
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506593258500?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:10:18 UTC - Houman Kamali: Nope! You've been very helpful, thanks :smile:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506618258700?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:10:37 UTC - Olivier Tardieu: I am not entirely sure about the release status of the fix
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506637258900?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:10:46 UTC - Olivier Tardieu: @Dragos Dascalita Haut ^^
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506646259100?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:11:26 UTC - Houman Kamali: Hm... I guess I'll find out haha
I think this is the package.json that is used to spawn the runtime environment?
<https://github.com/ibm-functions/runtime-nodejs/blame/master/nodejs10/package.json>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506686259300?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:12:09 UTC - Olivier Tardieu: the fix was merged here:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506729259600?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:12:09 UTC - Olivier Tardieu: <https://github.com/apache/openwhisk-runtime-nodejs/pull/151>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506729259800?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:12:48 UTC - Olivier Tardieu: you are looking at ibm images
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506768260000?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:13:26 UTC - Olivier Tardieu: I think with ibm images redis is always there
+1 : Houman Kamali
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506806260200?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:13:37 UTC - Olivier Tardieu: the issue was for the core images
+1 : Houman Kamali
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506817260400?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:14:20 UTC - Houman Kamali: Oh, right!! I keep forgetting they are being maintained separately &gt;~&lt;
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506860261000?thread_ts=1573153626.214900&cid=C3TPCAQG1
----
2019-11-11 21:14:52 UTC - Olivier Tardieu: my plan is to always drop the dependency in the composer code when parallelism is not used
heavy_check_mark : Houman Kamali
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1573506892261200?thread_ts=1573153626.214900&cid=C3TPCAQG1
----