charm-nova-cloud-controller/unit_tests
Edward Hope-Morley e71b6209fc 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).

Also adds requirements.txt to default tox [testenv] to get
netaddr constraints applied to others that were removed as
part of https://review.opendev.org/q/topic:%22batch-update%22.
This is needed for -epy38 which is only run by gate.

Change-Id: Ic9e4657453d8f53d1ecbee23475c7b11549ebc14
Closes-Bug: #1969971
(cherry picked from commit 05b081bf5f)
(cherry picked from commit b6809e75e1)
(cherry picked from commit 61a7dd0bbd)
2024-02-23 15:25:53 +00:00
..
__init__.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_actions.py Fix unittest 2023-03-23 15:22:06 +00:00
test_actions_openstack_upgrade.py Use unittest.mock instead of mock 2021-12-15 14:16:56 +00:00
test_nova_cc_contexts.py Use wss protocol when SSL enabled 2023-11-27 18:41:40 +00:00
test_nova_cc_hooks.py Ensure mgmt network hostname and fqdn in known_hosts 2024-02-23 15:25:53 +00:00
test_nova_cc_utils.py Use wss protocol when SSL enabled 2023-11-27 18:41:40 +00:00
test_utils.py Remove nrpe check of nova-consoleauth when not needed. 2022-01-06 12:04:58 -03:00