[slack-digest] [2020-03-09] #general

2020-03-10 Thread OpenWhisk Team Slack
2020-03-09 03:01:52 UTC - Jiang PengCheng: by looking into the 
`openwhisk-deploy-kube` repo, I think you need to define these arguments in 
`_helpers.tpl`  and use it in `invoker-pod.yaml`  and `controler-pod.yaml` , 
like other arguments, such as the argument 
`CONFIG_whisk_kafka_replicationFactor` , it is located in the 
`ansible/roles/controller/tasks/deploy.yml` of the `openwhisk` repo and it also 
shows up in `openwhisk-deploy-kube` repo, you can search it in 
`openwhisk-deploy-kube`  to see how it is defined and passed to controllers and 
invokers
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583722912231500?thread_ts=1583435988.200500&cid=C3TPCAQG1

2020-03-09 07:15:04 UTC - Ali Shahidi: @Rodric Rabbah I want to use Post 
request in python and it needs the username and password and not authentication 
key. I use it this way but it does not work. This is my code:
```url = ''
myobj = {'blocking': 'true', 'result':'false'}

x = (url, data = myobj, verify=False, 
headers = {"Auth": 
'23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'})```
But I got this output from x:
 InsecureRequestWarning)

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583738104231800?thread_ts=1582966242.092000&cid=C3TPCAQG1

2020-03-09 08:30:30 UTC - chetanm: Earlier kamon system-metrics used to load 
sigar lib for collecting OS level metrics. We disabled that by excluding it as 
such stats should be collected at host level via some other monitoring system 

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742630232200?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:30:58 UTC - chetanm: Looks like now it has switched to 
 lib so . we may need to exclude that now
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742658232400?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:31:26 UTC - chetanm: cc @Markus Thömmes
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742686232600?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:34:30 UTC - Markus Thömmes: Yeah sounds sensible. How come this 
went through CI just fine?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742870232800?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:35:05 UTC - chetanm: I think it does not cause any funtional 
issue … just exception stack due to failure in loading library
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742905233000?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:35:19 UTC - Markus Thömmes: gotcha
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742919233200?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:35:21 UTC - chetanm: we may need a test to just assert startup 
for any warning or error level logging
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742921233400?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 08:35:54 UTC - chetanm: but then this needs to be done for various 
permutations of featureset :neutral_face:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583742954233600?thread_ts=1583536535.227000&cid=C3TPCAQG1

2020-03-09 11:20:09 UTC - Rekha: Hi,
trying to connect to postgres db from openwhisk using psycopg2 in rhel 7
`import psycopg2`
`conn = psycopg2.connect(database="testdb", user = "postgres", password = "", 
host = "10.50.139.65", port = "")`
`print( "Opened database successfully")`
As suggested by @Bilal tried to zip psycopg2 with this action, But still this 
doesnot work.
*Error :: psycopg2 module not found.*
Please suggest any alternate way.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583752809234700?thread_ts=1583752809.234700&cid=C3TPCAQG1

2020-03-09 13:10:50 UTC - Yinkang Huang: Hi, after deploy openwhisk on MAC, 
what is the API host variable? And what's the Authorization key?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583759450235700

2020-03-09 14:15:39 UTC - Rodric Rabbah: welcome @Yinkang Huang
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583763339236100

2020-03-09 14:16:30 UTC - Rodric Rabbah: how did you deploy on mac? usually 
it’s `localhost` and you can find the guest key in 

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583763390237000?thread_ts=1583763390.237000&cid=C3TPCAQG1

2020-03-09 14:18:20 UTC - Bilal: What does your zip file look like? How did you 
create virtualenv director?
```__main__.py
virtualenv/```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1583763500237100?thread_ts=1583752809.234700&cid=C3TPCAQG1

2020-03-09 16:24:43 UTC - Bilal: Thanks a bunch @Jiang PengCheng That did the 
trick. I was hoping I could simply edit 

Re: [RESULT][VOTE] Release Apache OpenWhisk wskdebug (v1.2.0, rc1)

2020-03-10 Thread Dave Grove
The vote to release wskdebug 1.2.0 was successful with 4 binding (rabbah, 
santana, sobkowiak, allen) and 1 non-binding (klimetschek) + 1 votes and no 
other votes.

Thanks to all who helped verify the release candidate; I will proceed with 
making the release.

--dave

