commit b6809e75e181a49c2209aa2c1be9e4d11442cbb3
Author: Edward Hope-Morley <email address hidden>
Date: Mon Oct 9 16:14:10 2023 +0100
Ensure mgmt network hostname and fqdn in known_hosts
The cloud-compute relation uses the private-address setting to
reflect the hostname/address to be used for vm migrations. This
can be the default management network or an alternate one. When
this charm populates ssh known_hosts entries for compute hosts
it needs to ensure hostname, address and fqdn for the mgmt network
is included so that Nova resize operations can work if they use
the hostname from the db (which will always be from the mgmt
network).
Change-Id: Ic9e4657453d8f53d1ecbee23475c7b11549ebc14
Closes-Bug: #1969971
(cherry picked from commit 05b081bf5ffa24045a1fef3b18d2e28fec52d604)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- nova-cloud- controller/ +/908774 /opendev. org/openstack/ charm-nova- cloud-controlle r/commit/ b6809e75e181a49 c2209aa2c1be9e4 d11442cbb3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit b6809e75e181a49 c2209aa2c1be9e4 d11442cbb3
Author: Edward Hope-Morley <email address hidden>
Date: Mon Oct 9 16:14:10 2023 +0100
Ensure mgmt network hostname and fqdn in known_hosts
The cloud-compute relation uses the private-address setting to
reflect the hostname/address to be used for vm migrations. This
can be the default management network or an alternate one. When
this charm populates ssh known_hosts entries for compute hosts
it needs to ensure hostname, address and fqdn for the mgmt network
is included so that Nova resize operations can work if they use
the hostname from the db (which will always be from the mgmt
network).
Change-Id: Ic9e4657453d8f5 3d1ecbee23475c7 b11549ebc14 45a1fef3b18d2e2 8fec52d604)
Closes-Bug: #1969971
(cherry picked from commit 05b081bf5ffa240