jinlang226 opened a new issue, #5341:
URL: https://github.com/apache/openwhisk/issues/5341

   ## 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 <openwhisk_home>
   ./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:
   
   ```
   action created successfully
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to