2019-04-24 08:39:16 UTC - Xue Shuai: Hi, every one, I try to test OW with `invoker_user_memory=256000m`, but when I invoke an action, I got error response, "Failed to provision resources to run the action." My server memory is 256Gb. Is there any upper limit for `invoker_user_memory`? Thank you. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556095156107400 ---- 2019-04-24 12:53:23 UTC - Christophe Jelger: Hi everyone. Is it possible to update the “kind” (and only this) of an action with `wsk`? I’m trying ``` wsk action update ACTION_NAME --kind nodejs:10 wsk action update ACTION_NAME --annotation exec nodejs:10 ``` but it doesn’t work … any clue? Thx https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556110403001600?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:05:51 UTC - Rodric Rabbah: you cant update the annotation `exec` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556111151002400 ---- 2019-04-24 13:07:08 UTC - Carlos Santana: What error you get using update foo —kind ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556111228003000?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:36:04 UTC - Christophe Jelger: `error: Unable to create action 'foo': The connection failed, or timed out. (HTTP status code 400)` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556112964003400?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:36:28 UTC - Christophe Jelger: I think I haven’t updated `wsk` for a while, maybe I’ll update it first https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556112988003600?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:41:00 UTC - Christophe Jelger: After getting the latest `wsk` version, I now get a more meaningful error message: `error: Unable to create action 'foo': The 'nodejs:10-fat' runtime is no longer supported. You may read and delete but not update or invoke this action. (code Jhgg2GzINamHp5yxACGBXjCbcViyU8bD)` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113260003800?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:41:58 UTC - Carlos Santana: look at your deployment on what's going with the runtime `nodejs:10-fat` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113318004000?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:42:01 UTC - Christophe Jelger: the action has a runtime image no longer available on our platform (Adobe I/O Runtime) and I wanted to update all the actions that do have the old (removed) runtime https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113321004200?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:42:34 UTC - Christophe Jelger: But basically I cannot update that :disappointed: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113354004400?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:43:36 UTC - Carlos Santana: I think I remember a corner case that you can't update if the current one is deprecated, worth opening an issue. I think @Rob Allen hit this at one point need it to reploy with action artifact. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113416004600?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:43:55 UTC - Christophe Jelger: So you think it’s a bug or a feature? :wink: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113435004800?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:44:00 UTC - Carlos Santana: I think in retrospect if you don't have the original artifact or a CICD you have bigger issues in production environments https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113440005000?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:44:05 UTC - Rodric Rabbah: <https://github.com/rabbah/functions/> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113445005200?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 13:44:11 UTC - Rodric Rabbah: does that help https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113451005400?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 13:45:07 UTC - Carlos Santana: I think is a bug, since we are telling the user the current runtime on the action is not longer valid, and a new runtime is the valid one to move, lowest cost it would be to rename the `kind/exec` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113507005800?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:45:35 UTC - Christophe Jelger: ok I’ll open an issue: it’s indeed annoying to have to redeploy the code when one just wants to update the action kind https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113535006000?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:45:40 UTC - Christophe Jelger: Thx for your quick reply https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113540006300?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:46:17 UTC - Carlos Santana: I would love to see how you handle that in your automation scripts in CICD, you just deploy once and then just kind? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113577006500?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:47:00 UTC - Carlos Santana: like detecting is no source code or dependencies graph didn't change at all and only config, just deploy the config https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113620006700?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:48:00 UTC - Carlos Santana: I would just redeploy I have bitten in the past by old dependencies not working with newer nodejs versions https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113680006900?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:48:11 UTC - Christophe Jelger: the problem is that we maintain multiple versions of our packages, like `[email protected]`, `[email protected]`, etc, and they always get deployed with `nodejs:latest`. The problem is that someone decided to remove the old kinds, and now we have a problem with old versions. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113691007100?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:49:10 UTC - Carlos Santana: `nodejs:latest` yikes living on the bloody edge in production https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113750007300?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:49:24 UTC - Christophe Jelger: So I will now have to redeploy old versions, checking out released `tags`, and redeploy … pffff https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113764007500?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:49:29 UTC - Rob Allen: Doesn't everyone?! #YOLO https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113769007700?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:50:17 UTC - Christophe Jelger: The “edge” in production is sometimes pretty conservative :wink: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113817007900?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:51:53 UTC - Carlos Santana: I think is a good CLI bug to fix, I think is just CLI but who ever is doing the PR will find out if it's also backend changes. PR always welcome :wink: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113913008100?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:52:05 UTC - Carlos Santana: @Rodric Rabbah ^^ https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556113925008300?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:55:06 UTC - Christophe Jelger: looks like a backend issue: <https://github.com/apache/incubator-openwhisk/blob/master/common/scala/src/main/scala/org/apache/openwhisk/http/ErrorResponse.scala#L56-L63> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114106008500?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:56:12 UTC - Christophe Jelger: I didn’t find anything like that in the CLI repo https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114172008800?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:56:24 UTC - Carlos Santana: interesting maybe should allow update if only `kind` is specified https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114184009000?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:59:36 UTC - Rodric Rabbah: it’s on the backend - updating the kind only when runtime is deprecated is perfectly reasonable https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114376009300?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 13:59:44 UTC - Rodric Rabbah: why didn’t you think of that before Carlos!? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114384009500?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 14:02:26 UTC - Christophe Jelger: I created <https://github.com/apache/incubator-openwhisk/issues/4455> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114546009700?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 14:05:35 UTC - Carlos Santana: It was an intentional easter egg, for who ever didn't read my PSA Tweets on nodejs6 is EOL April 30 update to nodejs10 before it becomes deprecated, because if not you can't just update the kind after that date :wink: :luckyegg: zany_face : Rob Allen scream : Christophe Jelger https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556114735009900?thread_ts=1556110403.001600&cid=C3TPCAQG1 ---- 2019-04-24 15:19:57 UTC - Oliver Stenbom: Hi there Whiskers!
I'm implementing "my own" invoker for my masters project at Imperial College that explores the use of checkpoint/restore to eliminate cold starts and increase serverless throughput. Because of my lack of Scala knowledge, I'll be building a golang invoker that I'm hoping can nicely slot into any OpenWhisk deployment. Could anyone verify that my understanding of the invoker communication is correct? It goes something like: 1. Get a unique id from zookeeper 2. Create a new kafka topic for "invokerx" 3. Send a ping message to the controller & start "ping" server (or does the controller send pings to the controller every x seconds) 4. Pull messages from activation queue, get function from entity store 5. ... Decide which container to run on etc. (the part which will be different for me) 6. Send active-ack to controller on "completedx" topic & store result in activationStore Am i missing any communication here? Any extra info would be greatly appreciated before i end up getting it all wrong.. many thanks wave : James Thomas https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119197010800 ---- 2019-04-24 15:24:52 UTC - rawkintrevo: what i'm seeing is a url- not a posted image https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119492010900?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:24:55 UTC - rawkintrevo: is that correct? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119495011100?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:25:15 UTC - rawkintrevo: i also see the 1mb limit on params so guessing not going to be able to do it anyway https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119515011300?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:25:21 UTC - rawkintrevo: (like for real images) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119521011500?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:31:02 UTC - Rodric Rabbah: the model in general should be read image from a url like object store, and usually write it back to object store if the action is a web action and you want to pass the image in the http request body, you’ll get the image as base64 encoded in `__ow_body`. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119862011700?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:31:27 UTC - Rodric Rabbah: are you running openwhisk yourself? if so you can raise the 1mb limit if you really needed to https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556119887011900?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:42:12 UTC - rawkintrevo: nah i'm on ibm cloud function -_- https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556120532012200?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:42:35 UTC - rawkintrevo: but its ok- I think i was able to hack around it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556120555012600?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 15:42:57 UTC - rawkintrevo: also- thanks for the help https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556120577012800?thread_ts=1556061626.104100&cid=C3TPCAQG1 ---- 2019-04-24 18:44:32 UTC - Thomas H: BTW, the question in StackOverflow is mine wave : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556131472013700 ---- 2019-04-24 19:09:00 UTC - Rodric Rabbah: welcome @Thomas H https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556132940013900 ---- 2019-04-24 19:13:43 UTC - Thomas H: Thank @Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1556133223014200 ----
