charm-nova-cloud-controller/hooks
Alex Kavanagh fe65e12b31 Add caching for knownhost private-address lookups
This change adds caching for the host look ups associated with a
private-address of a unit.  This cache is maintained across hook
invocations, and is designed to reduce the time spent in
cloud-compute-relation-changed hooks (which occur as nova-compute units
join and update on the cloud-compute relation).

The feature has been added under an EXPERIMENTAL config flag (with the
default being "don't use the cached values") in case there are any
corner cases around DNS resolution in the deploying cloud during
deployment.

An action is included to allow clearing of the cache at unit,
application and whole relation level.  This clears the cache and
re-triggers the host resolution, and relation updates.  This is in case
of either 1) DNS changed during the deployment, 2) DNS has been altered
during the running of the cloud.

Change-Id: I5a68bf4c30bf1591184d660d50559c969822ddcf
2019-07-16 14:27:30 +01:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 16:38:27 +00:00
amqp-cell-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-cell-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-cell-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
amqp-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
amqp-relation-departed added amqp relation departed 2014-01-30 12:26:36 +01:00
amqp-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cell-relation-broken Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
cell-relation-changed Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
cell-relation-joined Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
certificates-relation-changed Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
certificates-relation-departed Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
certificates-relation-joined Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
cinder-volume-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
cinder-volume-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cinder-volume-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cloud-compute-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cloud-compute-relation-departed Add compute departed hook, ensure proper scrubbing of authorized_keys on compute depart. 2013-09-05 17:28:22 -07:00
cloud-compute-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-departed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-joined Add cluster-relation-joined hook to ensure that internal address network is used if connected 2014-09-26 12:29:28 +01:00
config-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
ha-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
ha-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
identity-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
identity-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
identity-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
image-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
image-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
image-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
install Update pre-install hooks to fail on error 2019-02-08 15:55:43 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:52:12 +01:00
leader-settings-changed Enable leader-settings-changed 2015-03-13 11:51:30 +00:00
memcache-relation-broken Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-changed Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-departed Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-joined Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
neutron-api-relation-broken Move NEUTRON_CONF out of the way which as the benefit of triggering a neutron restart on api relation break 2014-05-15 14:58:51 +00:00
neutron-api-relation-changed Added neutron-api hooks 2014-05-09 19:48:32 +00:00
neutron-api-relation-departed Added neutron-api hooks 2014-05-09 19:48:32 +00:00
neutron-api-relation-joined Added neutron-api hooks 2014-05-09 19:48:32 +00:00
nova-cell-api-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-cell-api-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-cell-api-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-vmware-relation-changed Updates, checkin link.s 2013-10-10 09:04:40 -07:00
nova-vmware-relation-joined Updates, checkin link.s 2013-10-10 09:04:40 -07:00
nova-volume-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
nova-volume-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
nova-volume-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
nova_cc_common.py Add the support to customize the console access port 2019-03-16 10:46:44 +00:00
nova_cc_context.py Propagate vendor_data from nova-cloud-controller 2019-06-05 10:22:56 -03:00
nova_cc_hooks.py Add caching for knownhost private-address lookups 2019-07-16 14:27:30 +01:00
nova_cc_utils.py Add caching for knownhost private-address lookups 2019-07-16 14:27:30 +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
post-series-upgrade Series Upgrade 2018-09-19 07:56:06 +00:00
pre-series-upgrade Series Upgrade 2018-09-19 07:56:06 +00:00
quantum-network-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
quantum-network-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
shared-db-cell-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-cell-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-cell-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
shared-db-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
shared-db-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
start Re-add symlinks. 2013-08-01 20:45:08 -07:00
stop Re-add symlinks. 2013-08-01 20:45:08 -07:00
update-status Add hardening support 2016-03-31 19:30:33 +01:00
upgrade-charm Re-add symlinks. 2013-08-01 20:45:08 -07:00