You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by OpenWhisk Team Slack <ra...@apache.org> on 2019/02/25 07:15:57 UTC

[slack-digest] [2019-02-24] #general

2019-02-24 06:35:35 UTC - Vikash: It worked. Thanks, @Rodric Rabbah, and @Michele Sciabarra for your help.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1550990135072200?thread_ts=1550426649.113700&cid=C3TPCAQG1
----
2019-02-24 06:40:43 UTC - Rodric Rabbah: Glad to hear it. Which wskprops file did you end up removing?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1550990443073000?thread_ts=1550426649.113700&cid=C3TPCAQG1
----
2019-02-24 13:57:00 UTC - Andrei Alecu: Hello all. Recently set up a fresh instance of docker + kubernetes + openwhisk and trying to run it with serverless-openwhisk and nodejs, but I'm running into this problem deploying api gateways:

```
Serverless Error ---------------------------------------

  Failed to deploy API Gateway route due to error: POST <https://localhost:31001/api/v1/web/whisk.system/apimgmt/createApi.http> Returned HTTP 502 (Bad Gateway) --&gt; "API creation failure: Unable to configure the API Gateway: "Invalid URI \"undefined/tenants\"""
```

The functions are deployed properly, it's just the api gateway failing. Manually running `wsk -i api create /hello GET /guest/myapi-staging-hello` does work, so I'm not sure what is wrong. There's an issue here as well: <https://github.com/serverless/serverless-openwhisk/issues/103> which led me to this slack and @James Thomas. I'd like to help debug this, any suggestions where to start?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551016620078100
----
2019-02-24 14:22:30 UTC - Rodric Rabbah: just tried and it worked for me
```
&gt;wsk -i api list
ok: APIs
Action          Verb  API Name  URL
/guest/hello     get    /hello  <http://172.17.0.1:9090/api/23bc46b1-71f6-4ed5-8c54-816aa4f8c502/hello/world>
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551018150078300?thread_ts=1550961506.072100&cid=C3TPCAQG1
----
2019-02-24 14:22:44 UTC - Rodric Rabbah: were there any errors during your install?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551018164078500?thread_ts=1550961506.072100&cid=C3TPCAQG1
----
2019-02-24 14:23:50 UTC - Rodric Rabbah: run this command:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551018230078700?thread_ts=1550961506.072100&cid=C3TPCAQG1
----
2019-02-24 14:23:56 UTC - Rodric Rabbah: ```
&gt; wsk -i action list -u `cat openwhisk-src/ansible/files/auth.whisk.system` 
```

it should report the following actions:
```
/whisk.system/apimgmt/deleteApi                                        private nodejs:6
/whisk.system/apimgmt/createApi                                        private nodejs:6
/whisk.system/apimgmt/getApi                                           private nodejs:6                         
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551018236078900?thread_ts=1550961506.072100&cid=C3TPCAQG1
----
2019-02-24 21:41:30 UTC - Vikash: @Rodric Rabbah I removed the one which is present in the docker compose folder.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551044490079500?thread_ts=1550426649.113700&cid=C3TPCAQG1
----
2019-02-24 22:42:40 UTC - Rodric Rabbah: @Mark Deuser do you know what the error means? ^^
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551048160079900?thread_ts=1551048160.079900&cid=C3TPCAQG1
----