2020-04-13 16:05:01 UTC - Michele Sciabarra: @chetanm are you aware that openwhisk standalone does not return logs when checking with wsk activation ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586793901122500 ---- 2020-04-13 16:05:21 UTC - Michele Sciabarra: is it a … known bug or a feature ? :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586793921122800 ---- 2020-04-13 16:15:12 UTC - chetanm: It should return logs ... Just that logs may not be that accurate. It uses docker log api to fetch logs of container between given times https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586794512124100 ---- 2020-04-13 16:15:48 UTC - chetanm: May be things got broken with docker version change ... Can you check the system logs to see what is the command output for log related command https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586794548125300 ---- 2020-04-13 16:37:06 UTC - Rodric Rabbah: it returns logs - i use it regularly https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586795826125600 ---- 2020-04-13 16:37:21 UTC - Rodric Rabbah: do you have details Michele https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586795841125900 ---- 2020-04-13 16:39:43 UTC - Michele Sciabarra: hm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586795983126100 ---- 2020-04-13 16:40:13 UTC - Michele Sciabarra: ``` wsk activation list
Datetime Activation ID Kind Start Duration Status Entity 2020-04-13 18:39:15 731de113b29449409de113b29429408a nodejs:10 cold 1.463s developer error guest/import:0.0.2 2020-04-13 18:38:13 187ccd9a533d434fbccd9a533d234f80 nodejs:10 warm 43ms developer error guest/import:0.0.2 2020-04-13 18:36:26 848d76e57964472a8d76e57964272ae9 nodejs:10 cold 1.692s success guest/import:0.0.2``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796013126400 ---- 2020-04-13 16:40:33 UTC - Michele Sciabarra: ```wsk activation logs 848d76e57964472a8d76e57964272ae9``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796033126900 ---- 2020-04-13 16:40:38 UTC - Michele Sciabarra: empty https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796038127200 ---- 2020-04-13 16:40:40 UTC - Michele Sciabarra: always https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796040127500 ---- 2020-04-13 16:43:12 UTC - Mauro Monti: @Rodric Rabbah I dig a bit more into this and I think i found the issue. The property that you mention is set in the init script. We are doing: ```JVM_ARGS="$JVM_EXTRA_ARGS\ -Dwhisk.standalone.host.name=$(hostname)\ -Dwhisk.standalone.host.internal=$(hostname -i)\ -Dwhisk.standalone.host.external=localhost"``` The problem with this implementation is that having the variable $JVM_EXTRA_ARGS at the beginning does not allow the user to "override" any of those 3 properties. An easy fix for this would be moving $JVM_EXTRA_ARGS at the end since properties are evaluated in order, and anything that is appended at the end can override the previous properties. I can create an issue/PR if you think that this is a legit issue. Thanks! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796192127600?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 16:50:24 UTC - Rodric Rabbah: @chetanm might have a suggestion https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796624127800?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 16:50:46 UTC - Rodric Rabbah: sounds reasonable to me, PRs are welcome https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796646128000?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 16:51:03 UTC - Mauro Monti: :+1: Ill work on that... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586796663128200?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 16:59:56 UTC - chetanm: Yes that should be changed. cc @Michele Sciabarra who added that script mode https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586797196128400?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 17:28:24 UTC - Brendan Doyle: Has anyone seen this issue before where running a nodejs function fails with this error ```Failed due to error: Initialization has failed due to: The following error occurred while uncompressing the action archive: unzip: short read``` The solution is redeploying the function as if the function deployment to couchdb was corrupted but openwhisk tells the client the upload was successful https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586798904131200 ---- 2020-04-13 18:05:42 UTC - Michele Sciabarra: yes I did that https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801142131300?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:05:56 UTC - Michele Sciabarra: actually there is a much improved script in the work https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801156131500?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:09:20 UTC - Michele Sciabarra: I wiill apply your suggestion moving the JVM_EXTRA_ARGS at the end in the meanwhile you can build your version https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801360131700?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:09:40 UTC - Mauro Monti: :+1: awesome! thanks @Michele Sciabarra https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801380131900?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:10:16 UTC - Michele Sciabarra: the new start scirpt allows to set --docker and --jvm args separately https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801416132100?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:10:53 UTC - Michele Sciabarra: also there is a a proxy in it allowing a single access point for playground, openwhisk and... your app :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801453132300?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:11:36 UTC - Michele Sciabarra: I probably should release it I need to solve a bug before https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801496132500?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:12:07 UTC - Mauro Monti: Nice... looking forward for this updates. Is there any planned date for this release? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801527132700?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:12:41 UTC - Michele Sciabarra: as usual ASAP https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801561132900?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:13:07 UTC - Mauro Monti: :slightly_smiling_face: :+1: :+1: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801587133100?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:13:20 UTC - Michele Sciabarra: I actually implewmented on top of it support for debuggers but I could delay the release of this feature https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801600133300?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:13:42 UTC - Michele Sciabarra: however I am using the branch on my own so you can build for yourself https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801622133500?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:14:00 UTC - Michele Sciabarra: it is stable enough to be usable https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801640133700?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:14:29 UTC - Michele Sciabarra: you can also pull from actinoloop/standalone:latest on docker hub https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801669133900?thread_ts=1584393870.285200&cid=C3TPCAQG1 ---- 2020-04-13 18:14:48 UTC - Michele Sciabarra: get the start..sh https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801688134300?thread_ts=1584393870.285200&cid=C3TPCAQG1 ---- 2020-04-13 18:14:59 UTC - Mauro Monti: I can give it a try... can u share the branch? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801699134500?thread_ts=1586534164.111200&cid=C3TPCAQG1 ---- 2020-04-13 18:15:10 UTC - Michele Sciabarra: and start with ./start.sh -i actionloop/standalone:latest https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801710134700?thread_ts=1584393870.285200&cid=C3TPCAQG1 ---- 2020-04-13 18:15:22 UTC - Michele Sciabarra: also you can set -j and -d options https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801722134900?thread_ts=1584393870.285200&cid=C3TPCAQG1 ---- 2020-04-13 18:15:32 UTC - Michele Sciabarra: -j == jvm -d == docker https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1586801732135100?thread_ts=1584393870.285200&cid=C3TPCAQG1 ----