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/07 22:33:34 UTC

[GitHub] kevhouck opened a new issue #2715: distributed setup.yml syntax error

kevhouck opened a new issue #2715: distributed setup.yml syntax error
URL: https://github.com/apache/incubator-openwhisk/issues/2715
 
 
   <!--
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * distributed setup on Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-117-generic x86_64)
   ## Steps to reproduce the issue:
   
   1.   [Distributed Ansible Guide](https://github.com/apache/incubator-openwhisk/blob/master/tools/ubuntu-setup/README.md) at step `ansible-playbook -i environments/distributed setup.yml`
   
   
   ## Provide the expected results and outputs:
   
   Successful run of the script
   
   
   ## Provide the actual results and outputs:
   
   ```
   
   PLAY [localhost] *******************************************************************************************************************************************************************************************
   
   TASK [Gathering Facts] *************************************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.014)       0:00:00.014 **** 
   ok: [localhost]
   
   TASK [find the ip of docker-machine] ***********************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.395)       0:00:00.410 **** 
   skipping: [localhost]
   
   TASK [get the docker-machine ip] ***************************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.016)       0:00:00.426 **** 
   skipping: [localhost]
   
   TASK [gen hosts for docker-machine] ************************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.017)       0:00:00.444 **** 
   skipping: [localhost]
   
   TASK [add new db host on-the-fly] **************************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.016)       0:00:00.460 **** 
   skipping: [localhost]
   
   TASK [check if db_local.ini exists?] ***********************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.015)       0:00:00.476 **** 
   ok: [localhost]
   
   TASK [prepare db_local.ini] ********************************************************************************************************************************************************************************
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.171)       0:00:00.647 **** 
   fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'not db.stat.exists' failed. The error was: error while evaluating conditional (not db.stat.exists): {u'stat': {u'exists': False}, u'changed': False, u'whisk': {u'activations': u'{{ db_prefix }}activations', u'auth': u'{{ db_prefix }}subjects', u'actions': u'{{ db_prefix }}whisks'}, u'authkeys': [u'guest', u'whisk.system']}: 'db_prefix' is undefined\n\nThe error appears to have been in '/users/khouck/openwhisk/ansible/setup.yml': line 29, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: prepare db_local.ini\n    ^ here\n"}
   
   PLAY RECAP *************************************************************************************************************************************************************************************************
   localhost                  : ok=2    changed=0    unreachable=0    failed=1   
   
   Thursday 07 September 2017  21:19:09 +0000 (0:00:00.016)       0:00:00.664 **** 
   =============================================================================== 
   Gathering Facts --------------------------------------------------------- 0.40s
   check if db_local.ini exists? ------------------------------------------- 0.17s
   get the docker-machine ip ----------------------------------------------- 0.02s
   prepare db_local.ini ---------------------------------------------------- 0.02s
   find the ip of docker-machine ------------------------------------------- 0.02s
   gen hosts for docker-machine -------------------------------------------- 0.02s
   add new db host on-the-fly ---------------------------------------------- 0.02s
   ```
   
 
----------------------------------------------------------------
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