You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/12 16:03:28 UTC

[GitHub] lornajane opened a new issue #3426: CLI Builds not found in expected location

lornajane opened a new issue #3426: CLI Builds not found in expected location
URL: https://github.com/apache/incubator-openwhisk/issues/3426
 
 
   ## Environment details:
   
   * deploying to Ubuntu machine (laptop), but struggling with installation steps
   * version of docker: `17.12.1-ce`, ansible `2.3.0`, ubuntu: `17.10`
   
   ## Steps to reproduce the issue:
   
   1.   Work through the setup instructions as far as https://github.com/lornajane/incubator-openwhisk/blob/master/ansible/README.md#configuring-the-installation-of-wsk-cli
   2.   The documented gradle command doesn't work, but the instructions in the CLI repo itself suggest `./gradlew compile -PnativeCompile` which does build something
   3.   However the `ansible-playbook -i environments/<environment> openwhisk.yml -e cli_installation_mode=local -e openwhisk_cli_home=../incubator-openwhisk-cli` still fails
   
   ```
   TASK [cli : ... or Copy release archive to build directory] ***********************************************************
   Friday 09 March 2018  22:09:41 +0000 (0:00:00.045)       0:01:18.569 ********** 
   fatal: [172.17.0.1]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to find '/home/lorna/projects/incubator-openwhisk-cli/release/OpenWhisk_CLI-latest-all.tgz' in expected paths."}
   
   Unable to find '/home/lorna/projects/incubator-openwhisk-cli/release
   /OpenWhisk_CLI-latest-all.tgz' in expected paths.
   ```
   
   Also if you try to fix something and then repeat the command it will fail until you manually `docker stop` and then `docker rm` the `invoker0` container (this may not be the right fix for the problem but it's allowing my command to run a bit longer!)
   
   ## Provide the expected results and outputs:
   
   I expected the CLI to be installed
   
   ## Provide the actual results and outputs:
   
   The CLI isn't installed, and I'm not able to proceed further with the installation (suggestions for workarounds are also welcome here)
   
   ## Additional information you deem important:
   
   I have the newest code (as of a couple of days ago) and I think this differs from #3329 but could be related to it.

----------------------------------------------------------------
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