Stable hostname for nova-compute service

Closes-Bug: #1896630
Change-Id: I8372d6556ee55a230e39aac479644e162d95be4f
Depends-On: https://review.opendev.org/c/openstack/charm-nova-compute/+/873944
This commit is contained in:
Felipe Reyes 2023-03-08 09:25:16 -03:00
parent 3a37d0ad15
commit 78fe516785
1 changed files with 10 additions and 0 deletions

View File

@ -84,6 +84,15 @@ For example to enable the `iDrac driver`_, the following commands can be used:
EOF
juju config ironic-conductor hardware-enablement-options=@./idrac.ini
Stable hostname for nova-compute service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Provide a stable hostname for the nova-compute service when rendering the
``nova.conf`` file, this prevents the daemon from registering multiple entries
(with different hostnames) in the Nova control plane, also sticks to the same
hostname used by ovn-controller, this allows situations where a new instance
is allocated to nova-compute host "foo.example.com", but the ovn-chassis
registered is "foo", for more details see bug `LP #1896630`_.
Documentation updates
---------------------
@ -143,3 +152,4 @@ Issues discovered during this release cycle
.. COMMITS
.. BUGS
.. _LP #1896630: https://bugs.launchpad.net/charm-nova-compute/+bug/1896630