charm-ceilometer/hooks
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
..
amqp-relation-changed Rename hooks, add icon 2013-10-14 16:48:57 +01:00
amqp-relation-departed added amqp relation departed 2014-01-30 13:01:52 +01:00
amqp-relation-joined Rename hooks, add icon 2013-10-14 16:48:57 +01:00
ceilometer-service-relation-joined Rename hooks, add icon 2013-10-14 16:48:57 +01:00
ceilometer_contexts.py Tidy py files in root to lib folder, sort out import of hooks in actions 2015-10-16 13:29:41 +01:00
ceilometer_hooks.py Block endpoint reg if cluster partially formed 2017-10-06 13:22:40 +00:00
ceilometer_utils.py Tidy py files in root to lib folder, sort out import of hooks in actions 2015-10-16 13:29:41 +01:00
charmhelpers Add missing charm-helper sync files 2015-09-14 22:15:01 +00:00
cluster-relation-changed added missing cluster relations 2014-10-22 17:27:00 +01:00
cluster-relation-departed added missing cluster relations 2014-10-22 17:27:00 +01:00
cluster-relation-joined added missing cluster relations 2014-10-22 17:27:00 +01:00
config-changed Rename hooks, add icon 2013-10-14 16:48:57 +01:00
ha-relation-changed [hopem,r=] 2014-10-21 19:49:06 +01:00
ha-relation-joined [hopem,r=] 2014-10-21 19:49:06 +01:00
identity-notifications-relation-changed changed interfcae name 2014-12-16 20:15:53 +00:00
identity-service-relation-changed Rename hooks, add icon 2013-10-14 16:48:57 +01:00
identity-service-relation-joined Rename hooks, add icon 2013-10-14 16:48:57 +01:00
install Fix race condition with systemd's apt initialization 2017-01-16 11:26:27 +01:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:33:04 +01:00
metric-service-relation-broken Add support for gnocchi 2017-08-10 12:57:42 +01:00
metric-service-relation-changed Add support for gnocchi 2017-08-10 12:57:42 +01:00
metric-service-relation-departed Add support for gnocchi 2017-08-10 12:57:42 +01:00
metric-service-relation-joined Add support for gnocchi 2017-08-10 12:57:42 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
shared-db-relation-changed Rename hooks, add icon 2013-10-14 16:48:57 +01:00
shared-db-relation-departed Refactor loop from code review feedback. Address possibility of the remote 2014-12-03 16:23:51 -07:00
shared-db-relation-joined Rename hooks, add icon 2013-10-14 16:48:57 +01:00
start Rename hooks, add icon 2013-10-14 16:48:57 +01:00
stop Rename hooks, add icon 2013-10-14 16:48:57 +01:00
update-status Add hardening support 2016-03-24 11:12:40 +00:00
upgrade-charm Add hook for upgrade charm 2013-10-17 15:47:49 +01:00