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/03/07 07:20:24 UTC

[slack-digest] [2019-03-06] #general

2019-03-06 00:41:06 UTC - Dominic Kim: &gt; anyone notice `github actions` are now available on our apache repo?
Are you mentioning this <https://github.com/apache/incubator-openwhisk-GitHubSlackBot> or this <https://github.com/apache/incubator-openwhisk-catalog/blob/master/packages/github/README.md>?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551832866086500
----
2019-03-06 02:07:42 UTC - keonhee Kim: @Saurab Joshi
Would you check if the other feeds work well? like `whisk.system/alarms/alarm`, `whisk.system/alarms/once`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551838062087300
----
2019-03-06 02:07:44 UTC - keonhee Kim: The feed is eventually a single action that seems to fail.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551838064087500
----
2019-03-06 02:10:58 UTC - keonhee Kim: The structure of the alarm feed is as follows.
`CLI` -----&gt; `whisk.system/alarms/interval` -----&gt; `whisk.system/alarmsWeb/alarmWebAction` -----&gt; `alarm service`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551838258088900
----
2019-03-06 02:12:38 UTC - keonhee Kim: Activation of the `whisk.system/alarms/interval` action, or if you have access to the whisk.system namespace, check the activation of the `whisk.system/alarmsWeb/alarmWebAction` action
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551838358089700
----
2019-03-06 05:42:32 UTC - Satwik Kolhe: I can try that! Will get back with the results.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551850952090000?thread_ts=1551805244.078600&cid=C3TPCAQG1
----
2019-03-06 13:56:18 UTC - Saurab Joshi: @keonhee Kim  I checked other feeds and they don't work either. I do see two containers running once I run the command to create a trigger.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880578091500
----
2019-03-06 13:56:23 UTC - Saurab Joshi: ```CONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS              PORTS                                                                                                 NAMES
a804cb9087a1        openwhisk/nodejs6action:latest   "/bin/sh -c 'node --…"   10 seconds ago      Up 6 seconds                                                                                                              wsk00_271_prewarm_nodejs6
a86ab8c3062f        openwhisk/nodejs6action:latest   "/bin/sh -c 'node --…"   11 seconds ago      Up 8 seconds         ```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880583091700
----
2019-03-06 13:56:40 UTC - Saurab Joshi: but there are no logs
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880600091900
----
2019-03-06 13:57:24 UTC - Saurab Joshi: Maybe I am messing up on the steps
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880644092100
----
2019-03-06 13:57:32 UTC - Saurab Joshi: but this is how installed Openwhisk
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880652092400
----
2019-03-06 14:00:21 UTC - Saurab Joshi: 1) <https://github.com/apache/incubator-openwhisk/tree/master/ansible> Installed Openwhisk using this ansible code. Currently it's deployed on Centos 7

2) Then installed alarms catalog using <https://github.com/apache/incubator-openwhisk-package-alarms/blob/master/installCatalog.sh>.

```installCatalog.sh $AUTH 172.17.0.1 172.17.0.1:5984 couchdb 172.17.0.1
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880821094100
----
2019-03-06 14:03:00 UTC - Saurab Joshi: 3) From incubator-openwhisk-package-alarms directory

```./gradlew :distDocker    
  mkdir -p /home/openwhisk/wsklogs/alarmsTrigger
