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/06 07:22:06 UTC

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

2019-03-05 14:32:45 UTC - Matt Rutkowski: v2 should be scaffolding only and is the one I was referencing we could simply delete and let the breaks occur where they may (as I am 100% sure I changed all the release repos. to ref. the ASF-Release.cfg)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796365074200
----
2019-03-05 14:35:39 UTC - Matt Rutkowski: the “v2” is actually much older and does not include lots of the *.extensions support (eg., .scala, .j2, etc.) and file exclusions I found when preparing for Apache releases.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796539075400
----
2019-03-05 14:36:57 UTC - Matt Rutkowski: ASF-Release.cfg is highly accurate and representative of exactly what we need for all our release repos. and documented exceptions (i.e., here <https://github.com/apache/incubator-openwhisk-release/blob/master/docs/license_compliance.md>)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796617076400
----
2019-03-05 14:37:37 UTC - Matt Rutkowski: in fact, our incubator-openwhisk-release repo. README accurately indicates all “release” repos SHOULD use “ASF-Release.cfg.” (<https://github.com/apache/incubator-openwhisk-release>)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796657077100
----
2019-03-05 14:38:04 UTC - Matt Rutkowski: specifically, ```The ASF scan configuration for all repos. can be found here: ASF-Release.cfg.```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796684077400
----
2019-03-05 14:38:08 UTC - Matt Rutkowski: and is hyperlinked
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551796688077600
----
2019-03-05 17:00:44 UTC - Satwik Kolhe: I am getting this error while invoking an action, which is using python-ldap package

```
    "logs": [
        "2019-03-05T16:58:00.82493416Z  stderr: Traceback (most recent call last):",
        "2019-03-05T16:58:00.824962994Z stderr: File \"pythonrunner.py\", line 87, in run",
        "2019-03-05T16:58:00.825015691Z stderr: exec(self.fn, self.global_context)",
        "2019-03-05T16:58:00.82502118Z  stderr: File \"__main__.py\", line 1, in &lt;module&gt;",
        "2019-03-05T16:58:00.825038929Z stderr: import ldap, jwt",
        "2019-03-05T16:58:00.825044135Z stderr: File \"/action/virtualenv/lib/python2.7/site-packages/ldap/__init__.py\", line 27, in &lt;module&gt;",
        "2019-03-05T16:58:00.825122089Z stderr: import _ldap",
        "2019-03-05T16:58:00.825130218Z stderr: ImportError: Error loading shared library libldap_r-2.4.so.2: No such file or directory (needed by /action/virtualenv/lib/python2.7/site-packages/_ldap.so)"
```

Basically _ldap.so is needing "libldap_r-2.4.so.2" file which is located in "/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2"

How can I package it in one zip.

Keeping libldap_r-2.4.so.2 in "virtualenv/lib/python2.7/site-packages" does not work! I guess _ldap.so is referencing to system files? Please correct me with this!

Thanks!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551805244078600?thread_ts=1551805244.078600&cid=C3TPCAQG1
----
2019-03-05 17:49:13 UTC - Satwik Kolhe: I suppose this wont work as python is relying on .so libs which are not referenced locally.

Any way to bundle this in one zip and deploy on python2actions?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551808153078800?thread_ts=1551805244.078600&cid=C3TPCAQG1
----
2019-03-05 20:07:21 UTC - Rodric Rabbah: can you use a docker action instead?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551816441079100?thread_ts=1551805244.078600&cid=C3TPCAQG1
----
2019-03-05 22:06:28 UTC - Saurab Joshi: I am currently trying to create alarm trigger but I am running into issues. I ran the following command.

```wsk trigger create interval   --feed /whisk.system/alarms/interval   --param minutes 2```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823588080900
----
2019-03-05 22:08:05 UTC - Saurab Joshi: This command makes multiple rest requests and looks like the first request goes through fine but second request is giving 502 bad gateway error.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823685082100
----
2019-03-05 22:08:26 UTC - Saurab Joshi: <https://localhost/api/v1/namespaces/whisk.system/actions/alarms/interval?blocking=true&amp;result=false> This is the URL it is trying to make POST request to.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823706082600
----
2019-03-05 22:08:56 UTC - Saurab Joshi: I am trying to find logs so I can debug it but I am not seeing anything.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823736083200
----
2019-03-05 22:10:44 UTC - Saurab Joshi: ```{
    "activationId": "eec16bafa0324edd816bafa0322edd62",
    "annotations": [
        {
            "key": "path",
            "value": "whisk.system/alarms/interval"
        },
        {
            "key": "waitTime",
            "value": 11
        },
        {
            "key": "kind",
            "value": "nodejs:6"
        },
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 60000
            }
        },
        {
            "key": "initTime",
            "value": 429
        }
    ],
    "duration": 1654,
    "end": 1551823824114,
    "logs": [],
    "name": "interval",
    "namespace": "guest",
    "publish": false,
    "response": {
        "result": {
            "error": {}
        },
        "status": "application error",
        "success": false
    },
    "start": 1551823822460,
    "subject": "guest",
    "version": "0.0.1"
}
{
    "activationId": "7abceb82630448f2bceb82630498f21b",
    "annotations": [
        {
            "key": "path",
            "value": "whisk.system/alarms/interval"
        },
        {
            "key": "waitTime",
            "value": 3427
        },
        {
            "key": "kind",
            "value": "nodejs:6"
        },
        {
            "key": "limits",
            "value": {
                "concurrency": 1,
                "logs": 10,
                "memory": 256,
                "timeout": 60000
            }
        },
        {
            "key": "initTime",
            "value": 834
        }
    ],
    "duration": 1877,
    "end": 1551823829487,
    "logs": [],
    "name": "interval",
    "namespace": "guest",
    "publish": false,
    "response": {
        "result": {
            "error": {}
        },
        "status": "application error",
        "success": false
    },
    "start": 1551823827610,
    "subject": "guest",
    "version": "0.0.1"
}
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823844083400
----
2019-03-05 22:10:54 UTC - Saurab Joshi: this is the output I am getting
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551823854083700
----
2019-03-05 22:19:29 UTC - Saurab Joshi: ```[2019-03-05T22:19:00.018Z] [INFO] [??] [alarmsTrigger] [createDatabase] creating the trigger database
[2019-03-05T22:19:00.055Z] [INFO] [??] [alarmsTrigger] [server.listen] Express server listening on port 8080
[2019-03-05T22:19:00.094Z] [INFO] [??] [alarmsTrigger] [initAllTriggers] resetting system from last state
```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551824369083900
----
2019-03-05 22:19:47 UTC - Saurab Joshi: this is logs for catalog_alarms container
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551824387084300
----
2019-03-05 22:42:45 UTC - Rodric Rabbah: a guess… the interval action can’t reach your alarm service
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551825765084900
----
2019-03-05 22:43:20 UTC - Rodric Rabbah: those activation responses are from `wsk activation get`?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551825800085500
----
2019-03-05 22:45:07 UTC - Rodric Rabbah: anyone notice `github actions` are now available on our apache repo?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1551825907086000
----