charm-neutron-openvswitch/templates
Frode Nordahl 71e38aae64 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.

Change-Id: Ic8f8742261b773484687985aa0a366391cd2737a
Closes-Bug: #1839300
(cherry picked from commit ee709a5ab3)
2020-01-13 15:18:44 +00:00
..
icehouse Revert "Stop using veth pairs to connect qdhcp ns" 2019-08-02 13:58:11 +00:00
juno Support configurable metadata_workers 2017-08-11 18:20:13 +01:00
kilo Replace SR-IOV systemd unit script 2019-06-28 17:37:51 +02:00
liberty Support polling-interval rpc-response-timeout and report-interval 2017-08-07 09:57:46 +01:00
mitaka Ensure availability_zone set globally for agents 2019-09-25 14:11:16 +01:00
newton Add support for FWaaS v2 logging 2019-06-25 16:53:24 +01:00
ocata Ensure availability_zone set globally for agents 2019-09-25 14:11:16 +01:00
parts Ensure availability_zone set globally for agents 2019-09-25 14:11:16 +01:00
queens Enable support for security group logging 2018-10-09 18:55:04 +03:00
rocky Adds l3_extension_plugins to L3AgentContext ctx 2019-10-07 23:04:52 +03:00
stein Use hosts official name for FQDN 2020-01-13 15:18:44 +00:00
dnsmasq.conf Add instance-mtu config opt 2018-07-27 08:42:27 +00:00
etc_dpdk_interfaces Add support for DPDK userspace networking 2016-04-07 12:42:16 +01:00
ext-port.conf [gnuoy,r=james-page] Add support for Neutron DVR 2015-04-01 13:53:02 +01:00
openvswitch-switch Restart openvswitch-vswitch when requested 2016-09-27 15:20:04 +00:00
os-charm-phy-nic-mtu.conf [hopem,r=] 2015-06-29 18:55:59 +01:00