apache / apache/openwhisk

Unable to obtain the list of entities for namespace 'default': The resource requires authentication, which was not supplied with the request (code d465c13bac106c2d6e895b6b67e168d0)

Open
#5,341 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

## Environment details:

* ubuntu 18
* Docker version 20.10.20, build 9fdeb9c

## Steps to reproduce the issue:

I successfully installed openWhisk based on the tutorial https://github.com/apache/openwhisk/blob/master/tools/ubuntu-setup/README.md

Basically:
ansible-playbook -i environments/$ENVIRONMENT setup.yml
ansible-playbook -i environments/$ENVIRONMENT prereq.yml
cd
./gradlew distDocker
cd ansible
ansible-playbook -i environments/$ENVIRONMENT couchdb.yml
ansible-playbook -i environments/$ENVIRONMENT initdb.yml
ansible-playbook -i environments/$ENVIRONMENT wipe.yml
ansible-playbook -i environments/$ENVIRONMENT openwhisk.yml
ansible-playbook -i environments/$ENVIRONMENT postdeploy.yml
ansible-playbook -i environments/$ENVIRONMENT apigateway.yml
ansible-playbook -i environments/$ENVIRONMENT routemgmt.yml
wsk property set --apihost '172.17.0.1'
./bin/wsk property set --auth `cat ansible/files/auth.guest`

When I frist finished the set up, I can create and invoke the action. However, after I restart my machine, I cannot create the action, and I get the following error:

root@node0: wsk property set --auth '23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'
ok: whisk auth set. Run 'wsk property get --auth' to see the new value.

root@node0: wsk property get --auth
whisk auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP

root@node0: wsk -i action create hello.js
error: Unable to create action 'hello': The resource requires authentication, which was not supplied with the request (code 9e663012e4ad0b0c4bf04c40211546b6)
Run 'wsk --help' for usage.

## Provide the expected results and outputs:

```
action created successfully
```

## Provide the actual results and outputs:

```
error: Unable to create action 'hello': The resource requires authentication, which was not supplied with the request (code 9e663012e4ad0b0c4bf04c40211546b6)
Run 'wsk --help' for usage.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.