keystone needs to notify services when endpoint changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceilometer (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley | ||
keystone (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
It is currently all to easy to do the foolowing:
* deploy multiple units of a service e.g. ceilometer + hacluster
* deploy keystone
* add relation between keystone and ceilometer
If the service-identity relation fires prior to ceilometers vip being configured, the endpoint will be set to the ip address of the last ceilometer unit to join. Once this is set, ceilometer services will start/restart and may perform client operations that use the service catalog from keystone containing this ceilometer endpoint which has been set prior to the vip being set as the endpoint in a subsequent keystone relation-set once the vip is up.
The problem here is that subsequent calls to keystone with new endpoint addresses do not result in a refire of identity-
We need an unintrusive means to allow keystone to notify relations (and only ones that care to avoid noise) that the endpoint has been set to a new value.
Related branches
- Billy Olsen: Approve
- Ryan Beisner: Pending requested
- Jorge Niedbalski: Pending requested
- Felipe Reyes: Pending requested
- James Page: Pending requested
-
Diff: 228 lines (+131/-3)5 files modifiedhooks/keystone_hooks.py (+21/-1)
hooks/keystone_utils.py (+72/-1)
metadata.yaml (+2/-0)
unit_tests/test_keystone_hooks.py (+4/-1)
unit_tests/test_keystone_utils.py (+32/-0)
- Billy Olsen: Approve
- James Page: Approve
- OpenStack Charmers: Pending requested
-
Diff: 102 lines (+40/-3)3 files modifiedhooks/ceilometer_hooks.py (+19/-1)
metadata.yaml (+2/-0)
unit_tests/test_ceilometer_hooks.py (+19/-2)
Changed in ceilometer (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in ceilometer (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in ceilometer (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in keystone (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in keystone (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in ceilometer (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceilometer (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |