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/11/22 09:26:47 UTC

[slack-digest] [2019-11-21] #general

2019-11-21 00:24:44 UTC - Matthew Hoffman: Hi all. I am interested in adding debugging support for lambda functions. I plan to do this using CNTR (university research project), which enables the mounting of a remote container (with debuggers and things not needed for general-use included). Can someone point me to a place to find mappings between previously invoked actions and the container it ran on?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574295884382000?thread_ts=1574295884.382000&cid=C3TPCAQG1
----
2019-11-21 02:56:55 UTC - seonghyun: Hi Abi! you can use `docker` parameter for deploying dockerized function. <https://github.com/apache/openwhisk-wskdeploy/blob/c1932d6a041dd35f8c56c823d1bb2514e9fa9eb3/tests/dat/manifest_data_compose_actions_for_docker.yaml#L27>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574305015382300?thread_ts=1574283235.374200&cid=C3TPCAQG1
----
2019-11-21 03:04:02 UTC - Abel Berenstein: Thank you, seonghyun. I am deploying a quarkus based function compiled to native. Is the native element required?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574305442382800?thread_ts=1574283235.374200&cid=C3TPCAQG1
----
2019-11-21 03:16:46 UTC - seonghyun: I think native element is not required.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574306206383300?thread_ts=1574283235.374200&cid=C3TPCAQG1
----
2019-11-21 03:16:51 UTC - seonghyun: ```quarkus-based-action:
	docker: nheidloff/quarkus-serverless```

