2019-07-17 07:08:21 UTC - Adam Varsano: Hi, sorry for the delay, but when I try the docker container factory, the invoker pod didn't duplicate the containers but there was only 1 pod with 1 container https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563347301013900?thread_ts=1562835976.333800&cid=C3TPCAQG1 ---- 2019-07-17 08:50:04 UTC - Pepi Paraskevoulakou: i made the above mentioned commands and the results are these: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563353404014100?thread_ts=1563262220.461500&cid=C3TPCAQG1 ---- 2019-07-17 11:51:32 UTC - Roberto Santiago: @Rodric Rabbah For some reason none of the packages from package.json are being loaded on my runtime nodejs docker images. Any tips? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563364292015900?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:08:30 UTC - Rodric Rabbah: Did you npm install locally and include them in the zip file from which you created the action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563368910016800?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:11:55 UTC - Roberto Santiago: I mean the runtimes. Looking in the repo the package.json includes openwhisk as a dependency https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563369115017000?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:12:27 UTC - Rodric Rabbah: i dont follow, sorry https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563369147017200?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:12:56 UTC - Roberto Santiago: <https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/7c8461c99390aff12e7bad33a2d79f65150b9d03/core/nodejs10Action/package.json#L11> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563369176017400?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:22:48 UTC - Michael Schmidt: @Roberto Santiago before you launch your function you npm install in the same location that your packages.json is https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563369768017600?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:27:55 UTC - Roberto Santiago: I know that method for sure. I was just noticing that the docker build includes installing `openwhisk`. The link above shows it specified in the `package.json` and here is the line from the `Dockerfile` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370075017800?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:28:09 UTC - Roberto Santiago: <https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/7c8461c99390aff12e7bad33a2d79f65150b9d03/core/nodejs10Action/Dockerfile#L28> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370089018000?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:28:31 UTC - Roberto Santiago: As I inspect the running image, I see that it gets installed in the root directory. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370111018200?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:29:30 UTC - Michael Schmidt: If you exec into the container and go to the root dir and do `npm install` what happens? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370170018400?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:30:06 UTC - Roberto Santiago: well its already installed. there is a `node_modules` directory at root as well https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370206018600?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:30:51 UTC - Michael Schmidt: I guess I am confused too then https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370251018800?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:31:15 UTC - Michael Schmidt: How do you know that your packages are or are not installed? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370275019000?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:31:45 UTC - Roberto Santiago: well, what I am trying to avoid is packaging `openwhisk` with all my nodejs actions https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370305019200?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:33:00 UTC - Michael Schmidt: So I don't use the docker version, but what I imagine you should be doing is launching the openwhisk container, then using wsk to talk to that container from another machine https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370380019400?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:33:10 UTC - Roberto Santiago: My hope was that it was already there so it would not be an issue. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370390019600?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:33:18 UTC - Michael Schmidt: and that is where you should be doing your packaging and then using wsk to launch your action to the container https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370398019800?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:33:41 UTC - Michael Schmidt: what was already where? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370421020000?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:38:03 UTC - Roberto Santiago: So take a look at <https://cloud.ibm.com/docs/openwhisk?topic=cloud-functions-runtimes#node-js-packages> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370683020200?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:38:47 UTC - Roberto Santiago: The runtimes used by IBM has a number of packages already installed. Which means I don't have to package them. I can just require them. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370727020400?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:39:00 UTC - Roberto Santiago: I thought we had something similar going with OW runtimes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563370740020600?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:45:15 UTC - Roberto Santiago: @Rodric Rabbah Any thoughts? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563371115020900?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:57:09 UTC - Rodric Rabbah: the packages are installed in some `/` location, i dont recall where off the top https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563371829021100?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:57:30 UTC - Rodric Rabbah: that is so that a user’s packages can take precedence and do not clobber each other https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563371850021300?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 13:57:57 UTC - Rodric Rabbah: the apache images do not many packages by default - there is discussion on the Apache dev list as to why that is https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563371877021500?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 14:01:21 UTC - Roberto Santiago: @Rodric Rabbah So it looks like by installing the packages in root, they are not available at all to user's action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563372081021800?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 14:47:19 UTC - Roberto Santiago: @Rodric Rabbah I found the issue. More precisely, found that the issue is coming from Typescript and/or Webpack +1 : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563374839022000?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 16:35:49 UTC - Michael Schmidt: So for hitting the web api, what is the default username and password? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563381349022500?thread_ts=1563381349.022500&cid=C3TPCAQG1 ---- 2019-07-17 17:58:36 UTC - Roberto Santiago: So it turns out that Webpack was entirely the issue. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563386316022600?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 18:23:08 UTC - Rodric Rabbah: Phew. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563387788022900?thread_ts=1563364292.015900&cid=C3TPCAQG1 ---- 2019-07-17 21:10:41 UTC - Roberto Diaz: You can extract it from the console, let me find the command https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563397841023300?thread_ts=1563381349.022500&cid=C3TPCAQG1 ---- 2019-07-17 21:12:30 UTC - Roberto Diaz: `wsk property get` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563397950023500?thread_ts=1563381349.022500&cid=C3TPCAQG1 ---- 2019-07-17 21:13:34 UTC - Roberto Diaz: It will show a lot of info, and in the middle of it you'll have something like `wsk auth xxxxxxx:xxxxxxxx` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563398014023700?thread_ts=1563381349.022500&cid=C3TPCAQG1 ---- 2019-07-17 21:14:04 UTC - Roberto Diaz: As you suppose... They are the user and password for the api https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1563398044023900?thread_ts=1563381349.022500&cid=C3TPCAQG1 ----