You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/02 07:51:03 UTC

[GitHub] style95 opened a new issue #2560: Stat command is executed on the target host while deploying cli

style95 opened a new issue #2560: Stat command is executed on the target host while deploying cli
URL: https://github.com/apache/incubator-openwhisk/issues/2560
 
 
   ## Environment details:
   * CentOS 7
   
   ## Steps to reproduce the issue:
   
   1.  Deploy OpenWhisk with `openwhisk_cli.installation_mode: local` in distributed environment.
   
   ## Provide the expected results and outputs:
   
   * CLI binaries are copied to nginx configuration directory in target host.
   
   ## Provide the actual results and outputs:
   
   Since cli binaries are not copied to the target host, it returns error when downloading cli from nginx.
   
   ```
   TASK [cli : download cli (linux) to openwhisk home at /home1/irteamsu/openwhisk/ansible/..] ****************************************************************************************************************************************************************
   Wednesday 02 August 2017  16:42:32 +0900 (0:00:00.872)       0:00:17.877 ******
   fatal: [10.110.221.112 -> localhost]: FAILED! => {"changed": false, "dest": "/home1/irteamsu/openwhisk/ansible/../bin/wsk", "failed": true, "gid": 11000, "group": "irteamsu", "mode": "0755", "msg": "Request failed", "owner": "irteamsu", "response": "HTTP Error 404: Not Found", "size": 10395144, "state": "file", "status_code": 404, "uid": 11000, "url": "https://10.110.221.112/cli/go/download/linux/amd64/wsk"}
   
   ```
   
   ## Additional information you deem important:
   
   This is becuase Ansible `stat` command runs on target host.
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services