On 2020/03/06 23:01:28, "David P Grove"  wrote: 
> 
> 
> Hi,
> 
> This is a call to vote on releasing version 1.2.0 release candidate rc1 of
> the following project module with artifacts built from the Git repositories
> and commit IDs listed below.
> 
> * OpenWhisk wskdebug: e8ab400e9ed793f9a22f01eb43cce5bc7d3c045f
> 
> https://github.com/apache/openwhisk-wskdebug/commits/e8ab400e9ed793f9a22f01eb43cce5bc7d3c045f
> 
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz
> 
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz.asc
> 
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz.sha512
> 
> This release is comprised of source code distribution only.
> 
> You can use this UNIX script to download the release and verify the
> checklist below:
> https://gitbox.apache.org/repos/asf?p=openwhisk-release.git;a=blob_plain;f=tools/rcverify.sh;hb=35e6ae7
> 
> Usage:
> curl -s "
> https://gitbox.apache.org/repos/asf?p=openwhisk-release.git;a=blob_plain;f=tools/rcverify.sh;hb=35e6ae7
> " -o rcverify.sh
> chmod +x rcverify.sh
> rcverify.sh openwhisk-wskdebug 'OpenWhisk wskdebug' 1.2.0 rc1
> 
> Please vote to approve this release:
> 
>   [ ] +1 Approve the release
>   [ ]  0 Don't care
>   [ ] -1 Don't release, because ...
> 
> Release verification checklist for reference:
>   [ ] Download links are valid.
>   [ ] Checksums and PGP signatures are valid.
>   [ ] Source code artifacts have correct names matching the current
> release.
>   [ ] LICENSE and NOTICE files are correct for each OpenWhisk repository.
>   [ ] All files have license headers as specified by OpenWhisk project
> policy [1].
>   [ ] No compiled archives bundled in source archive.
> 
> This majority vote is open for at least 72 hours.
> 
> 
> [1]
> https://github.com/apache/openwhisk-release/blob/master/docs/license_compliance.md
> 


Re: [RESULT][VOTE] Release Apache OpenWhisk wskdebug (v1.2.0, rc1)

2020-03-10 Thread Alexander Klimetschek
Thanks a lot! This marks the initial release after the contribution!

Now stay tuned for more PRs... 🙂

Cheers,
Alex

From: Dave Grove 
Sent: Tuesday, March 10, 2020 05:42
To: dev@openwhisk.apache.org 
Subject: Re: [RESULT][VOTE] Release Apache OpenWhisk wskdebug (v1.2.0, rc1)

The vote to release wskdebug 1.2.0 was successful with 4 binding (rabbah, 
santana, sobkowiak, allen) and 1 non-binding (klimetschek) + 1 votes and no 
other votes.

Thanks to all who helped verify the release candidate; I will proceed with 
making the release.

--dave

On 2020/03/06 23:01:28, "David P Grove"  wrote:
>
>
> Hi,
>
> This is a call to vote on releasing version 1.2.0 release candidate rc1 of
> the following project module with artifacts built from the Git repositories
> and commit IDs listed below.
>
> * OpenWhisk wskdebug: e8ab400e9ed793f9a22f01eb43cce5bc7d3c045f
>
> https://github.com/apache/openwhisk-wskdebug/commits/e8ab400e9ed793f9a22f01eb43cce5bc7d3c045f
>
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz
>
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz.asc
>
> https://dist.apache.org/repos/dist/dev/openwhisk/rc1/openwhisk-wskdebug-1.2.0-sources.tar.gz.sha512
>
> This release is comprised of source code distribution only.
>
> You can use this UNIX script to download the release and verify the
> checklist below:
> https://gitbox.apache.org/repos/asf?p=openwhisk-release.git;a=blob_plain;f=tools/rcverify.sh;hb=35e6ae7
>
> Usage:
> curl -s "
> https://gitbox.apache.org/repos/asf?p=openwhisk-release.git;a=blob_plain;f=tools/rcverify.sh;hb=35e6ae7
> " -o rcverify.sh
> chmod +x rcverify.sh
> rcverify.sh openwhisk-wskdebug 'OpenWhisk wskdebug' 1.2.0 rc1
>
> Please vote to approve this release:
>
>   [ ] +1 Approve the release
>   [ ]  0 Don't care
>   [ ] -1 Don't release, because ...
>
> Release verification checklist for reference:
>   [ ] Download links are valid.
>   [ ] Checksums and PGP signatures are valid.
>   [ ] Source code artifacts have correct names matching the current
> release.
>   [ ] LICENSE and NOTICE files are correct for each OpenWhisk repository.
>   [ ] All files have license headers as specified by OpenWhisk project
> policy [1].
>   [ ] No compiled archives bundled in source archive.
>
> This majority vote is open for at least 72 hours.
>
>
> [1]
> https://github.com/apache/openwhisk-release/blob/master/docs/license_compliance.md
>