2020-02-25 01:38:18 UTC - Rodric Rabbah: 10 minutes or until a container needs 
to be made available for another action. The 10 minute period is configurable.  
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582594698047700?thread_ts=1582574328.045700&cid=C3TPCAQG1
----
2020-02-25 01:39:01 UTC - Rodric Rabbah: oops. I should’ve asked how long does 
it take to unzip your action. Might have told us if it was worth it. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582594741048800?thread_ts=1582574689.046200&cid=C3TPCAQG1
----
2020-02-25 01:40:20 UTC - Rodric Rabbah: Hmm. The invoker assumes it “owns” the 
machine it’s allocation containers on. You can do this I suppose by controlling 
the cpu and memory shares (indirectly the core count).
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582594820051000?thread_ts=1582570768.044800&cid=C3TPCAQG1
----
2020-02-25 06:07:27 UTC - Anuradha Natarajan: got it, thanks!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582610847051200?thread_ts=1582177678.103000&cid=C3TPCAQG1
----
2020-02-25 06:07:55 UTC - Anuradha Natarajan: Is there an option to enable 
security in openwhisk? can i create secured actions in openwhisk?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582610875051900
----
2020-02-25 06:14:10 UTC - Tom Barber: 
<https://github.com/apache/openwhisk/blob/master/docs/webactions.md> for 
webactions you can use the stuff in there
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582611250052300
----
2020-02-25 18:22:57 UTC - Kostis Kaffes: Thanks, I will probably try to hack 
something with cpusets.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582654977052600?thread_ts=1582570768.044800&cid=C3TPCAQG1
----
2020-02-25 20:24:38 UTC - Tom Barber: hello folks
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662278052900
----
2020-02-25 20:24:54 UTC - Tom Barber: calling an API call with ?blocking=false
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662294053200
----
2020-02-25 20:24:58 UTC - Tom Barber: but it seems to be blocking
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662298053400
----
2020-02-25 20:25:01 UTC - Tom Barber: why would this happen?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662301053600
----
2020-02-25 20:32:14 UTC - Rodric Rabbah: Calling how?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662734053800
----
2020-02-25 20:32:41 UTC - Rodric Rabbah: And are you setting result=true
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582662761054400
----
2020-02-25 20:38:04 UTC - Tom Barber: hey @Rodric Rabbah we're playing with a 
script that looks like :
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663084054700
----
2020-02-25 20:38:38 UTC - Tom Barber: ```import os
import requests
import json

def triggerOpenWhiskAction(jobId, action, params):
    host = os.environ.get('__OW_API_HOST')
    ns = os.environ.get('__OW_NAMESPACE')
    key = os.environ.get('__OW_API_KEY')
    url = host + '/api/v1/web/' + ns + '/default/pixlize-serverless-dev-' + 
action+".json"
    authBits = key.split(':')
    url = url.replace("https://","http://";)
    url = url+"?blocking=false&amp;result=false"
    response = <http://requests.post|requests.post>(url, json=params, 
verify=False)
    return response.json()




params = {"awsKey": "", "awsSecret": "", "dataBucket": "pixlise-data", 
"datasetPath": "n", "msaPath": "Raw/SOL-00001/Exp"}
print(triggerOpenWhiskAction("ccad75c2-0836-404a-9b3d-41df2a254f95", 
"quantJobTriggerPiquant", params))```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663118055400
----
2020-02-25 20:38:55 UTC - Tom Barber: but response doesn't return
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663135055600
----
2020-02-25 20:39:28 UTC - Rodric Rabbah: api/v1/web is a blocking 
request/response
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663168055900
----
2020-02-25 20:39:48 UTC - Rodric Rabbah: if the action takes too long, it will 
be demoted to a non-blocking but the api will respond with 40x i think
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663188056500
----
2020-02-25 20:40:14 UTC - Rodric Rabbah: to use non-blocking, use the POST api 
via /api/v1/namespaces/_/actions/pixlize-serverless-dev- …
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663214057300
----
2020-02-25 20:41:50 UTC - Tom Barber: erk, amazing how you retain all this 
knowledge! thanks :wink:
yay : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582663310057800
----
2020-02-25 21:02:18 UTC - Tom Barber: next up
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582664538058300
----
2020-02-25 21:02:18 UTC - Tom Barber: Too many concurrent requests in flight 
(count: 7, allowed: 7)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582664538058400
----
2020-02-25 21:02:22 UTC - Tom Barber: what do i need to adjust?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582664542058600
----
2020-02-25 21:05:14 UTC - Tom Barber: oh i see it in the ansible junk
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1582664714058800
----

Reply via email to