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 2010/01/01 00:01:01 UTC

[slack-digest] [2022-01-30] #general

2022-01-30 11:10:42 UTC - David Williams: C:\Users\david&gt;wsk package list
error: Unable to obtain the list of packages for namespace 'default': Get "https://'http//localhost:3233'/api/v1/namespaces/_/packages?limit=30&amp;skip=0": dial tcp: lookup 'http: no such host
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541042926409
----
2022-01-30 11:10:59 UTC - David Williams: How do I fix the above error?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541059516479
----
2022-01-30 11:11:27 UTC - Dominic Kim: Your address is wrong `https://'http//localhost:3233`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541087271659
----
2022-01-30 11:11:35 UTC - Dominic Kim: Try removing the `http//`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541095461419
----
2022-01-30 11:14:18 UTC - David Williams: AUTH='23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'
APIHOST='<http://localhost:3233>'
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541258177109
----
2022-01-30 11:14:43 UTC - David Williams: The above is from .wskprops
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541283904849
----
2022-01-30 11:15:06 UTC - Dominic Kim: mine looks like this.
```$ cat ~/.wskprops
APIHOST=localhost
AUTH=23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541306893449
----
2022-01-30 11:15:41 UTC - Dominic Kim: If you are using standalone ow with http protocol, your address looks correct.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541341110139
----
2022-01-30 11:15:58 UTC - Dominic Kim: But the error complains about the wrong address.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541358888999
----
2022-01-30 11:16:20 UTC - Dominic Kim: Are you still facing the issue?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541380944429
----
2022-01-30 11:17:33 UTC - David Williams: Yes. I am using Windows 11 docker
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541453684299
----
2022-01-30 11:17:58 UTC - Dominic Kim: Is that still complaining about `https://'http//localhost:3233`?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541478013839
----
2022-01-30 11:20:37 UTC - David Williams: C:\Users\david&gt;wsk property set --apihost '<http://localhost:3233>' --auth '23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'
ok: whisk auth set. Run 'wsk property get --auth' to see the new value.
ok: whisk API host set to '<http://localhost:3233>'
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541637360989
----
2022-01-30 11:20:58 UTC - Dominic Kim: What is the error log?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643541658916899
----
2022-01-30 11:28:07 UTC - David Williams: E:\openwhisk-1.0.0&gt;gradlew core:standalone:bootRun
Build using Scala 2.12

&gt; Task :core:standalone:bootRun

        ____      ___                   _    _ _     _     _
       /\   \    / _ \ _ __   ___ _ __ | |  | | |__ (_)___| | __
  /\  /__\   \  | | | | '_ \ / _ \ '_ \| |  | | '_ \| / __| |/ /
&lt;============-&gt; 96% EXECUTING [1m 29s] | |/\| | | | | \__ \   &lt;
 \   \  /  \/    \___/| .__/ \___|_| |_|__/\__|_| |_|_|___/_|\_\
&lt;============-&gt; 96% EXECUTING [1m 22s]

================================================================================
Running pre flight checks ...

Local Host Name: localhost
Local Internal Name: host.docker.internal

[  OK   ] 'docker' cli found. (Docker version 20.10.7, build f0df350)
[  OK   ] 'docker' version 20.10.7 is newer than minimum supported 18.3.0
[  OK   ] 'docker' is running.[3s]
[FAILURE] 'wsk' cli not found.
        Download the cli from <https://s.apache.org/openwhisk-cli-download>
[  OK   ] Server port [3233] is free

================================================================================
[2022-01-30T19:23:46.019Z] [INFO] Starting OpenWhisk standalone on port 3233
[2022-01-30T19:23:46.647Z] [INFO] Slf4jLogger started
[2022-01-30T19:23:47.007Z] [INFO] Using [C:\Users\david\.openwhisk\standalone\server-3233] as data directory
[2022-01-30T19:23:47.720Z] [INFO] [#tid_sid_unknown] [StandaloneDockerClient] Detected docker client version 20.10.7
[2022-01-30T19:23:47.802Z] [INFO] [#tid_sid_standalone] [StandaloneDockerClient] running C:\Program Files\Docker\Docker\resources\bin\docker.exe ps --quiet --no-trunc --all --filter name=whisk- (timeout: 1 minute) [marker:invoker_docker.ps_start:10]
[2022-01-30T19:23:48.370Z] [INFO] [#tid_sid_standalone] [StandaloneDockerClient]  [marker:invoker_docker.ps_finish:579:445]core:standalone:bootRun
[2022-01-30T19:23:48.398Z] [INFO] [#tid_sid_standalone] [StandaloneDockerSupport] removing 0 containers launched for Standalone server support.
================================================================================
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643542087071449
----
2022-01-30 11:29:52 UTC - David Williams: I didn't know I got "'wsk' cli not found." during start up.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643542192512879
----
2022-01-30 11:46:10 UTC - David Williams: I fixed "'wsk' cli not found." issue
+1 : Dominic Kim
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643543170639749
----
2022-01-30 14:42:37 UTC - David Williams: Why https is used instead of http after I run "wsk property set --apihost '127.0.0.1'
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643553757495409
----
2022-01-30 14:46:57 UTC - David Williams: I have vpn running
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643554017872039
----
2022-01-30 18:54:19 UTC - Ben Carver: Is there a way I can restrict the scale of an action deployment (e.g., restrict the number of actively-running pods) or limit the amount of CPU that can be allocated to running functions?

I basically want to restrict the CPU to a certain amount in order to perform a comparison of sorts, but I do not know if this is possible. The `actionsInvokesConcurrent` parameter is close -- it sets the maximum number of concurrent action invocations by a single namespace. But this doesn't restrict the amount of CPU that gets allocated.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1643568859133839?thread_ts=1643568859.133839&cid=C3TPCAQG1
----