diff options
author | Zuul <zuul@review.opendev.org> | 2023-04-04 16:19:45 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-04-04 16:19:45 +0000 |
commit | 2aea80c0afafaa492f4bc6cb5ecfa1675a5d025f (patch) | |
tree | b6153a04ff176ba0feab020f2a856ceefc500dc0 | |
parent | 29de62bf3b3bf5eda8986bc94babf1c94d67bd4e (diff) | |
parent | 55a3f17e0ee29a31a205ab41c3e3e90d56fbd33d (diff) | |
download | nova-2aea80c0afafaa492f4bc6cb5ecfa1675a5d025f.tar.gz |
Merge "Update min support for Bobcat"
-rw-r--r-- | nova/objects/service.py | 2 | ||||
-rw-r--r-- | nova/tests/functional/libvirt/test_pci_sriov_servers.py | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/nova/objects/service.py b/nova/objects/service.py index b17b5c2050..1a4629cc84 100644 --- a/nova/objects/service.py +++ b/nova/objects/service.py @@ -253,7 +253,7 @@ NODE_IDENTITY_VERSION = 65 # and value be the latest service version that the release supports (for # example, before Bobcat RC1, please add 'Bobcat': XX where X is the latest # servion version that was added) -OLDEST_SUPPORTED_SERVICE_VERSION = 'Yoga' +OLDEST_SUPPORTED_SERVICE_VERSION = 'Antelope' SERVICE_VERSION_ALIASES = { 'Victoria': 52, 'Wallaby': 54, diff --git a/nova/tests/functional/libvirt/test_pci_sriov_servers.py b/nova/tests/functional/libvirt/test_pci_sriov_servers.py index 135a457154..098a0e857b 100644 --- a/nova/tests/functional/libvirt/test_pci_sriov_servers.py +++ b/nova/tests/functional/libvirt/test_pci_sriov_servers.py @@ -1549,7 +1549,11 @@ class VDPAServersTest(_PCIServersWithMigrationTestBase): 'not supported for instance with vDPA ports', ex.response.text) + # NOTE(sbauza): Now we're post-Antelope release, we don't need to support + # this test def test_attach_interface_service_version_61(self): + self.flags(disable_compute_service_check_for_ffu=True, + group='workarounds') with mock.patch( "nova.objects.service.get_minimum_version_all_cells", return_value=61 @@ -1578,7 +1582,11 @@ class VDPAServersTest(_PCIServersWithMigrationTestBase): self.assertEqual(hostname, port['binding:host_id']) self.assertEqual(server['id'], port['device_id']) + # NOTE(sbauza): Now we're post-Antelope release, we don't need to support + # this test def test_detach_interface_service_version_61(self): + self.flags(disable_compute_service_check_for_ffu=True, + group='workarounds') with mock.patch( "nova.objects.service.get_minimum_version_all_cells", return_value=61 @@ -1864,7 +1872,11 @@ class VDPAServersTest(_PCIServersWithMigrationTestBase): self.assertEqual( dest, server['OS-EXT-SRV-ATTR:hypervisor_hostname']) + # NOTE(sbauza): Now we're post-Antelope release, we don't need to support + # this test def test_suspend_and_resume_service_version_62(self): + self.flags(disable_compute_service_check_for_ffu=True, + group='workarounds') with mock.patch( "nova.objects.service.get_minimum_version_all_cells", return_value=62 @@ -1883,7 +1895,11 @@ class VDPAServersTest(_PCIServersWithMigrationTestBase): self.assertPCIDeviceCounts(source, total=num_pci, free=num_pci - 2) self.assertEqual('ACTIVE', server['status']) + # NOTE(sbauza): Now we're post-Antelope release, we don't need to support + # this test def test_live_migrate_service_version_62(self): + self.flags(disable_compute_service_check_for_ffu=True, + group='workarounds') with mock.patch( "nova.objects.service.get_minimum_version_all_cells", return_value=62 |