elenagarrido opened a new issue #3529: Authentication issues when installing 
openwhisk
URL: https://github.com/apache/incubator-openwhisk/issues/3529
 
 
   ## Environment details:
   
   * windows 7
   * Vagrant 2.0.2 
   * Virtual Box Version 5.2.8 r121009
   
   ## Steps to reproduce the issue:
   
   1. Execute  incubator-openwhisk/tools/vagrant/hello   
   
   
   ## Actual results and outputs:
   
   The final output line is the following
   
   The SSH command responded with a non-zero exit status. Vagrant assumes that 
this means the command failed. The output for this command should be in the log 
above. Please read the output to determine what went wrong.
   
   
   Bellow you will find some logs where ansible failed.
   
   ```
     default: fatal: [ansible]: FAILED! => {"changed": true, "cmd": 
"./installRouteMgmt.sh /home/vagrant/openwhisk/ansible/files/auth.whisk.system
    172.17.0.1 /whisk.system /home/vagrant/openwhisk/bin/wsk", "delta": 
"0:00:00.351026", "end": "2018-04-06 10:46:46.769055", "msg": "non-zero retu
   rn code", "rc": 145, "start": "2018-04-06 10:46:46.418029", "stderr": "+ '[' 
4 -eq 0 ']'\n+ AUTH=/home/vagrant/openwhisk/ansible/files/auth.whisk
   .system\n+ APIHOST=172.17.0.1\n+ NAMESPACE=/whisk.system\n+ 
WSK_CLI=/home/vagrant/openwhisk/bin/wsk\n+ 
WHISKPROPS_FILE=/home/vagrant/openwhisk/wh
   isk.properties\n+ '[' -z '' ']'\n++ fgrep apigw.auth.user= 
/home/vagrant/openwhisk/whisk.properties\n++ cut -d= -f2\n+ GW_USER=\n+ '[' -z 
'' ']'\
   n++ fgrep apigw.auth.pwd= /home/vagrant/openwhisk/whisk.properties\n++ cut 
-d= -f2-\n+ GW_PWD=\n+ '[' -z '' ']'\n++ cut -d= -f2\n++ fgrep apigw.h
   ost.v2= /home/vagrant/openwhisk/whisk.properties\n+ 
GW_HOST_V2=http://172.17.0.1:9000/v2\n+ '[' -f 
/home/vagrant/openwhisk/ansible/files/auth.whi
   sk.system ']'\n++ cat 
/home/vagrant/openwhisk/ansible/files/auth.whisk.system\n+ 
AUTH=$'789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1
   dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP\\r'\n+ export 
WSK_CONFIG_FILE=\n+ WSK_CONFIG_FILE=\n+ echo Installing apimgmt package\n+ 
/home/vagra
   nt/openwhisk/bin/wsk -i --apihost 172.17.0.1 package update --auth 
$'789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12Cd
   AsMgRU4VrNZ9lyGVCGuMDGIwP\\r' --shared no /whisk.system/apimgmt -a 
description 'This package manages the gateway API configuration.' -p gwUser ''
    -p gwPwd '' -p gwUrlV2 http://172.17.0.1:9000/v2\nerror: Package update 
failed: The supplied authentication is invalid (code 3)", "stderr_lines"
   : ["+ '[' 4 -eq 0 ']'", "+ 
AUTH=/home/vagrant/openwhisk/ansible/files/auth.whisk.system", "+ 
APIHOST=172.17.0.1", "+ NAMESPACE=/whisk.system", "+
    WSK_CLI=/home/vagrant/openwhisk/bin/wsk", "+ 
WHISKPROPS_FILE=/home/vagrant/openwhisk/whisk.properties", "+ '[' -z '' ']'", 
"++ fgrep apigw.auth.
   user= /home/vagrant/openwhisk/whisk.properties", "++ cut -d= -f2", "+ 
GW_USER=", "+ '[' -z '' ']'", "++ fgrep apigw.auth.pwd= /home/vagrant/openw
   hisk/whisk.properties", "++ cut -d= -f2-", "+ GW_PWD=", "+ '[' -z '' ']'", 
"++ cut -d= -f2", "++ fgrep apigw.host.v2= /home/vagrant/openwhisk/whi
   sk.properties", "+ GW_HOST_V2=http://172.17.0.1:9000/v2";, "+ '[' -f 
/home/vagrant/openwhisk/ansible/files/auth.whisk.system ']'", "++ cat /home/v
   agrant/openwhisk/ansible/files/auth.whisk.system", "+ 
AUTH=$'789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4V
   rNZ9lyGVCGuMDGIwP\\r'", "+ export WSK_CONFIG_FILE=", "+ WSK_CONFIG_FILE=", 
"+ echo Installing apimgmt package", "+ /home/vagrant/openwhisk/bin/ws
   k -i --apihost 172.17.0.1 package update --auth 
$'789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGu
   MDGIwP\\r' --shared no /whisk.system/apimgmt -a description 'This package 
manages the gateway API configuration.' -p gwUser '' -p gwPwd '' -p gwU
   rlV2 http://172.17.0.1:9000/v2";, "error: Package update failed: The supplied 
authentication is invalid (code 3)"], "stdout": "Installing apimgmt
   package", "stdout_lines": ["Installing apimgmt package"]}
       default:
       default: [FAILED]
       default: > ./installRouteMgmt.sh 
/home/vagrant/openwhisk/ansible/files/auth.whisk.system 172.17.0.1 
/whisk.system /home/vagrant/openwhisk/bin
   /wsk
       default: non-zero return code
       default: Installing apimgmt package
       default: + '[' 4 -eq 0 ']' + 
AUTH=/home/vagrant/openwhisk/ansible/files/auth.whisk.system
       default: + APIHOST=172.17.0.1 + NAMESPACE=/whisk.system +
       default: WSK_CLI=/home/vagrant/openwhisk/bin/wsk +
       default: WHISKPROPS_FILE=/home/vagrant/openwhisk/whisk.properties + '[' 
-z '' ']' ++
       default: fgrep apigw.auth.user= /home/vagrant/openwhisk/whisk.properties 
++ cut -d= -f2 +
       default: GW_USER= + '[' -z '' ']' ++ fgrep apigw.auth.pwd=
       default: /home/vagrant/openwhisk/whisk.properties ++ cut -d= -f2- + 
GW_PWD= + '[' -z ''
       default: ']' ++ cut -d= -f2 ++ fgrep apigw.host.v2=
       default: /home/vagrant/openwhisk/whisk.properties + 
GW_HOST_V2=http://172.17.0.1:9000/v2
       default: + '[' -f 
/home/vagrant/openwhisk/ansible/files/auth.whisk.system ']' ++ cat
       default: /home/vagrant/openwhisk/ansible/files/auth.whisk.system + 
AUTH=$'789c46b1-71f6-4
       default: 
ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGu
       default: MDGIwP\r' + export WSK_CONFIG_FILE= + WSK_CONFIG_FILE= + echo 
Installing apimgmt
       default: package + /home/vagrant/openwhisk/bin/wsk -i --apihost 
172.17.0.1 package update
       default: --auth 
$'789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFq
       default: m12CdAsMgRU4VrNZ9lyGVCGuMDGIwP\r' --shared no 
/whisk.system/apimgmt -a
       default: description 'This package manages the gateway API 
configuration.' -p gwUser ''
       default: -p gwPwd '' -p gwUrlV2 http://172.17.0.1:9000/v2 error: Package 
update failed:
       default: The supplied authentication is invalid (code 3)
       default:
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to