2021-02-14 00:17:42 UTC - Mina Michael: Thank you @Rodric Rabbah.
So, you mean that if the node's memory is too full then the pod will be destroyed before 10 minutes of no use? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613261862165200?thread_ts=1613258820.163700&cid=C3TPCAQG1 ---- 2021-02-14 00:24:28 UTC - Rodric Rabbah: Yes +1 : Mina Michael https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613262268165500?thread_ts=1613258820.163700&cid=C3TPCAQG1 ---- 2021-02-14 01:36:32 UTC - Joshua Dunham: Hey Everyone, Built my own image for py3 action container and it worked for a while before giving out error -- "error": "The action failed to generate or locate a binary. See logs for details." Any tips on how to debug? Not sure how I modified it to break. :confused: Same happens when i build on prem the exact code in the repo. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613266592168700 ---- 2021-02-14 03:42:06 UTC - Joshua Dunham: Tracked down issue to calling launcher.py and failing to open fd 3 -- not sure why it tries to write here. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613274126169500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 03:42:11 UTC - Joshua Dunham: Traceback (most recent call last): File "exec__.py", line 45, in <module> out = fdopen(3, "wb") File "/usr/lib/python3.8/os.py", line 1023, in fdopen return io.open(fd, *args, **kwargs) OSError: [Errno 9] Bad file descriptor https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613274131169600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:09:49 UTC - Rodric Rabbah: @Michele Sciabarra? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613311789169800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:15:04 UTC - Michele Sciabarra: 3.8? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312104170000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:16:53 UTC - Michele Sciabarra: @Joshua Dunham I do not really understand what are you doing… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312213170900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:17:18 UTC - Michele Sciabarra: what you mean with “built my own image”.,.. and why? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312238171100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:18:41 UTC - Michele Sciabarra: the action loop proxy does actually write to fd3 because 1 and 2 are reserved for log https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312321171400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:18:56 UTC - Michele Sciabarra: you are supposed to use init and run to initialize the runtime https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312336171600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:26:24 UTC - Joshua Dunham: I made a container to load in some heavier modules etc that I want to be available for all users (of this image).) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312784171800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:28:00 UTC - Rodric Rabbah: is it possible you ran into a ulimit issue - if opening too many files inside the image https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312880172000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:28:08 UTC - Rodric Rabbah: there is ulimit on the container iirc https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312888172200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:28:20 UTC - Rodric Rabbah: when the action fails is it a “warm” instance https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613312900172400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:36:36 UTC - Joshua Dunham: I don't think it's a ulimit case. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313396172600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:37:47 UTC - Joshua Dunham: To debug this I found @Rodric Rabbah's on using invoker.py, pulled down the container and started it on port 8080 and tried to init. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313467172800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:37:58 UTC - Joshua Dunham: @rrs guide* https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313478173000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:38:28 UTC - Joshua Dunham: init fails and outside the container is gives 'failed to locate' https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313508173200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:38:51 UTC - Joshua Dunham: Inside the container it does warm up the action through compile in /action/1/bin https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313531173400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:40:24 UTC - Joshua Dunham: If I $> bash exec it actually gives me an error about the variable OW_EXECUTION_ENV missing and I noticed in the exec (through compile) prefixed with __ , not sure if there is something there I don't understand. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313624173600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:40:51 UTC - Joshua Dunham: I manually exported __OW_EXECUTION_ENV and tried to run exec again but it fails with the fd 3 error. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313651173800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:42:02 UTC - Joshua Dunham: I had to make two changes to compile to support the location of python being different, the path and name ( changed to /usr/bin/python3.8 as is alpine default) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613313722174000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 14:51:17 UTC - Joshua Dunham: There is nothing sensitive or complicated in my dockerfile set. It's just a clone of the OW py3 files and I've replaced buster with alpine, and took out the source buider FROM path and using release only + that one change for python path in compile. I can share them if useful. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613314277174200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:33:05 UTC - Rodric Rabbah: <https://stackoverflow.com/questions/61535796/python-how-to-write-to-fd-3|https://stackoverflow.com/questions/61535796/python-how-to-write-to-fd-3> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613316785174500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:33:10 UTC - Rodric Rabbah: Did you try this? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613316790174900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:44:18 UTC - Joshua Dunham: In launcher.py (vanilla from the py3action OW repo) it's opening it with wb so the solution doesn't apply. :confused: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613317458175100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:45:38 UTC - Joshua Dunham: Since fd 3 is just stderr can this be changed to `print(*args, file=sys.stderr, **kwargs)` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613317538175300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:59:40 UTC - Michele Sciabarra: if you give me the image you built I may be able to give some hints https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613318380175500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 15:59:56 UTC - Michele Sciabarra: I am the author of the runtime you are extending https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613318396175700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 16:00:37 UTC - Michele Sciabarra: in any case there is some documentation explaining how to build a new runtime https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613318437175900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 16:01:53 UTC - Michele Sciabarra: <https://github.com/apache/openwhisk/blob/master/docs/actions-actionloop.md> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613318513176100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 16:14:57 UTC - Joshua Dunham: I thought it would be easier (and safer) to take the Dockerfile from the pyth3action/core folder and build locally. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613319297176300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 16:15:29 UTC - Joshua Dunham: Can I put the Dockerfile I've made up on e.g. postbin? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613319329176500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 17:36:35 UTC - Joshua Dunham: Ok, I created a paste with MWE. This is very close to what I'm doing minus things like connecting to internal pypi mirror for custom modules. It shows the same issue with the env variable not quite working (__ OW_EXECUTION_ENV vs OW_EXECUTION_ENV) but getting past this same issue with fd 3. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613324195176700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 17:36:38 UTC - Joshua Dunham: <https://pastebin.com/JWb1v0fg> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613324198176900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 18:48:33 UTC - Michele Sciabarra: ok https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613328513177300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 18:48:36 UTC - Michele Sciabarra: let me see https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613328516177500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 18:49:40 UTC - Michele Sciabarra: but is the official python images based on alpine?AFAIK alpine is NOT a good idea for Python https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613328580177700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 18:50:33 UTC - Michele Sciabarra: anyway I try to build it locally https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613328633177900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:05:42 UTC - Joshua Dunham: Alpine uses musl instead of glibc so manylinux etc is out of the question. Part of the stuff I took out include internal pypi where I have some of the heavier ones already built. Some folks have said compilation takes longer but I haven't seen this. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613329542178100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:05:52 UTC - Joshua Dunham: Thanks bigtime for taking a look at this! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613329552178300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:23:00 UTC - Michele Sciabarra: I built your image and … works for me https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613330580178500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:24:47 UTC - Michele Sciabarra: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613330687178700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:25:08 UTC - Michele Sciabarra: I suspect the error is in the code you are trying to run https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613330708178900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:25:58 UTC - Michele Sciabarra: please open a PR as your Python38 is useful :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613330758179100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:31:02 UTC - Joshua Dunham: The code is vanilla hello world (although I blindly copied). https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331062179300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:31:08 UTC - Joshua Dunham: def main(params): name = params.get("name", "stranger") greeting = "Hello " + name + "!" print(greeting) return {"greeting": greeting} https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331068179500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:32:20 UTC - Joshua Dunham: You think I should provide this as an OW py38 action on alpine to the repo? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331140179700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:33:33 UTC - Michele Sciabarra: do as the existing one https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331213179900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:33:39 UTC - Michele Sciabarra: there was a reason https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331219180100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:33:46 UTC - Michele Sciabarra: hmmm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331226180300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:34:02 UTC - Michele Sciabarra: where did you try your code? ibmcloud or nimbella your cluster? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331242180500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:34:48 UTC - Michele Sciabarra: the runtime I built from your dockerfile is fine https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331288180700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:02 UTC - Joshua Dunham: After building this container I started using debugger docs, https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331302180900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:04 UTC - Joshua Dunham: sudo docker run -it --rm --name wdp -p 8080:8080 ow-test:latest https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331304181100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:20 UTC - Joshua Dunham: and in another console I used the invoker.py process https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331320181300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:33 UTC - Joshua Dunham: python invoke.py init hello.py https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331333181500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:40 UTC - Joshua Dunham: It's at this point I get an error https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331340181700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:35:54 UTC - Michele Sciabarra: wait a second… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331354181900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:36:27 UTC - Michele Sciabarra: which debugger is that one , openwhisk-debugger? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331387182100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:36:49 UTC - Michele Sciabarra: wskdebug https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331409182300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:36:51 UTC - Michele Sciabarra: I mean https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331411182500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:37:59 UTC - Joshua Dunham: <https://raw.githubusercontent.com/apache/incubator-openwhisk/master/tools/actionProxy/invoke.py> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331479182700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:38:07 UTC - Michele Sciabarra: that is ok https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331487182900?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:38:10 UTC - Michele Sciabarra: I mean the debugger https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331490183100?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:38:22 UTC - Michele Sciabarra: ocker run -it --rm --name wdp -p 8080:8080 ow-test:latest https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331502183300?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:38:28 UTC - Joshua Dunham: from Rodric's post, <https://medium.com/openwhisk/advanced-debugging-of-openwhisk-actions-518414636932> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331508183500?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:38:28 UTC - Michele Sciabarra: where you found that? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331508183700?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:01 UTC - Michele Sciabarra: that debuger is … obsolete https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331541184000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:05 UTC - Joshua Dunham: I tried to pull openwhisk-debuuger from npm but it's not working anymore, think some sources were pulled and it won't build using npm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331545184200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:12 UTC - Michele Sciabarra: was replaced by wskdebug https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331552184400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:21 UTC - Michele Sciabarra: that does not yet support python https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331561184600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:27 UTC - Joshua Dunham: Oh, gotcha https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331567184800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:35 UTC - Michele Sciabarra: I personally do not use any debugger https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331575185000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:40 UTC - Michele Sciabarra: I use unit test locally https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331580185200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:43 UTC - Michele Sciabarra: to debug https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331583185400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:39:51 UTC - Joshua Dunham: From that container / dockerfile, how did you test to completion? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331591185600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:40:39 UTC - Joshua Dunham: I had also tried in the begining to wsk action create hello --docker path-to-container hello.py and it's wat gave initial error. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331639185800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:40:44 UTC - Michele Sciabarra: not sure what you mean https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331644186000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:41:02 UTC - Michele Sciabarra: that one should work https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331662186200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:42:33 UTC - Michele Sciabarra: let me check on Nimbella https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613331753186600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:50:54 UTC - Joshua Dunham: I setup with, `$>wsk action update hello_method --docker reg.server/ow-test-base:latest --main main hello2.py` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332254186800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:51:06 UTC - Joshua Dunham: and call with `wsk action invoke hello_method -r` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332266187000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:51:21 UTC - Joshua Dunham: and get `"error": "The action failed to generate or locate a binary. See logs for details."` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332281187200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:51:41 UTC - Joshua Dunham: Logs from the activation say the process died before it ran and there are no logs. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332301187400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:52:55 UTC - Michele Sciabarra: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332375187600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:53:06 UTC - Michele Sciabarra: this is YOUR image and YOUR action and works https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332386187800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:53:29 UTC - Michele Sciabarra: dunno https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332409188000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:53:58 UTC - Michele Sciabarra: what is that ow-test-base I do not know https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332438188200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:10 UTC - Joshua Dunham: that's the dockerfile I sent over built locally https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332450188400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:31 UTC - Michele Sciabarra: which server are you using? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332471188600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:37 UTC - Michele Sciabarra: your own? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332477188800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:44 UTC - Joshua Dunham: server for deployment? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332484189000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:49 UTC - Joshua Dunham: kubernetes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332489189200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:49 UTC - Michele Sciabarra: yep https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332489189400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:54:52 UTC - Joshua Dunham: K3s https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332492189600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:03 UTC - Joshua Dunham: ... I actually ow rr a writeup on that too https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332503189800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:14 UTC - Michele Sciabarra: hmmm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332514190000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:24 UTC - Joshua Dunham: It's brilliant .. OW deploys so smoothly https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332524190200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:26 UTC - Michele Sciabarra: well at least on nimbella works and I suspect in IBM cloud too https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332526190400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:45 UTC - Michele Sciabarra: can you try with the image I built? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332545190600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:57 UTC - Michele Sciabarra: $ wsk action create hellojd hello.py --docker actionloop/python38jd https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332557190800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:55:57 UTC - Joshua Dunham: yes, I'll try right now. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332557191000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:56:10 UTC - Michele Sciabarra: wsk action invoke hellojd https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332570191200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:56:41 UTC - Joshua Dunham: wild, that works https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332601191400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:57:55 UTC - Joshua Dunham: launcher.py and compile from ow-python3action repo? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332675191600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:59:01 UTC - Michele Sciabarra: no use my image https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332741191800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:59:11 UTC - Michele Sciabarra: actionloop/python38jd https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332751192000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:59:21 UTC - Michele Sciabarra: it includes everything https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332761192200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 19:59:42 UTC - Joshua Dunham: Sure, but the Dockerfile I sent needed the /bin/compile and /lib/launcher.py https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613332782192400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:06:39 UTC - Joshua Dunham: I can submit this as an MR. How should I do it, create a py3action-alpine folder alongside debian based one? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613333199192600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:06:41 UTC - Michele Sciabarra: I used … the existing ones https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613333201192800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:06:47 UTC - Michele Sciabarra: for python37 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613333207193000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:06:52 UTC - Michele Sciabarra: does it work? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613333212193200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:27:32 UTC - Joshua Dunham: I just can't quite get it. Using your actionloop/python38jd works, swapping that out for my container does not. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613334452193400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:28:21 UTC - Joshua Dunham: i even exec'd into actionloop/python38jd and grabbed /bin/compile and /lib/launcher.py in case. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613334501193600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:51:50 UTC - Michele Sciabarra: I do not know how you build the container https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613335910193800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:51:50 UTC - Michele Sciabarra: I do not know how you build the container https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613335910194000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 20:52:04 UTC - Michele Sciabarra: I used your dockefile in the python37 folder https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613335924194200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 21:20:10 UTC - Joshua Dunham: Hmph, I've checked the shasum of /bin/proxy, /bin/compile, and /lib/launcher.py and they are all the same. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613337610194400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 21:21:07 UTC - Joshua Dunham: same being in my local build container and the python38jd https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613337667194600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 21:47:29 UTC - Michele Sciabarra: I think there is something in the image if you push somewhere I can give a look https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613339249194800?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 21:49:32 UTC - Joshua Dunham: Think I got it ... no idea what I shook loose. Doing another build in CI/CD to confirm. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613339372195000?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 22:15:18 UTC - Joshua Dunham: wowow, that was an exercise in frustration management. Finally back on track (with no idea what happened). https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613340918195200?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 22:16:27 UTC - Joshua Dunham: Can submit a MR for this if you think it's useful. It's ~40MB footprint currently. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613340987195400?thread_ts=1613274126.169500&cid=C3TPCAQG1 ---- 2021-02-14 22:16:47 UTC - Joshua Dunham: I don't have an apache submitter record on file. :confused: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1613341007195600?thread_ts=1613274126.169500&cid=C3TPCAQG1 ----