charm-neutron-openvswitch/hooks
Frode Nordahl ee709a5ab3
Use hosts official name for FQDN
The current implementations use of a specific interface to build
FQDN from has the undesired side effect of the ``nova-compute`` and
``neutron-openvswitch`` charms ending up with using different
hostnames in some situations.  It may also lead to use of a
identifier that is mutable throughout the lifetime of a deployment.

Use of a specific interface was chosen due to ``socket.getfqdn()``
not giving reliable results (https://bugs.python.org/issue5004).

This patch gets the FQDN by mimicking the behaviour of a call to
``hostname -f`` with fallback to shortname on failure.

Add relevant update from c-h.

Depends-On: I82db81937e5a46dc6bd222b7160ca1fa5b190c10
Change-Id: Ic8f8742261b773484687985aa0a366391cd2737a
Closes-Bug: #1839300
2020-01-13 00:35:53 +01:00
..
charmhelpers Use hosts official name for FQDN 2020-01-13 00:35:53 +01:00
amqp-relation-broken Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-changed Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-departed Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
amqp-relation-joined Restore management of neutron.conf to plugin 2014-06-11 09:44:51 +00:00
config-changed Principle for Neutron API 2014-06-05 11:59:23 +01:00
install Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron_ovs_context.py Use hosts official name for FQDN 2020-01-13 00:35:53 +01:00
neutron_ovs_hooks.py Use hosts official name for FQDN 2020-01-13 00:35:53 +01:00
neutron_ovs_utils.py Use hosts official name for FQDN 2020-01-13 00:35:53 +01:00
neutron-control-relation-broken Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-changed Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-departed Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-control-relation-joined Add neutron-control interface 2016-08-31 10:40:07 +00:00
neutron-plugin-api-relation-broken Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-api-relation-changed Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-api-relation-departed Add support for neutron-plugin-api relation and switch to using that for security group settings 2014-06-17 16:14:17 +01:00
neutron-plugin-relation-changed Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron-plugin-relation-departed Principle for Neutron API 2014-06-05 11:59:23 +01:00
neutron-plugin-relation-joined Principle for Neutron API 2014-06-05 11:59:23 +01:00
pci.py hooks: fix initial sriov configurations 2019-03-07 11:54:37 +00:00
post-series-upgrade Series Upgrade 2018-09-18 10:06:06 +00:00
pre-series-upgrade Series Upgrade 2018-09-18 10:06:06 +00:00
stop Tidy up and fix bug causing sec group settings to not be updated by api service 2014-06-23 13:50:23 +01:00
update-status Add missing update-status hook 2016-10-10 09:28:46 +01:00
upgrade-charm General tidyup after initial feedback 2014-06-17 15:31:03 +01:00