commit 2bad8a0522622e9da621a28912faa42efa27d033
Author: Felipe Reyes <email address hidden>
Date: Wed Feb 15 11:43:40 2023 -0300
Use a stable hostname to render nova.conf
OVS introduced a new service called ovs-record-hostname.service which
records the hostname on the first start in the ovs database to identify
the ovn chassis, this is how it achieved a stable hostname and be
resilient to the changes in the FQDN when the DNS gets available.
This change introduces the same approach for nova-compute charm. In the
first run of the NovaComputeHostInfoContext the value passed in the
context as host_fqdn is stored in the unit's kv db, and re-used on every
subsequent call.
This change affects only new installs since the hint to store (or not)
the host fqdn is set in the install hook.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-compute/ +/873944 /opendev. org/openstack/ charm-nova- compute/ commit/ 2bad8a0522622e9 da621a28912faa4 2efa27d033
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2bad8a0522622e9 da621a28912faa4 2efa27d033
Author: Felipe Reyes <email address hidden>
Date: Wed Feb 15 11:43:40 2023 -0300
Use a stable hostname to render nova.conf
OVS introduced a new service called ovs-record- hostname. service which
records the hostname on the first start in the ovs database to identify
the ovn chassis, this is how it achieved a stable hostname and be
resilient to the changes in the FQDN when the DNS gets available.
This change introduces the same approach for nova-compute charm. In the InfoContext the value passed in the
first run of the NovaComputeHost
context as host_fqdn is stored in the unit's kv db, and re-used on every
subsequent call.
This change affects only new installs since the hint to store (or not)
the host fqdn is set in the install hook.
Change-Id: I2aa74442ec25b2 1201a47070077df 27899465814
Closes-Bug: #1896630