charm-neutron-api/hooks
David Ames 43e4f2124f Avoid shared-db change when using access-network
When the percona-cluster charm sets an access-network but the default
unit-get address is not on that network extra shared-db relations get
executed. This is specifically a problem when running upgrades and
trying to avoid API downtime.

The root cause is that the access-network is not checked until the
SharedDBContext is consulted. But then db_joined function will
change it back to the wrong ip on subsequent runs.

This change adds a check for access-network on the relation during
the db_joined function and pushes IP selection off to get_relation_ip.

Charm helpers sync to pull in changes to get_relation_ip.

Partial-bug: #1677647

Change-Id: I20f35dd7a12315ef61939feb5199680db128bc0b
2017-04-26 10:04:11 -07:00
..
charmhelpers Avoid shared-db change when using access-network 2017-04-26 10:04:11 -07: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 Fix alphanumeric comparisons for openstack and ubuntu releases 2017-03-28 17:30:14 +01:00
neutron_api_hooks.py Avoid shared-db change when using access-network 2017-04-26 10:04:11 -07:00
neutron_api_utils.py Fix alphanumeric comparisons for openstack and ubuntu releases 2017-03-28 17:30:14 +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