Ansible Play Fail: keystone | Creating admin project

Bug #1572395 reported by Daneyon Hansen on 2016-04-20
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla
Undecided
Unassigned

Bug Description

root@k03-13:~# docker images | grep key
10.30.118.91:4000/kollaglue/ubuntu-source-keystone 2.0.0 80256d13b39d 4 hours ago 689 MB

root@k03-13:~/kolla# git log --oneline
76e4c76 Merge "Fix typo in kolla-ansible usage message"
b391bc7 Merge "Update Nova dockerfiles for formatting"
...

I do not run the precheck playbook due to: https://bugs.launchpad.net/kolla/+bug/1571793

I run ansible deploy:

root@k03-13:~/kolla# kolla-ansible deploy
Deploying Playbooks : ansible-playbook -i /usr/local/share/kolla/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=deploy /usr/local/share/kolla/ansible/site.yml

PLAY [ceph-mon;ceph-osd;ceph-rgw] *********************************************

GATHERING FACTS ***************************************************************
ok: [localhost]

....

TASK: [keystone | Creating admin project, user, role, service, and endpoint] ***
fatal: [localhost] => Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 586, in _executor
    exec_rc = self._executor_internal(host, new_stdin)
  File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 789, in _executor_internal
    return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
  File "/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 1101, in _executor_internal_inner
    data['changed'] = utils.check_conditional(changed_when, self.basedir, inject, fail_on_undefined=self.error_on_undefined_vars)
  File "/usr/local/lib/python2.7/dist-packages/ansible/utils/__init__.py", line 265, in check_conditional
    conditional = template.template(basedir, conditional, inject, fail_on_undefined=fail_on_undefined)
  File "/usr/local/lib/python2.7/dist-packages/ansible/utils/template.py", line 124, in template
    varname = template_from_string(basedir, varname, templatevars, fail_on_undefined)
  File "/usr/local/lib/python2.7/dist-packages/ansible/utils/template.py", line 382, in template_from_string
    res = jinja2.utils.concat(rf)
  File "<template>", line 9, in root
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 1 column 593 (char 592)

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/root/site.retry

localhost : ok=108 changed=0 unreachable=0 failed=1

Hui Kang (huikang27) wrote :

Sometimes the solution to me is to keep the image building and ansible playbook consistent. In other words, maybe rebuilding the image will solve the problem. - Hui

Changed in kolla:
status: New → Triaged
Changed in kolla:
milestone: none → ocata-3
Christian Berendt (berendt) wrote :

Closing as invalid. Please re-open if this bug still occurs.

Changed in kolla:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers