charm-neutron-api/hooks
Liam Young 6cc620ab27 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: I233e0cccb8ccd732080fd239df6d1e7db174eba5
Partial-Bug: #1544959
2017-10-06 13:12:07 +00:00
..
charmhelpers Sync charm-helpers 2017-08-24 17:09:09 -05:00
amqp-relation-broken Principle for Neutron API 2014-06-05 11:59:00 +01:00
amqp-relation-changed Principle for Neutron API 2014-06-05 11:59:00 +01:00
amqp-relation-departed Principle for Neutron API 2014-06-05 11:59:00 +01:00
amqp-relation-joined Principle for Neutron API 2014-06-05 11:59:00 +01:00
cluster-relation-changed Add ha support 2014-06-17 08:44:46 +00:00
cluster-relation-departed Add ha support 2014-06-17 08:44:46 +00:00
cluster-relation-joined adding cluster-relation-joined symlink 2014-10-01 18:00:51 +01:00
config-changed Principle for Neutron API 2014-06-05 11:59:00 +01:00
etcd-proxy-relation-broken Add support for Canonical etcd charm 2015-06-19 09:18:26 +01:00
etcd-proxy-relation-changed Add support for Canonical etcd charm 2015-06-19 09:18:26 +01:00
etcd-proxy-relation-departed Add support for Canonical etcd charm 2015-06-19 09:18:26 +01:00
etcd-proxy-relation-joined Add support for Canonical etcd charm 2015-06-19 09:18:26 +01:00
ha-relation-changed Add ha support 2014-06-17 08:44:46 +00:00
ha-relation-joined Add ha support 2014-06-17 08:44:46 +00:00
identity-service-relation-broken Principle for Neutron API 2014-06-05 11:59:00 +01:00
identity-service-relation-changed Principle for Neutron API 2014-06-05 11:59:00 +01:00
identity-service-relation-joined Principle for Neutron API 2014-06-05 11:59:00 +01:00
install Exec install.real 2015-09-22 14:00:34 +01:00
install.real Fixup install hook execution 2015-09-22 14:00:18 +01:00
midonet-relation-broken MidoNet support up until Liberty 2016-01-22 16:14:59 +01:00
midonet-relation-changed MidoNet support up until Liberty 2016-01-22 16:14:59 +01:00
midonet-relation-joined MidoNet support up until Liberty 2016-01-22 16:14:59 +01:00
neutron_api_context.py Update notification config >= mitaka 2017-08-08 12:48:34 +01:00
neutron_api_hooks.py Block endpoint reg if cluster partially formed 2017-10-06 13:12:07 +00:00
neutron_api_utils.py Add db initialised detection 2017-08-23 15:45:47 +01:00
neutron-api-relation-broken Principle for Neutron API 2014-06-05 11:59:00 +01:00
neutron-api-relation-changed Principle for Neutron API 2014-06-05 11:59:00 +01:00
neutron-api-relation-joined Principle for Neutron API 2014-06-05 11:59:00 +01:00
neutron-plugin-api-relation-joined Add neutron-plugin-api relation for future use 2014-06-11 09:25:59 +00:00
neutron-plugin-api-subordinate-relation-changed Add unit tests for new utils and add missing relation hook links 2015-06-30 10:03:16 +01:00
neutron-plugin-api-subordinate-relation-departed Add unit tests for new utils and add missing relation hook links 2015-06-30 10:03:16 +01:00
neutron-plugin-api-subordinate-relation-joined Add unit tests for new utils and add missing relation hook links 2015-06-30 10:03:16 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
pgsql-db-relation-broken Remove implicit neutron prefix from pgsql relation 2014-06-17 10:22:20 +01:00
pgsql-db-relation-changed Remove implicit neutron prefix from pgsql relation 2014-06-17 10:22:20 +01:00
pgsql-db-relation-joined Remove implicit neutron prefix from pgsql relation 2014-06-17 10:22:20 +01:00
shared-db-relation-broken Principle for Neutron API 2014-06-05 11:59:00 +01:00
shared-db-relation-changed Principle for Neutron API 2014-06-05 11:59:00 +01:00
shared-db-relation-joined Principle for Neutron API 2014-06-05 11:59:00 +01:00
start Added start/stop hooks 2014-06-23 12:48:50 +01:00
stop Added start/stop hooks 2014-06-23 12:48:50 +01:00
update-status Add hardening support 2016-03-31 10:40:23 +01:00
vsd-rest-api-relation-changed Add vsd-rest-api softlink 2014-10-31 07:18:30 -07:00
vsd-rest-api-relation-joined Added vsd-rest-api-relation-joined link file 2016-02-17 12:33:37 -05:00
zeromq-configuration-relation-changed Add 0mq support 2014-09-09 13:23:18 +00:00
zeromq-configuration-relation-joined Add 0mq support 2014-09-09 13:23:18 +00:00