2019-08-07 00:17:00 UTC - maverickjin8: Hello everyone. Is there a checkpoint feature for Openwhisk? Just wanted to know how to deal with actions that long more than 3 minutes and fails. Is there any recovery features for failed actions currently? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565137020395400 ---- 2019-08-07 01:14:57 UTC - Jiang PengCheng: great!! does this support nodejs only? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565140497395600?thread_ts=1565116745.393300&cid=C3TPCAQG1 ---- 2019-08-07 01:20:31 UTC - Jiang PengCheng: IIRC, there is no such feature https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565140831396600 ---- 2019-08-07 01:25:33 UTC - maverickjin8: I see thank you https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565141133396900 ---- 2019-08-07 07:31:46 UTC - Rodric Rabbah: Would be a nice feature. Compositions that use Redis are close but not quite what youre asking about. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163106398500 ---- 2019-08-07 07:35:15 UTC - chris: Is anybody know why `wskdeploy` is not work for me ?
The error shows : >"result": { `"error": "Failed to provision resources to run the action."` } https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163315400400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:35:44 UTC - chris: `manifest_helloworld.yaml`: <code> packages: hello_world_package: version: 1.0 license: Apache-2.0 actions: hello_world: function: src/hello.py runtime: python@3 </code> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163344400500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:36:43 UTC - chris: `Hello.py` def main(dict): """Hello world.""" if 'name' in dict: name = dict['name'] else: name = "stranger" if 'place' in dict: place = dict['place'] else: place = "unknown" msg = "Hello, " + name + " from " + place return {"greeting": msg} https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163403400700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:44:28 UTC - Dominic Kim: That error log generally indicates, docker is failed to run the container. <https://github.com/apache/openwhisk/blob/f9112edff1575b757b78d166f0384f6c91aef3d9/common/scala/src/main/scala/org/apache/openwhisk/http/ErrorResponse.scala#L224> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163868400900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:44:58 UTC - Dominic Kim: <https://github.com/apache/openwhisk/blob/f9112edff1575b757b78d166f0384f6c91aef3d9/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/docker/DockerContainer.scala#L132> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163898401200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:45:21 UTC - Dominic Kim: <https://github.com/apache/openwhisk/blob/f9112edff1575b757b78d166f0384f6c91aef3d9/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/docker/DockerClient.scala#L147> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163921401400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:45:43 UTC - Dominic Kim: The comments say about the issue like this: ``` // <https://docs.docker.com/v1.12/engine/reference/run/#/exit-status> // Exit status 125 means an error reported by the Docker daemon. // Examples: // - Unrecognized option specified // - Not enough disk space case pre: ProcessUnsuccessfulException if pre.exitStatus == ExitStatus(125) => Future.failed( DockerContainerId .parse(pre.stdout) .map(BrokenDockerContainer(_, s"Broken container: ${pre.getMessage}")) .getOrElse(pre)) } ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163943401600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:46:13 UTC - chris: :thinking_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163973401800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:46:15 UTC - Adam Varsano: I couldn't found solution for what I need, unfortunately we are going to leave openwhisk for our production. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565163975402000?thread_ts=1565098169.387300&cid=C3TPCAQG1 ---- 2019-08-07 07:47:54 UTC - Dominic Kim: Let me try your codes. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164074402200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:48:08 UTC - chris: OK thank you! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164088402400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:50:00 UTC - Dominic Kim: Which command did you use to produce that error? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164200402600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:50:00 UTC - chris: In my case : ##Deploying## wskdeploy -m openwhisk/manifest_helloworld.yaml `Success: Deployment completed successfully.` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164200402800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:51:19 UTC - Dominic Kim: hm.. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164279403100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:51:36 UTC - Dominic Kim: I could successfully deploy the action with the manifest and invoke it as well. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164296403300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:51:50 UTC - Dominic Kim: ``` $ wsk project deploy --manifest hello.yaml Success: Deployment completed successfully. ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164310403500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:51:54 UTC - chris: But.... for invoking..... it failed. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164314403700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:51:59 UTC - Dominic Kim: ``` $ wsk action invoke /style95/hello_world_package/hello_world -r { "greeting": "Hello, stranger from unknown" } ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164319403900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:52:15 UTC - Dominic Kim: Did you use your own local openwhisk setup? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164335404100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:52:41 UTC - chris: Yes, I installed the openwhisk by using docker-compose https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164361404300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:53:21 UTC - chris: OMG...why you can work .... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164401404500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:54:10 UTC - Dominic Kim: Can you see any logs in your local setup? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164450404700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:55:54 UTC - chris: After I installed the openwhisk in local, it created a folder named `tmp` `/tmp/openwhisk/setup.log` Do you mean this log file ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164554404900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:56:47 UTC - Dominic Kim: let me check on it. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164607405100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:09 UTC - chris: OK. Are you also install openwhisk on local ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164629405300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:21 UTC - Dominic Kim: It said the logs will be located under `~/tmp/openwhisk`. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164641405500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:28 UTC - Dominic Kim: I am using the native deployment. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164648405700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:49 UTC - chris: OK I am now in `~/tmp/openwhisk` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164669405900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:50 UTC - Dominic Kim: You may find something simliar to `~/tmp/openwhisk/controller/logs/controller-local_logs.log` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164670406100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:57:57 UTC - chris: let me see it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164677406300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:59:05 UTC - chris: OK I open it now. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164745406500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 07:59:35 UTC - Dominic Kim: I think there might be some clues in the invoker logs. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164775406700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:01:55 UTC - chris: All logs are show `[INFO]` title https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164915407000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:02:11 UTC - chris: But there is only one which shows `[ERROR]` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164931407200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:02:44 UTC - chris: I am not sure is that cause me fault ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164964407400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:02:45 UTC - Dominic Kim: Are you able to invoke a python action without `wskdeploy`? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164965407600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:02:51 UTC - Dominic Kim: Please share the logs. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565164971407800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:04:09 UTC - chris: I just try python now https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165049408000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:05:13 UTC - chris: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165113408200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:06:45 UTC - Dominic Kim: It seems required database does not exist in your couchdb. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165205408600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:07:23 UTC - chris: is this error cuase me fault to use `wskdeploy`? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165243408800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:07:48 UTC - Dominic Kim: I think possible. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165268409000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:08:08 UTC - chris: But i just follow the install tutorial and run `make quickstart` to install openwhisk by using `docker-compose` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165288409200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:08:19 UTC - Dominic Kim: I haven't used compose based setup for long time. Let me try. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165299409400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:08:25 UTC - Dominic Kim: Which OS are you using? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165305409600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:08:43 UTC - chris: Ubuntu 18.04.2 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165323409800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:08:49 UTC - Dominic Kim: got it. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165329410000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:09:34 UTC - chris: which method which method do you use ? K8s? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165374410200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:10:15 UTC - Dominic Kim: I have mac and ubuntu based native setup for local developmentt. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165415410400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:10:42 UTC - chris: If this error cause me fault to run `wskdeploy`, do you know how to fix it ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165442410600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:11:23 UTC - chris: OK got it how you install https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165483410800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:11:46 UTC - chris: this tool cause me crazy and crazy again ... omg https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165506411000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:12:05 UTC - Dominic Kim: You can take a look into <https://github.com/apache/openwhisk/blob/master/tools/ubuntu-setup/README.md> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165525411200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:12:23 UTC - chris: Hey .... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165543411400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:12:26 UTC - Dominic Kim: But generally, that means, your couchdb does not have required database. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165546411600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:12:44 UTC - Dominic Kim: Could you check couchdb running in your local? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165564411800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:13:01 UTC - Dominic Kim: And which databases exist in your couchdb? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165581412100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:13:52 UTC - chris: the method you just show for me to install openwhisk on ubuntu is the first choose what i used to install. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165632412300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:14:03 UTC - chris: But it fault to install... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165643412500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:14:14 UTC - chris: so i choose docker to install https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165654412700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:14:48 UTC - Dominic Kim: Actually, that native setup also uses Docker. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165688412900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:15:10 UTC - Dominic Kim: Lets try to fix your compose-based setup first. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165710413100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:15:25 UTC - chris: Ok pretty thanks... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165725413300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:16:01 UTC - chris: for me now ... couchdb is using `5984` port https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165761413500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:16:10 UTC - Dominic Kim: Can you login to <http://localhost:5984/_utils/> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165770413700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:16:28 UTC - Dominic Kim: And please share which database exist. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165788413900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:17:16 UTC - chris: There is embarrassing thing.................... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165836414100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:18:01 UTC - Dominic Kim: What's wrong? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165881414300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:18:50 UTC - chris: When I ssh to server and run`curl –k <http://127.0.0.1:5984>` , this is OK https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165930415000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:18:55 UTC - chris: But..... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565165935415200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:20:06 UTC - chris: the server is limited..... I just can visit some port expect `5984` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166006415400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:20:31 UTC - Dominic Kim: You mean, you cannot access 5984 port? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166031415600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:20:37 UTC - chris: So...... I can't to use my PC to visit coudb.... because it use `5984` is not external port..... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166037415800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:20:48 UTC - Dominic Kim: fine. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166048416000?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:21:09 UTC - chris: yes......some security issue..... cause i can't to see..... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166069416200?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:21:45 UTC - chris: I just know coudb is work too when installing openwhisk https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166105416400?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:21:57 UTC - Dominic Kim: You can ssh to the server and do something like this: ``` $ curl localhost:5984/_all_dbs -u admin:admin ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166117416600?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:22:14 UTC - chris: but i have no permission to see it due to `5984` is not a external port. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166134416900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:22:16 UTC - Dominic Kim: Do you know the ID and PW for couchdb? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166136417100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:22:28 UTC - Dominic Kim: You can get in to the server first. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166148417300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:22:32 UTC - chris: OK i give it a try https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166152417500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:23:52 UTC - Dominic Kim: ok I could setup openwhisk with compose. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166232417700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:24:05 UTC - Dominic Kim: The default ID/PW is this: ``` $ curl localhost:5984/_all_dbs -u whisk_admin:some_passw0rd ["_users","local_activations","local_subjects","local_whisks"] ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166245417900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:24:18 UTC - Dominic Kim: You can just try that command. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166258418100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:24:59 UTC - chris: it shows: >["_users","local_activations","local_subjects","local_whisks"] curl: (3) [globbing] bad range specification in column 2 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166299418300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:26:15 UTC - Dominic Kim: hm. it seems you have databases. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166375418700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:28:40 UTC - Dominic Kim: I could find the same error log in my local setup. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166520418900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:28:48 UTC - Dominic Kim: So I think this isn't an issue. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166528419100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:28:49 UTC - chris: jaja https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166529419300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:28:59 UTC - chris: haha https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166539419500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:29:03 UTC - chris: OK XD https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166543419700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:29:14 UTC - Dominic Kim: Can you invoke a python action without `wskdeploy`? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166554419900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:29:24 UTC - chris: yes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166564420100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:29:31 UTC - Dominic Kim: oh is it? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166571420300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:29:47 UTC - Dominic Kim: That means there is no issue in your local setup. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166587420500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:30:07 UTC - chris: haha https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166607421300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:30:27 UTC - chris: OK good new https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166627422100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:31:31 UTC - Dominic Kim: Please share the results of `wsk action list -i` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166691422300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:32:23 UTC - chris: yeah it can work <namespace>/hello_world_package/hello_world https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166743422500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:32:37 UTC - chris: `<namespace>/hello_world_package/hello_world private python:2` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166757422700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:32:47 UTC - Dominic Kim: ok I got the issue. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166767422900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:33:02 UTC - chris: Actually https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166782423100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:33:06 UTC - chris: I am thinking... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166786423300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:33:12 UTC - Dominic Kim: You specified the python version to `python:3`, but it is created with `python:2` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166792423500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:33:13 UTC - chris: about `yaml` file https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166793423700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:34:53 UTC - chris: This issue I also think https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166893423900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:35:18 UTC - chris: So... I tried to fix it like this: >packages: hello_world_package: version: 1.0 license: Apache-2.0 actions: hello_world: function: src/hello.py runtime: python@2 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166918424100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:35:57 UTC - chris: But it still not work... How to create a `python:3` action? add like this :`runtime: python@3` ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565166957424300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:36:56 UTC - chris: <https://github.com/apache/openwhisk-wskdeploy/blob/master/specification/html/spec_actions.md#valid-runtime-names> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167016424500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:17 UTC - Dominic Kim: I think this is a bug. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167157424700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:19 UTC - Dominic Kim: Please try with this: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167159424900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:23 UTC - Dominic Kim: ``` packages: hello_world_package: version: 1.0 license: Apache-2.0 actions: hello_world: function: src/hello.py runtime: python:3 ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167163425100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:36 UTC - Dominic Kim: You should use `python:3` instead of `python@3` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167176425300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:45 UTC - chris: I also thinking that is it possible the `wskdeploy` version is too new ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167185425500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:39:57 UTC - chris: I installed its version `latest` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167197425700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:40:01 UTC - Dominic Kim: Also it seems `python:2` does not work as there is no docker image with `nightly` tag for python2 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167201425900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:40:03 UTC - chris: And you ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167203426100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:42:36 UTC - Dominic Kim: I tried with the latest `wskdeploy` but it does not work. I think it's a bug in `openwhisk-devtools`. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167356426300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:42:45 UTC - Dominic Kim: Anyway, have you tried with `python:3`? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167365426500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:42:52 UTC - Dominic Kim: it should work. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167372426700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:44:40 UTC - chris: FUck!!! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167480426900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:44:42 UTC - chris: IT work https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167482427100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:44:51 UTC - Dominic Kim: Great https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167491427300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:45:05 UTC - chris: OH MY GOD YOU ARE HERO https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167505427500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:45:16 UTC - Dominic Kim: Welcome. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167516427700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:45:29 UTC - chris: I am very very thanks for your help QQQ https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167529427900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:45:42 UTC - Dominic Kim: Actually, we are at the intermediate step to migrate from `latest` tag to `nightly` tag. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167542428100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:45:57 UTC - Dominic Kim: So there is no docker image with `nightly` tag for python 2. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167557428300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:46:07 UTC - Dominic Kim: I will open an issue to resolve this. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167567428500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:46:20 UTC - chris: Are you the research team with openwhisk ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167580428700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:46:30 UTC - Dominic Kim: Also, currently, `wskdeploy` guides to use `runtime@version` for runtime spec, https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167590428900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:46:37 UTC - Dominic Kim: but actually it works with `runtime:version`. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167597429100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:46:47 UTC - Dominic Kim: I will open an issue for this as well. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167607429300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:47:14 UTC - Dominic Kim: I am a PMC of OpenWhisk and working for Naver. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167634429500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:47:39 UTC - chris: yeah ~ OK thanks .... and this is also can use `wsk -i package delete hello_world_package` ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167659429700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:48:02 UTC - Dominic Kim: I think so. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167682429900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:48:16 UTC - Dominic Kim: You cannot delete the package? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167696430100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:48:35 UTC - chris: WOW sounds so strong with you :flushed: mogul https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167715430300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:49:17 UTC - chris: Yes it can't delete https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167757430500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:49:25 UTC - chris: `Package not empty (contains 1 entity) (code l7JBu4fLZQKNLESaRf44tBfRTowLog1z)` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167765430700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:49:30 UTC - Dominic Kim: oh ok. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167770430900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:49:37 UTC - Dominic Kim: You should delete the action first. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167777431100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:49:46 UTC - Dominic Kim: That's an intended behavior. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167786431300?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:50:18 UTC - chris: Yeah it work tada : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167818431500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:50:22 UTC - chris: Thanks !! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167822431700?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:50:36 UTC - chris: I already waste you too much time .... Sorry https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167836431900?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 08:51:09 UTC - Dominic Kim: No problem : ) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565167869432100?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 10:05:16 UTC - Bruce Adams: The `wsk` command line tool does use credentials saved in a file. What it took me a long time to understand is that `ibmcloud fn ...` commands overwrite that credentials file. Just logging in differently with `ibmcloud` (aka `bx`) doesn't change the `wsk` credentials; need to run a `bx wsk` command. (It's really hard to talk about the `ibmcloud` tool because it has so many aliases.) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565172316439000?thread_ts=1564848589.379500&cid=C3TPCAQG1 ---- 2019-08-07 10:45:05 UTC - Rob Allen: Impressive https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565174705439400?thread_ts=1565116745.393300&cid=C3TPCAQG1 ---- 2019-08-07 11:41:45 UTC - Dharmesh Singhal: can some one help and tell how to scrap description from a web page(we only have the url for the start)(in Nodejs) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565178105441100 ---- 2019-08-07 11:46:29 UTC - Rodric Rabbah: Nice @Dominic Kim +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565178389441500?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 13:31:41 UTC - Rob Allen: @Dharmesh Singhal What do you mean? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565184701441900?thread_ts=1565184701.441900&cid=C3TPCAQG1 ---- 2019-08-07 14:04:42 UTC - Matt Rutkowski: REMINDER: ~ 1 HOUR until the Apache OpenWhisk Tech. Interchange project meeting, * Day-Time: Every other Wednesday, 11AM EDT (Eastern US), 5PM CEST (Central Europe), 3PM GMT, 11PM (Beijing) * Zoom: <https://zoom.us/my/asfopenwhisk> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565186682442300 ---- 2019-08-07 14:10:55 UTC - Dominic Kim: @Rodric Rabbah thanks :) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565187055442800?thread_ts=1565163315.400400&cid=C3TPCAQG1 ---- 2019-08-07 18:28:09 UTC - Alexander Klimetschek: @Jiang PengCheng other languages are possible too, in my presentation today (<https://youtu.be/Qtsi8VFm0uY?t=588>) I showed Java + IntelliJ as well. you might be able to do it with cli args only (you need to know the runtime/docker image for that), and definitely we want to have support for more languages out of the box. contributions welcome! for more details, see <https://github.com/adobe/wskdebug#about> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1565202489443200?thread_ts=1565116745.393300&cid=C3TPCAQG1 ----