2020-02-04 00:19:19 UTC - Rodric Rabbah: in code: <https://github.com/apache/openwhisk/blob/93f0bc602766e6be8744cfc89bdcf5d63d4ba55b/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/kubernetes/KubernetesClient.scala#L77> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775559073200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:20:31 UTC - Rodric Rabbah: the values from the config are read at deployment time here and used to instantiate an instance of this type https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775631073400?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:20:32 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/8bf79efa0c5fa5f83a1bf60604f8c85abcd32ac2/common/scala/src/main/scala/org/apache/openwhisk/common/ConfigMapValue.scala#L32-L46> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775632073600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:22:27 UTC - Tom Barber: yeah, i'm having a right nightmare getting it to parse my YAML https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775747073800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:22:52 UTC - Rodric Rabbah: :scream: sorry https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775772074000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:22:54 UTC - Tom Barber: ```whisk: ingress: type: NodePort apiHostName: 192.168.65.3 apiHostPort: 31001 limits: actions: time: std: "3m" podtemplate: | apiVersion: "v1" kind: "Pod" metadata: annotations: allow-outbound : "true"``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775774074200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:23:13 UTC - Tom Barber: that i believe is accurate because if I swap the podtemplate stuff for a file that doesn't exist, it blows up https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775793074400?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:23:22 UTC - Tom Barber: ```Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping in 'reader', line 1, column 1: apiVersion: "v1" kind: "Pod" met ... ^ expected <block end>, but found '<scalar>' in 'reader', line 1, column 18: apiVersion: "v1" kind: "Pod" metadata: annotation ...``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775802074600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:23:32 UTC - Tom Barber: but its like its parsing it as a single line or something https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775812074800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:24:53 UTC - Rodric Rabbah: what is `|` for after `podtemplate` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775893075000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:25:14 UTC - Tom Barber: like an inline block of sub-yaml, so to speak https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775914075200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:25:40 UTC - Tom Barber: i'll try it without https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775940075400?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:26:06 UTC - Rodric Rabbah: i wasn’t sure - i dont speak good yaml :smile: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580775966075600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:26:44 UTC - Tom Barber: i've used it in other stuff and was linked to on one of the comments in the code, so I think its legit, but i'll try anything at this point :stuck_out_tongue: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776004075800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:28:40 UTC - Tom Barber: yeah different, but worse error without it :wink: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776120076000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:31:38 UTC - Rodric Rabbah: a couple of questions https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776298076200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:32:14 UTC - Rodric Rabbah: the kubernetes section is missing and pod-template should be used instead of podtemplate per the tests and code https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776334076400?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:32:30 UTC - Rodric Rabbah: your snipet has whisk.podtemplate directly defined https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776350076600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:34:42 UTC - Tom Barber: yeah so I also had to make some changes to the helm chart, because pod template isn't actually referenced anywhere, so unless I'm missing something, I stuck in a reference to it and changed it from pod-template to podTemplate because pod-template isn't valid in a helm template https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580776482076900?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:47:08 UTC - Tom Barber: ```whisk: ingress: type: NodePort apiHostName: 192.168.65.3 apiHostPort: 31001 limits: actions: time: std: "3m" kubernetes: pod-template: | apiVersion: "v1" kind: "Pod" metadata: annotations: allow-outbound : "true"``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580777228077100?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:47:24 UTC - Tom Barber: thats what's in the PR as far as I can tell https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580777244077300?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:47:49 UTC - Tom Barber: but looking at the descriptor for the pod it generates, allow-outbount is no where to be seen https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580777269077500?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:48:19 UTC - Tom Barber: like, i don't think its remotely read https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580777299077700?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 00:48:30 UTC - Tom Barber: where as at least when the YAML blows up... you can see its being read :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580777310077900?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 01:48:45 UTC - Dave Grove: @chetanm — could you help out questions about how to use the pod template? Looks like we need some example of how to use the function added in <https://github.com/apache/openwhisk/pull/4690> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580780925078300?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 03:19:31 UTC - chetanm: Yeah we need to add proper support for this in deploy-kube repo as its bit tricky to setup https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580786371078600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 03:20:52 UTC - chetanm: @Neeraj Mangal May be you have some example to share https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580786452078800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 04:23:04 UTC - Neeraj Mangal: Sure Chetan. Instead of putting up a pod template inline within the values.yaml, for now you can have a action-pod.yaml.tpl in repo and then reference it in invoker conf. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580790184079000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 04:23:30 UTC - Neeraj Mangal: I will raise a PR with an example and proper support for it. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580790210079200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 05:08:13 UTC - Saahitya E: Hey all, openwhisk noob here. Quick question - why does the controller get the action from couchdb if it doesn't send it to the invoker? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580792893086600?thread_ts=1580792893.086600&cid=C3TPCAQG1 ---- 2020-02-04 06:55:07 UTC - Cristian Prigoana: :wave hello! Also just adopted openwhisk recently (and love it so far!)
I'm just wondering, is there a way to secure/encrypt the authorization credentials when calling an action? (so we could, in theory, store them on the client side) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580799307092500?thread_ts=1580799307.092500&cid=C3TPCAQG1 ---- 2020-02-04 06:58:34 UTC - Neeraj Mangal: ```whisk { metrics { prometheus-enabled = true } kubernetes { pod-template = "file:/action-pod-template.yaml" } }``` <https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/whiskconfig.conf> Create a `action-pod-template.yaml.tpl` and add it to invoker-cm.yaml as under data. ```action-pod-template.yaml: | {{ tpl (.Files.Get "configMapFiles/invoker/action-pod-template.yaml.tpl") . | indent 4 }}``` Add volume mount for action template file. <https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/templates/_helpers.tpl#L297> I know this is lot of thing to do. I will try to simplify it with a PR soon. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580799514092600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 07:57:55 UTC - Neeraj Mangal: I tested this with standalone openwhisk with kcf, this seems to work. Will try with openwhisk kind cluster. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580803075092800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 07:58:14 UTC - Neeraj Mangal: ```mangal-macOS:io-xt-deploy mangal$ kubectl get pod wsk0-1-prewarm-nodejs10 -o yaml apiVersion: v1 kind: Pod metadata: annotations: allow-outbound: "true" creationTimestamp: "2020-02-04T07:53:48Z" labels: invoker: invoker0 name: wsk0-1-prewarm-nodejs10 name: wsk0-1-prewarm-nodejs10 namespace: default resourceVersion: "6672"``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580803094093000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 10:43:03 UTC - Tom Barber: morning folks https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580812983093200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 10:43:26 UTC - Tom Barber: thanks for looking at this whilst I slept on it! I shall give @Neeraj Mangal’s tips a go https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580813006093400?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 10:50:37 UTC - Tom Barber: hmmm i was close last night, I tried getting a single file volume mounted in there failed and went back to testing inline. I'll get that colume fixed up https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580813437093600?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 10:57:07 UTC - Tom Barber: oooh that file snippet was from whiskconfig.conf?!! I would never have guessed that, I've never seen this file :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580813827093800?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 11:23:24 UTC - Tom Barber: so i've got my config into the CM but the other thing I noticed yesterday, is, there's no openwhisk volumes being mounted when running this via helm into the invoker container, so I haven't figured out where to get the CM volume mounted yet https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580815404094000?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 11:54:09 UTC - Tom Barber: huzzar! with a combination of hacks, I think I've finally got something working. Thanks folks. I think we can safely say, file into CM -> CM to volume -> volume mounted as a file -> file referenced in config is the way to go https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817249094200?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 11:55:19 UTC - Tom Barber: although if I'd edited the correct file, the inline stuff may have done I guess. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817319094700?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 11:55:23 UTC - Rodric Rabbah: @dan mcweeney has a PR open for that https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817323095000?thread_ts=1580799307.092500&cid=C3TPCAQG1 ---- 2020-02-04 11:55:58 UTC - Rodric Rabbah: To check that the action is valid. Also it needs some of the metadata like parameters to merge with the input event. +1 : Saahitya E, Bilal https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817358096200?thread_ts=1580792893.086600&cid=C3TPCAQG1 ---- 2020-02-04 11:56:27 UTC - Rodric Rabbah: Welcome @Saahitya E and @Cristian Prigoana to the community. raised_hands : Cristian Prigoana, Saahitya E https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817387097100 ---- 2020-02-04 11:57:53 UTC - Tom Barber: ```wskowdev-invoker-00-7-guest-pixlizeserverlessdevtestdocker 0/1 ContainerCreating 0 32s``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817473097300?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 11:58:17 UTC - Tom Barber: :sob: I'm so happy I could cry +1 : Neeraj Mangal, chetanm whisking : Dave Grove https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817497097500?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 12:03:48 UTC - Rodric Rabbah: :clap:🥳 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580817828097900?thread_ts=1580760913.071500&cid=C3TPCAQG1 ---- 2020-02-04 13:06:15 UTC - Cristian Prigoana: Cool, is it this one? <https://github.com/apache/openwhisk/pull/4756> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580821575098400?thread_ts=1580799307.092500&cid=C3TPCAQG1 ---- 2020-02-04 15:02:16 UTC - Tom Barber: ```host = os.environ.get('__OW_API_HOST') ns = os.environ.get('__OW_NAMESPACE') key = os.environ.get('__OW_API_KEY')``` are supposed to be env vars set on the invoker, right? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580828536099200 ---- 2020-02-04 15:03:45 UTC - Tom Barber: this stuff worked 3 hours ago :exploding_head: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580828625099700 ---- 2020-02-04 15:06:08 UTC - Tom Barber: 3rd deploy and it does :man-shrugging: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580828768100300?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 15:14:08 UTC - Bilal: The classic turn it off and turn it on again. :rolling_on_the_floor_laughing: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580829248100500?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 15:18:30 UTC - Tom Barber: weird it failed again but i'm printing it out https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580829510100700?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 15:18:39 UTC - Tom Barber: this time it says the key is "guest" https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580829519100900?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 15:20:40 UTC - Bilal: default namespace is "guest" as is the default user/auth. Should be able to make new users with wskadmin. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580829640101100?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 16:42:47 UTC - Rodric Rabbah: Where did you print them out? Outside of main? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580834567102300?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 16:56:57 UTC - Rodric Rabbah: Yep https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580835417102600?thread_ts=1580799307.092500&cid=C3TPCAQG1 ---- 2020-02-04 17:03:22 UTC - Tom Barber: ```def shortAction(params): action = 'pixlize-serverless-dev-testDocker' host = os.environ.get('__OW_API_HOST') ns = os.environ.get('__OW_NAMESPACE') key = os.environ.get('__OW_API_KEY') print("VARS:") print(host) print(ns) print(key) url = host + '/api/v1/namespaces/' + ns + '/actions/' + action p = {} response = <http://requests.post|requests.post>(url, json=p, verify=False, params={'blocking': 'false'}, auth=(key.split(':')[0], key.split(':')[1])) return makeResponse(200, {"response": response.json()})``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580835802102800?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 17:03:31 UTC - Tom Barber: but i can do an sls deploy or something and then it comes back to life https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580835811103000?thread_ts=1580828768.100300&cid=C3TPCAQG1 ---- 2020-02-04 17:28:22 UTC - Tom Barber: other random question about an action chained to a docker action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837302103500 ---- 2020-02-04 17:29:20 UTC - Tom Barber: if I curl my endpoint and trigger the first action: ```{"response": {"activationId": "ccbb2290e739461dbb2290e739261d90"}}``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837360104100 ---- 2020-02-04 17:29:26 UTC - Tom Barber: I get the activation ID of the sub action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837366104300 ---- 2020-02-04 17:29:40 UTC - Tom Barber: in the logs I can see both of them triggered https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837380104600 ---- 2020-02-04 17:29:58 UTC - Tom Barber: the second one failed https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837398104800 ---- 2020-02-04 17:30:02 UTC - Tom Barber: which is fine https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837402105000 ---- 2020-02-04 17:30:09 UTC - Tom Barber: cause i've not wired it up properly yet https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837409105200 ---- 2020-02-04 17:30:17 UTC - Tom Barber: but why do the pods persist https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837417105600 ---- 2020-02-04 17:30:25 UTC - Tom Barber: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837425105700 ---- 2020-02-04 17:31:45 UTC - Tom Barber: All the short one does is trigger the second one: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837505106200 ---- 2020-02-04 17:31:56 UTC - Tom Barber: ```def shortAction(params): action = 'pixlize-serverless-dev-testDocker' host = os.environ.get('__OW_API_HOST') ns = os.environ.get('__OW_NAMESPACE') key = os.environ.get('__OW_API_KEY') url = host + '/api/v1/namespaces/' + ns + '/actions/' + action p = {} response = <http://requests.post|requests.post>(url, json=p, verify=False, params={'blocking': 'false'}, auth=(key.split(':')[0], key.split(':')[1])) return makeResponse(200, {"response": response.json()})``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837516106400 ---- 2020-02-04 17:32:04 UTC - Tom Barber: surely it should just run and exit? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837524106600 ---- 2020-02-04 17:33:31 UTC - Tom Barber: or does it stick around to get called again or something? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837611107000 ---- 2020-02-04 17:33:51 UTC - Tom Barber: just trying to figure out if this is bug/feature or something I've done stupid https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580837631107500 ---- 2020-02-04 17:43:09 UTC - Rodric Rabbah: This is a feature that allows containers to be reused for a function - where the second invocation is called a warm start. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580838189108800 ---- 2020-02-04 17:43:30 UTC - Rodric Rabbah: There’s a deployment configuration parameter that controls how long such containers stay around. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580838210109600 ---- 2020-02-04 19:20:20 UTC - dan mcweeney: > so we could, in theory, store them on the client side Just to clarify this will encrypt parameters in the database and only decrypt then when the action is invoked, i.e. `wsk action get <whatever>` you see the encrypted parameters. however if you `console.log(someSecret)` in your action you can "leak" the secret in the logs. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580844020109700?thread_ts=1580799307.092500&cid=C3TPCAQG1 ---- 2020-02-04 19:44:52 UTC - Tom Barber: cool https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580845492110000 ---- 2020-02-04 19:45:09 UTC - Tom Barber: I just haven't paid enough attention until I couldn't pull a container... now I'm like a pod hawk :wink: eagle : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580845509110500 ---- 2020-02-04 20:30:50 UTC - Tom Barber: ```p = { "access_key":"<>", "secret":"<>", "job_id":"<>", "title":"Jobs", "file_name":"files00001.txt", "path":"Raw/SOL-00001/Experiment-00002", "config":"PiquantConfig/PIXL", "elements":"Fe,Ca,Ti,K", "other":"-q,PIETXCF -b,0,12,60,910,280,16 -t,6" } response = <http://requests.post|requests.post>(url, json=p, verify=False, params={'blocking': 'false'}, auth=(key.split(':')[0], key.split(':')[1]))``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580848250111000 ---- 2020-02-04 20:31:05 UTC - Tom Barber: does the API check the json for reserved words? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580848265111400 ---- 2020-02-04 20:31:11 UTC - Tom Barber: I assumed it would only be command line parameters https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580848271111700 ---- 2020-02-04 20:31:29 UTC - Tom Barber: ```"error": "Request defines parameters that are not allowed (e.g., reserved properties)."``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580848289112000 ---- 2020-02-04 20:31:36 UTC - Tom Barber: and if so, is there a list somewhere? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580848296112200 ---- 2020-02-04 20:55:35 UTC - Tom Barber: okay thoroughly confused.... if I rename every key as <name>1 is seems to process the request, otherwise it gets rejected https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580849735112800 ---- 2020-02-04 20:56:01 UTC - Tom Barber: clearly doing something moronic https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580849761113000 ---- 2020-02-04 21:00:49 UTC - Tom Barber: oooh, if the params are defined in the sls definition they become reserved? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580850049113500 ---- 2020-02-04 21:06:43 UTC - Tom Barber: so it does, if i remove them from SLS then its fine https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580850403113800 ---- 2020-02-04 21:06:51 UTC - Tom Barber: how confusing, oh well https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580850411114000 ---- 2020-02-04 21:29:10 UTC - Bilal: I'm not sure about SLS, but I know that parameters defined during creation of a web action are fixed and cannot be overridden. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580851750114800 ---- 2020-02-04 21:30:23 UTC - Bilal: <https://github.com/apache/openwhisk/blob/master/docs/annotations.md#annotations-specific-to-web-actions> final defaults to true for web actions. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580851823115300 ---- 2020-02-04 21:30:48 UTC - Tom Barber: yeah, its a bit of a mystery, I thought you defined the defaults and then could override them https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580851848116000 ---- 2020-02-04 21:30:50 UTC - Tom Barber: but clearly not https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580851850116200 ---- 2020-02-04 21:31:07 UTC - Tom Barber: but you can just post arbitrary stuff and it will get sucked up into the params object https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580851867116600 ---- 2020-02-04 21:41:06 UTC - Tom Barber: Alright..... last question for now I hope!!!!...... https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852466117100 ---- 2020-02-04 21:41:08 UTC - Tom Barber: :drum_with_drumsticks: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852468117300 ---- 2020-02-04 21:41:21 UTC - Tom Barber: If I start a non blocking action https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852481117600 ---- 2020-02-04 21:41:38 UTC - Tom Barber: it doesn't exist in `wsk -i activation list` until its finished, right? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852498118000?thread_ts=1580852498.118000&cid=C3TPCAQG1 ---- 2020-02-04 21:43:47 UTC - Tom Barber: and just to follow on from that... is there a way via the API to get a list of currently executing activations? or do I have to maintain that elsewhere? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852627118600?thread_ts=1580852627.118600&cid=C3TPCAQG1 ---- 2020-02-04 21:49:40 UTC - Tom Barber: okay ... not quite the last question https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852980119000 ---- 2020-02-04 21:49:47 UTC - Tom Barber: non blocking activations, do they have a 5 minute timeout? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852987119300?thread_ts=1580852987.119300&cid=C3TPCAQG1 ---- 2020-02-04 21:49:53 UTC - Tom Barber: if so https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852993119500 ---- 2020-02-04 21:49:58 UTC - Tom Barber: how do you make it a lot longer? :slightly_smiling_face: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580852998119800 ---- 2020-02-04 21:58:39 UTC - Tom Barber: would I be correct in prodding at CONFIG_whisk_timeLimit_max ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580853519120100?thread_ts=1580853519.120100&cid=C3TPCAQG1 ---- 2020-02-04 22:08:16 UTC - Rodric Rabbah: yes - there’s an open issue/feature request to improve this but hasn’t been worked on https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580854096120200?thread_ts=1580852498.118000&cid=C3TPCAQG1 ---- 2020-02-04 22:08:37 UTC - Rodric Rabbah: there isn’t - burden would be on you to maintain that list if you want to know what’s in progress https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580854117120400?thread_ts=1580852627.118600&cid=C3TPCAQG1 ---- 2020-02-04 22:08:52 UTC - Rodric Rabbah: they have the max action timeout which is 5 by default unless you change it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580854132120600?thread_ts=1580852987.119300&cid=C3TPCAQG1 ---- 2020-02-04 22:09:02 UTC - Rodric Rabbah: there’s a configuration parameter in one of the conf flies i think for max-duration https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580854142120800?thread_ts=1580852987.119300&cid=C3TPCAQG1 ---- 2020-02-04 22:09:08 UTC - Rodric Rabbah: sounds right https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580854148121000?thread_ts=1580853519.120100&cid=C3TPCAQG1 ---- 2020-02-04 22:31:22 UTC - Tom Barber: yeah found it thanks! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580855482121200?thread_ts=1580853519.120100&cid=C3TPCAQG1 ---- 2020-02-04 23:45:38 UTC - Tom Barber: alright... i'm out of questions, this cludge of code i've written is close to demotime.... you may all retire now! :wink: partyparrot : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580859938122000 ---- 2020-02-04 23:45:50 UTC - Tom Barber: thanks for the help https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1580859950122300 ----