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/09/19 21:07:37 UTC

[GitHub] alexkli opened a new issue #51: make quick-start fails on task "find the ip of docker-machine"

alexkli opened a new issue #51: make quick-start fails on task "find the ip of docker-machine"
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/51
 
 
   This issue happens on [Travis build 412](https://travis-ci.org/apache/incubator-openwhisk-devtools/builds/277138691) and I saw it locally on Mac OSX as well. While on Travis only the latest build fails, locally the previous revision fd35f21 fails for me as well. Maybe it is a recent change in the main [openwhisk repository](/apache/incubator-openwhisk) that triggers it, i.e. past Aug 28, 2017.
   
   The command mentioned in the error message from that `openwhisk/ansible/setup.yml` file is apparently `docker-machine ip whisk` (or whatever `docker_machine_name` is set to). If I run that I get:
   
   ```
   > docker-machine ip whisk
   Host does not exist: "whisk"
   ```
   
   End of build with error message:
   ```
   ...
   
   TASK [Gathering Facts] *****************************************************************************************************************************************************************************************
   Tuesday 19 September 2017  20:43:43 +0000 (0:00:00.222)       0:00:00.223 ***** 
   ok: [localhost]
   
   TASK [find the ip of docker-machine] ***************************************************************************************************************************************************************************
   Tuesday 19 September 2017  20:43:55 +0000 (0:00:11.854)       0:00:12.077 ***** 
   fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check ''environments/docker-machine' in inventory_dir' failed. The error was: error while evaluating conditional ('environments/docker-machine' in inventory_dir): Unable to look up a name or access an attribute in template string ({% if 'environments/docker-machine' in inventory_dir %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/openwhisk/ansible/setup.yml': line 6, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n  - name: find the ip of docker-machine\n    ^ here\n"}
   
   PLAY RECAP *****************************************************************************************************************************************************************************************************
   localhost                  : ok=1    changed=0    unreachable=0    failed=1   
   
   Tuesday 19 September 2017  20:43:55 +0000 (0:00:00.071)       0:00:12.148 ***** 
   =============================================================================== 
   Gathering Facts ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 11.85s
   find the ip of docker-machine --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.07s
   make: *** [init-couchdb] Error 2
   ```
 
----------------------------------------------------------------
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