$ export COUCHDB_PROTOCOL=`awk -F "=" '/db_protocol/ {print $2}' ~/openwhisk/ansible/db_local.ini`
$ export COUCHDB_HOST=`awk -F "=" '/db_host/ {print $2}' ~/openwhisk/ansible/db_local.ini`
$ export COUCHDB_PORT=`awk -F "=" '/db_port/ {print $2}' ~/openwhisk/ansible/db_local.ini`
$ export COUCHDB_USER=`awk -F "=" '/db_username/ {print $2}' ~/openwhisk/ansible/db_local.ini`
$ export COUCHDB_PWD=`awk -F "=" '/db_password/ {print $2}' ~/openwhisk/ansible/db_local.ini`
$ docker run -it -p 11001:8080 -v /home/openwhisk/wsklogs/alarmsTrigger:/logs \
-e PORT=8080 -e ROUTER_HOST=172.17.0.1 \
-e DB_PREFIX=whisk_alarms -e DB_USERNAME=${COUCHDB_USER} \
-e DB_PASSWORD=${COUCHDB_PWD} -e DB_HOST=${COUCHDB_HOST}:${COUCHDB_PORT} \
-e DB_PROTOCOL=${COUCHDB_PROTOCOL} whisk/catalog_alarms
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551880980095200
----
2019-03-06 14:03:32 UTC - Saurab Joshi: These containers can talk to each other btw.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551881012095700
----
2019-03-06 14:45:11 UTC - will: Hi I am installed in open shift however OC commands are slightly different. I need to get to wskadmin but the kubectl command provided isn't applicable. Is there a pod I can ssh into to call wsk admin? 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551883511098100
----
2019-03-06 14:55:28 UTC - Rodric Rabbah: I think so. @Michele Sciabarra ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884128098500
----
2019-03-06 14:56:32 UTC - Michele Sciabarra: Yes theere is
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884192098800
----
2019-03-06 14:56:54 UTC - Michele Sciabarra: I added ti on purpose in the latest helm release
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884214099500
----
2019-03-06 14:56:59 UTC - Carlos Santana: Yes 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884219099800
----
2019-03-06 14:57:37 UTC - Michele Sciabarra: You can see it with kubectl get pod
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884257100800
----
2019-03-06 14:58:26 UTC - Michele Sciabarra: Use it with kubectl exec -it OpenWhisk-wskadmin — wskadnin
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884306102200
----
2019-03-06 14:58:42 UTC - Michele Sciabarra: Change OpenWhisk with the name of the release
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884322102700
----
2019-03-06 15:05:58 UTC - will: @Michele Sciabarra so I need to update my installation? I don't see such a named pod oc get pods
NAME                                          READY     STATUS      RESTARTS   AGE
alarmprovider-8499679d74-x65hn                1/1       Running     0          42d
controller-0                                  1/1       Running     1          42d
couchdb-0                                     1/1       Running     0          42d
install-catalog-r4fxs                         0/1       Completed   0          42d
invoker-0                                     1/1       Running     0          42d
nginx-bf8f468d8-rtzfw                         1/1       Running     0          42d
preload-openwhisk-runtimes-qpcnn              0/1       Completed   0          42d
prune-activations-1551848400-hng4v            0/1       Completed   0          10h
refresh-activations-1551884400-s6sjf          0/1       Completed   0          2m
strimzi-cluster-controller-7855785d4f-rv7h4   1/1       Running     0          42d
strimzi-openwhisk-kafka-0                     1/1       Running     2          42d
strimzi-openwhisk-zookeeper-0                 1/1       Running     0          42d
wskinvoker-00-7-prewarm-nodejs6               1/1       Running     0          6d
wskinvoker-00-8-prewarm-nodejs6               1/1       Running     0          6d

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884758103600
----
2019-03-06 15:06:42 UTC - Michele Sciabarra: Uhm wich verrsion of the help chart are you using?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551884802104300
----
2019-03-06 15:10:41 UTC - will: I'm actually deploying from <https://github.com/apache/incubator-openwhisk-deploy-openshift/blob/master/README.md>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885041104800
----
2019-03-06 15:11:10 UTC - Carlos Santana: I think that’s an abandoned repo cc @Ben Browning 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885070105300
----
2019-03-06 15:12:54 UTC - Carlos Santana: Use the deploy-kube repo you can use helm to deploy or use helm to use the templating to generate the yamls that can be deploy with kubectl would be my advice 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885174108600
----
2019-03-06 15:13:53 UTC - will: It works. It's challenging to bridge the kubectl documentation to openshift and im under some permission constraints as this is an Enterprise installation and I'm only working in an openshift prokect. I can't even run kubectl it's all OC commands 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885233109700
----
2019-03-06 15:14:48 UTC - Carlos Santana: oc commands are compatible for the most part with kubectl syntax. You can also use kubectl with OpenShift 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885288111800
----
2019-03-06 15:16:06 UTC - will: Ok I will give it another shot guess the os template was too good to be true. Last time I tried helm I got permission errors.because again it was trying to work at the cluster level and not in my project sandbox. Thanks 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551885366113700
----
2019-03-06 16:06:40 UTC - Rob Allen: is in a client meeting, *still*
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551888400114200
----
2019-03-06 16:47:44 UTC - Michele Sciabarra: Any rust expert is invited to suggest improvements for the runtime submitting PR or just opening issues here: <https://github.com/apache/incubator-openwhisk-runtime-rust/tree/master/rust1.32/src>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551890864115200?thread_ts=1551890864.115200&cid=C3TPCAQG1
----
2019-03-06 17:00:44 UTC - Rodric Rabbah: @Carlos Santana i didnt see the chat, can you ask again?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891644115500
----
2019-03-06 17:01:11 UTC - Carlos Santana: Eventually I want the playground on the OpenWhisk website. 
partyparrot : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891671116100
----
2019-03-06 17:01:26 UTC - Carlos Santana: I willing to fund the droplet myself :-)
moneybag : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891686116600
----
2019-03-06 17:02:08 UTC - Carlos Santana: Or take one of the Apache test VMs :wink: 
+1 : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891728117300
----
2019-03-06 17:02:57 UTC - Carlos Santana: I like better the SaaS solution and just pay for a 1GB droplet 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891777118100
----
2019-03-06 17:03:09 UTC - Carlos Santana: Do you know how much is the cost for the droplet ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551891789118600
----
2019-03-06 17:08:55 UTC - chetanm: The lean one 1 GB is $5 / month
+1 : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551892135119100
----
2019-03-06 17:09:24 UTC - Dragos Dascalita Haut: I :heart: Digital Ocean
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551892164119700
----
2019-03-06 17:10:00 UTC - chetanm: <https://www.digitalocean.com/pricing/>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551892200119900
----
2019-03-06 17:11:09 UTC - Rodric Rabbah: it is cheap imo - and the experience is very delightful
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551892269120700
----
2019-03-06 17:34:20 UTC - Carlos Santana: I think we should rust 1.33 it just came out 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551893660121700?thread_ts=1551890864.115200&cid=C3TPCAQG1
----