2022-02-27 13:41:33 UTC - Seyed Mohammad GHFRN: Hi everyone; I'm doing some experiments using the standalone OpenWhisk Docker: <https://hub.docker.com/r/openwhisk/standalone>
But its seems the 'Alarms Package' or `whisk.system/alarms` is not installed in this image. Can anyone help me install and enable this package for the Guest user? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645969293788799 ---- 2022-02-27 13:44:36 UTC - Seyed Mohammad GHFRN: There is an old issue on how to install this package: <https://github.com/apache/openwhisk-package-alarms/issues/51> But I'm not sure how to apply the instructions for the standalone deployment. Highly appreciate any help on this. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645969476209049 ---- 2022-02-27 13:45:57 UTC - Seyed Mohammad GHFRN: There is even an open issue on this matter: <https://github.com/apache/openwhisk-package-alarms/issues/94> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645969557926369 ---- 2022-02-27 15:08:08 UTC - Seyed Mohammad GHFRN: Folks I'm also seeing another issue here. I've defined a simple Action, Trigger, and Rule like below: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974488626209 ---- 2022-02-27 15:09:31 UTC - Seyed Mohammad GHFRN: ```$ wsk action create helloPy hello.py ok: created action helloPy $ wsk trigger create test-trigger ok: created trigger test-trigger $ wsk rule create test-rule test-trigger helloPy ok: created rule test-rule``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974571525279 ---- 2022-02-27 15:09:52 UTC - Seyed Mohammad GHFRN: Manually invoking `helloPy` works fine as expected. ```# wsk action invoke helloPy --result { "greeting": "Hello stranger!" }``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974592225479 ---- 2022-02-27 15:10:35 UTC - Seyed Mohammad GHFRN: Now when I fire `test-trigger`` to invoke my Action as below: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974635357639 ---- 2022-02-27 15:11:02 UTC - Seyed Mohammad GHFRN: ```$ wsk trigger fire test-trigger ok: triggered /_/test-trigger with id d7575ce0439c4723975ce0439c67239b``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974662011059 ---- 2022-02-27 15:11:27 UTC - Seyed Mohammad GHFRN: What I see in the output of `wsk activation poll` is: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974687680169 ---- 2022-02-27 15:11:52 UTC - Seyed Mohammad GHFRN: ```Activation: 'test-trigger' (d7575ce0439c4723975ce0439c67239b) [ "{\"statusCode\":3,\"success\":false,\"rule\":\"guest/test-rule\",\"error\":\"There was an internal server error.\",\"action\":\"guest/helloPy\"}" ]``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974712529179 ---- 2022-02-27 15:12:19 UTC - Seyed Mohammad GHFRN: And when I inspect the Docker logs: https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974739141609 ---- 2022-02-27 15:13:33 UTC - Seyed Mohammad GHFRN: ```$ docker logs openwhisk [2022-02-27T15:00:43.776Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] POST /api/v1/namespaces/_/triggers/test-trigger [2022-02-27T15:00:43.778Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [Identity] [GET] serving from cache: CacheKey(23bc46b1-71f6-4ed5-8c54-816aa4f8c502) [marker:database_cacheHit_counter:2] [2022-02-27T15:00:43.779Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [WhiskTrigger] [GET] serving from cache: CacheKey(guest/test-trigger) [marker:database_cacheHit_counter:3] [2022-02-27T15:00:43.780Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [TriggersApi] [POST] trigger activation id: fcabfc1104bd49c2abfc1104bd39c2c4 [2022-02-27T15:00:43.781Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [BasicHttpService] [marker:http_post.202_counter:5:5] [2022-02-27T15:00:43.795Z] [ERROR] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [TriggersApi] trigger-fired action 'guest/helloPy' failed to invoke with akka.stream.StreamTcpException: Tcp command [Connect(localhost:3233,None,List(),Some(10 seconds),true)] failed because of java.net.ConnectException: Connection refused [2022-02-27T15:00:43.796Z] [INFO] [#tid_M7OYhKYqwHbu6WrCqwYi1ElgJTryf6IE] [MemoryArtifactStore] [PUT] 'activations' saving document: 'id: guest/fcabfc1104bd49c2abfc1104bd39c2c4, rev: null' [marker:database_saveDocument_start:20]``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974813852449 ---- 2022-02-27 15:15:23 UTC - Seyed Mohammad GHFRN: As you can see there's an error message from the `TriggersApi` class caused by an `akka.stream.StreamTcpException` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645974923606339 ---- 2022-02-27 15:18:21 UTC - Seyed Mohammad GHFRN: It says: `Connect(localhost:3233,None,List(),Some(10 seconds),true)] failed because of java.net.ConnectException: Connection refused` But when I check it with `curl localhost:3233` works fine! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645975101264509 ---- 2022-02-27 15:18:27 UTC - Seyed Mohammad GHFRN: What am I missing here?! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1645975107399769 ----