Open jameskim0987 opened 4 years ago
Can someone help on it? I am also getting the same issue.
Which OS are you guys using? I have tested with the CLI-1.2.0 on Linux and gotten no error.
I am using macOS. According to me, the above problem is due to not able to set namespace.
@archanaagrawal14 Are you using the m1 mac or amd64?
Anyway, you don't need to see the namespace.
The system will automatically recognize the namespace based on your auth(--auth
) information.
Using M2 chip I am setting the auth info, but still getting the same issue mention in the above thread. I am trying to do it as guest. As guest login is still supported?
Are you using this version of CLI? I have tested on my m1 mac but gotten no error as well.
whisk CLI version 2021-04-01T23:49:54.523+0000
You need to configure --auth
and --apihost
only.
Use this UUID and secret for the guest
namespace.
When the docker stop, I am getting this
When the docker is up,
It's showing unset cli version. Can you tell how to set that or anything else wrong?
Also, while creating the action, it shows ok action created but when checking the action list, created action is not there.
Have you tried with the CLI 1.2.0?
https://github.com/apache/openwhisk-cli/releases/tag/1.2.0
Are you able to run the wsk
cli itself or des it exit?
macbook16:OpenWhisk_CLI-1.2.0-mac-amd64 style95$ ./wsk
____ ___ _ _ _ _ _
/\ \ / _ \ _ __ ___ _ __ | | | | |__ (_)___| | __
/\ /__\ \ | | | | '_ \ / _ \ '_ \| | | | '_ \| / __| |/ /
/ \____ \ / | |_| | |_) | __/ | | | |/\| | | | | \__ \ <
\ \ / \/ \___/| .__/ \___|_| |_|__/\__|_| |_|_|___/_|\_\
\___\/ tm |_|
Usage:
wsk [command]
Available Commands:
action work with actions
activation work with activations
api work with APIs
help Help about any command
list list entities in the current namespace
namespace work with namespaces
package work with packages
project The OpenWhisk Project Management Tool
property work with whisk properties
rule work with rules
sdk work with the sdk
trigger work with triggers
Flags:
--apihost HOST whisk API HOST
--apiversion VERSION whisk API VERSION
-u, --auth KEY authorization KEY
--cert string client cert
-d, --debug debug level output
-h, --help help for wsk
-i, --insecure bypass certificate checking
--key string client key
-v, --verbose verbose output
Use "wsk [command] --help" for more information about a command.
Both the wsk version from brew install wsk and the latest wsk from the releases. I have been trying to install wsk and configure to start experimenting with the framework locally. However, I'm running into a major issue. After setting apihost and auth, I wanted to see if they were set correctly so I run the command:
wsk property get
and the output I get is thisI tried removing ~/.wskprops file, reinstalling wsk but I still get the same error.
This is the output of
wsk property get --debug
:On the documentation webpage (https://openwhisk.apache.org/documentation.html), it tells me to also have the --namespace argument but I get unknown flag: --namespace so I asked on the openwhisk slack channel and someone told me to drop the --namespace flag since it is not used anymore. However, towards the end of the debug message output, it seems like there is no namespace set and I'm not sure how to fix that problem.
Could I get some help?