charm-ceilometer/unit_tests
Liam Young 24e3599572 Block endpoint reg if cluster partially formed
When an existing cluster of the service is scaled out the new unit
will join with keystone before it is fully clustered. In identity
joined hook the charmhelpers function canonical_url is called which
in turn uses another charmhelpers function, resolve_address.
resolve_address will only return the vip if the vip is set in config
AND the unit is clustered. This means that the units local address
is returned and that is then registered with keystone.

This change gates registering an endpoint if the cluster is
partially formed.

Change-Id: Icf2753b6b21347af8106ebad03d81309177d09f2
Partial-Bug: #1544959
2017-10-06 13:22:40 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-06-28 11:36:46 +01:00
test_actions.py Re-license charm as Apache-2.0 2016-06-28 11:36:46 +01:00
test_actions_openstack_upgrade.py Enable Memcache service for Token Caching 2016-12-12 15:03:47 +00:00
test_ceilometer_contexts.py change assert(Not)Equals to assert(Not)Equal 2017-09-14 09:19:15 +08:00
test_ceilometer_hooks.py Block endpoint reg if cluster partially formed 2017-10-06 13:22:40 +00:00
test_ceilometer_utils.py change assert(Not)Equals to assert(Not)Equal 2017-09-14 09:19:15 +08:00
test_utils.py Re-license charm as Apache-2.0 2016-06-28 11:36:46 +01:00