heart : Abel Berenstein
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574306211383500?thread_ts=1574283235.374200&cid=C3TPCAQG1
----
2019-11-21 06:14:41 UTC - Rodric Rabbah: The lowest level of detail is in the invoker container proxy. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574316881384800?thread_ts=1574295884.382000&cid=C3TPCAQG1
----
2019-11-21 08:11:38 UTC - Markus Thömmes: Weeee, flood the gates :slightly_smiling_face:
whisking : chetanm, Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574323898385200
----
2019-11-21 08:11:42 UTC - Markus Thömmes: Good morning y'all :wave:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574323902385500
----
2019-11-21 08:13:34 UTC - Markus Thömmes: @chetanm ever seen StackOverFlow exceptions while compiling Scala in Travis? Pureconfig seems to be a beast with its auto derivation of case class parsers :disappointed:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324014386300
----
2019-11-21 08:15:10 UTC - chetanm: Yeah in another project trying to use a newer pureconfig and now have to add `import pureconfig.generic.auto._` everywhere. And for some reason Intellij considers this import as unused and removes it!! Had to mark it required
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324110387400
----
2019-11-21 08:15:58 UTC - Markus Thömmes: right, I put a PR out that does that (Regex based replace to the rescue :smile:)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324158388100
----
2019-11-21 08:17:54 UTC - Markus Thömmes: bumping memory for the compiler might fix it :man-shrugging:  Gonna have a look at that
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324274388500
----
2019-11-21 08:19:08 UTC - chetanm: Ah so newer version impacts build also. I thought change more about the usage pattern and existing shapeless based derivation remains unchanged. So looks like that also got changed now
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324348389400
----
2019-11-21 08:19:53 UTC - Markus Thömmes: I suppose we could switch to manual derivation. But that's super boilerplaty
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324393389800
----
2019-11-21 08:23:10 UTC - chetanm: yeah. I initially thought to attempt that and then realized we have quite a bit of config classes and shapeless based derivation does reduce all that boilerplate. So for now fine to live with longer compilation timings
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324590391100
----
2019-11-21 08:24:41 UTC - chetanm: btw may be create an issue for 2.13 upgrade and link all such PR there. Would help later to understand better what all it takes to upgrade Scala
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574324681392100
----
2019-11-21 08:34:34 UTC - Markus Thömmes: Sure, I'll do that in a sec
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574325274392300
----
2019-11-21 08:37:30 UTC - Markus Thömmes: there ya go: <https://github.com/apache/openwhisk/issues/4741>
+1 : chetanm, Jiang PengCheng
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574325450392600
----
2019-11-21 08:52:48 UTC - Markus Thömmes: What's the process for getting stuff merged these days? Most of this should be harmless to downstream projects up until now, right?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574326368393300
----
2019-11-21 08:57:37 UTC - chetanm: I think of 4 current PR 3 are safe. For pureconfig upgrade need to check if any downstream project is using pureconfig directly. Also need to check if `mesos-actor` library uses pureconfig directly or not. In such case we would need some coordination
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574326657395000?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 08:58:21 UTC - chetanm: Mesos stuff uses it <https://github.com/adobe-apiplatform/mesos-actor/blob/master/src/main/scala/com/adobe/api/platform/runtime/mesos/MesosClient.scala#L994>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574326701395100?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 09:26:31 UTC - chetanm: Also not sure if any downstream project implmenting spi makes use of that. They would alos need to update the usage
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574328391395300?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 11:55:07 UTC - Markus Thömmes: hmm, I see
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574337307395700?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 11:55:15 UTC - Markus Thömmes: I can fix the mesos-actor though if you want
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574337315395900?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 12:05:06 UTC - Markus Thömmes: sent a PR @chetanm
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574337906396100?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 12:05:30 UTC - Markus Thömmes: Do we still have the build logs available in a box folder? :smile:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574337930396500
----
2019-11-21 12:09:41 UTC - Markus Thömmes: <https://github.com/adobe-apiplatform/mesos-actor/pull/54>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574338181396600?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 12:10:09 UTC - chetanm: @Tyson Norris ^^
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574338209396800?thread_ts=1574326657.395000&cid=C3TPCAQG1
----
2019-11-21 12:30:00 UTC - chetanm: Approach taken by wskdebug may be of use for you <https://github.com/adobe/wskdebug>
+1 : Matthew Hoffman
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574339400397000?thread_ts=1574295884.382000&cid=C3TPCAQG1
----
2019-11-21 12:42:31 UTC - Christophe Jelger: Thx for your answer and sorry for the late reply. Another option would be to be able to get the version of the action, something like `__`_`OW`_`_ACTION_VERSION`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574340151397200?thread_ts=1574074860.342400&cid=C3TPCAQG1
----
2019-11-21 12:43:56 UTC - Christophe Jelger: I think it would be useful for any action that does some caching to be able to find out if it’s been newly deployed (= version change). This means anything we’d cache “per version/deployment” can be ignored when new code is deployed.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574340236397400?thread_ts=1574074860.342400&cid=C3TPCAQG1
----
2019-11-21 13:05:34 UTC - Rodric Rabbah: heh I’d have to check. Surely it’s full and needs to be gc’ed before new logs get stored. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574341534398700
----
2019-11-21 13:07:28 UTC - Rodric Rabbah: Can you suggest on the dev list? Adding version is doable but there is a caveat that delete and recreate resets the version and so you couldn’t detect a change with that alone for 0.0.1. We could add a digest also. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574341648400600?thread_ts=1574074860.342400&cid=C3TPCAQG1
----
2019-11-21 13:09:45 UTC - Markus Thömmes: meh, don't worry too much. I was just too lazy to set the system up locally again :smile:
yay : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574341785401200
----
2019-11-21 13:12:44 UTC - Christophe Jelger: Sure, np, thx
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574341964401300?thread_ts=1574074860.342400&cid=C3TPCAQG1
----
2019-11-21 13:17:10 UTC - Christophe Jelger: Hello. I had a brief chat with @Rodric Rabbah about the possibility to add `__`_`OW_`_`ACTION_VERSION` in the metadata received by actions, so that an action could find out what the current version is. One use case is for example to be able to invalidate cached data based on the version. Any comment? I can create an issue for it, unless there is a consensus against that.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574342230405000
----
2019-11-21 14:36:37 UTC - chetanm: Would be better to send a mail on <ma...@openwhisk.apache.org> and discuss the semantics there
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574346997405700
----
2019-11-21 15:57:07 UTC - Tom Barber: afternoon folks, random question cause i'm either looking in the wrong place or googling the wrong thing, or just coming at it the wrong way
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574351827407100
----
2019-11-21 15:57:36 UTC - Tom Barber: I've got a python web action thats firing but failing, how do I see the log output?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574351856407800
----
2019-11-21 15:57:48 UTC - Tom Barber: i've prodded around in the wsk cli and kubernetes pods but can't see anything obvious
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574351868408200
----
2019-11-21 16:01:13 UTC - Tom Barber: aah polling activations is what i'm after it seems
+1 : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574352073408600
----
2019-11-21 16:41:41 UTC - Tom Barber: anyone using serverless, python &amp; openwhisk?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354501409300
----
2019-11-21 16:44:27 UTC - Rodric Rabbah: you can also use `wsk activation list` to see a list of activations and status
then `wsk activation logs &lt;id&gt;` or `wsk activation get --last --logs` as other conveniences
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354667410600
----
2019-11-21 16:44:37 UTC - Rodric Rabbah: do you have a specific question about a failure?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354677410900
----
2019-11-21 16:46:48 UTC - Tom Barber: oh i'm just struggling to package virtualenv dependencies with serverless
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354808411300
----
2019-11-21 16:46:52 UTC - Tom Barber: just trying to fish out a solution
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354812411600
----
2019-11-21 16:48:40 UTC - Rodric Rabbah: serverless as in `sls` ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354920412000
----
2019-11-21 16:48:46 UTC - Tom Barber: yeah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574354926412200
----
2019-11-21 17:00:37 UTC - Tom Barber: well, in case anyone does use it: <https://github.com/buggtb/serverless-whisk-issues> `sls package` builds something, but `sls deploy` always says


```    "2019-11-21T16:58:30.241128Z    stdout: Traceback (most recent call last):",
    "2019-11-21T16:58:30.242435Z    stdout: ModuleNotFoundError: No module named 'boto3'",
    "2019-11-21T16:58:30.025Z       stderr: The action did not initialize or run as expected. Log data might be missing."```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574355637413000
----
2019-11-21 17:00:48 UTC - Tom Barber: even though i can see the libs in the zip
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574355648413300
----
2019-11-21 17:01:12 UTC - Tom Barber: i'm cross posting this to their forums as I assume its really an SLS issue, but worth asking on here I guess
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574355672413800
----
2019-11-21 17:02:10 UTC - Tom Barber: hmm or maybe its python versioning
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574355730414000
----
2019-11-21 17:02:15 UTC - Tom Barber: goes to read more docs
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574355735414100
----
2019-11-21 17:09:47 UTC - Rodric Rabbah: did you try to do it with just venv, zip the directory and do `wsk action create name zipfile --kind python:default` followed by an invoke?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574356187414900
----
2019-11-21 17:20:40 UTC - Tom Barber: oooh there we go, I'd misread the python version somewhere
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574356840415600
----
2019-11-21 17:20:46 UTC - Tom Barber: and got 3.7 not 3.6 in my venv
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574356846415900
----
2019-11-21 17:20:50 UTC - Tom Barber: :unamused:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574356850416100
----
2019-11-21 17:20:53 UTC - Tom Barber: user error
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574356853416300
----
2019-11-21 17:32:02 UTC - Rodric Rabbah: :+1:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574357522416500
----
2019-11-21 17:49:11 UTC - Tom Barber: Great platform you guys steward here @Rodric Rabbah really enjoyable to use
+1 : Dominic Kim
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574358551416800
----
2019-11-21 17:50:56 UTC - Rodric Rabbah: we love hearing that :heart:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1574358656417200
----