keystone charm accessing database before db ready
Bug #1287294 reported by
Gema Gomez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Juju Charms Collection) |
Fix Released
|
Critical
|
Edward Hope-Morley |
Bug Description
keystone charm doesn't wait till keystone is started before accessing the database
fix suggestion: L202 in hooks/config-
How to reproduce:
1) Deploy ha openstack by running:
> juju-deployer --bootstrap -c default.yaml precise-havana
-> from this branch:
lp:~openstack-charmers/+junk/openstack-charm-testing-ha
Related branches
lp:~hopem/charms/trusty/keystone/fix-db-access-before-ready
- Liam Young (community): Approve
-
Diff: 208 lines (+84/-21)4 files modifiedhooks/keystone_hooks.py (+9/-18)
hooks/keystone_utils.py (+41/-0)
unit_tests/test_keystone_hooks.py (+10/-3)
unit_tests/test_keystone_utils.py (+24/-0)
tags: | added: openstack |
tags: | added: cts |
affects: | charms → keystone (Juju Charms Collection) |
Changed in keystone (Juju Charms Collection): | |
status: | Confirmed → Fix Committed |
milestone: | none → 15.01 |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Gema
can you provide some more detail around what issue this is actually causing? do you see a hook execution failure? What error message do you see?