Race condition between keystone and glance using ansible deployment

Bug #1481495 reported by Ryan Hallisey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Ryan Hallisey

Bug Description

TASK: [glance | Creating the Glance service and endpoint] *********************
failed: [localhost] => {"failed": true, "parsed": false}
No handlers could be found for logger "keystoneclient.auth.identity.generic.base"
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1438711226.49-40225704548844/kolla_keystone_service", line 1794, in <module>
    main()
  File "/root/.ansible/tmp/ansible-tmp-1438711226.49-40225704548844/kolla_keystone_service", line 78, in main
    module.exit_json(failed=True, changed=True, msg=e)
  File "/root/.ansible/tmp/ansible-tmp-1438711226.49-40225704548844/kolla_keystone_service", line 1325, in exit_json
    print self.jsonify(kwargs)
  File "/root/.ansible/tmp/ansible-tmp-1438711226.49-40225704548844/kolla_keystone_service", line 1303, in jsonify
    return json.dumps(data)
  File "/usr/lib64/python2.7/json/__init__.py", line 243, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib64/python2.7/json/encoder.py", line 184, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: ServiceUnavailable(u'Service Unavailable (HTTP 503)',) is not JSON serializable

FATAL: all hosts have already failed -- aborting

Glance is trying to create an endpoint when Keystone is not completely setup.

Ryan Hallisey (rthall14)
Changed in kolla:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → Ryan Hallisey (rthall14)
milestone: none → liberty-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/208451
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=98a379b0fd0c24da6bfc5b9828aa5e734788c9bc
Submitter: Jenkins
Branch: master

commit 98a379b0fd0c24da6bfc5b9828aa5e734788c9bc
Author: Sam Yaple <email address hidden>
Date: Mon Aug 3 07:50:01 2015 +0000

    Reduce dependencies on the dest nodes

    Currently we require a slew of deps on each destination node, this
    includes a gcc compiler and installing things via pip. We can remove
    these dependencies by containerizing them and running and Ansible
    inside the container itself. The container would then report back
    facts about idempotency.

    DocImpact
    Closes-Bug: #1481495
    Implements: blueprint containerize-dependencies
    Change-Id: I3dfccbf9fafc06ffc36e78f3006fe5d3367891df

Changed in kolla:
status: Confirmed → Fix Committed
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.