nova/nova/tests/unit/virt
Lee Yarwood 9c885b67a9 libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0
I7eb86edc130d186a66c04b229d46347ec5c0b625 introduced
VIR_ERR_DEVICE_MISSING into the hot unplug libvirt error code list
within detach_device_with_retry. While the change correctly referenced
that the error code was introduced in v4.1.0 it made no attempt to
handle versions prior to this. With MIN_LIBVIRT_VERSION currently pinned
to v4.0.0 we need to handle libvirt < v4.1.0 to avoid referencing the
non-existent error code within the libvirt module.

NOTE(lyarwood): Conflict as Ia3f1d8e83cbc574ce5cb440032e12bbcb1e10e98
landed ahead of this change in stable/rocky while it was behind it on
stable/stein.

Conflicts:
    nova/virt/libvirt/driver.py

Closes-Bug: #1891547
Change-Id: I32908b77c18f8ec08211dd67be49bbf903611c34
(cherry picked from commit bc96af5659)
(cherry picked from commit 3f3b889f4e)
(cherry picked from commit c61f4c8e20)
(cherry picked from commit 334a479ae2)
2020-09-15 00:03:20 +01:00
..
disk lxc: make use of filter python3 compatible 2019-09-17 18:48:21 +00:00
hyperv Fix 'has_calls' method calls in unit tests 2019-08-20 12:00:52 +09:00
image
ironic Lowercase ironic driver hash ring and ignore case in cache 2020-04-24 22:50:32 +00:00
libvirt libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-09-15 00:03:20 +01:00
powervm Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09:00
vmwareapi Fix wrong assertions in unit tests 2019-08-20 14:00:47 +09:00
xenapi xenapi/agent: Change openssl error handling 2019-04-30 08:40:53 -04:00
zvm Share snapshot image membership with instance owner 2019-04-30 21:13:46 +09:00
__init__.py
fakelibosinfo.py Stop sending bad values from libosinfo to libvirt 2019-10-11 09:32:54 +01:00
test_block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-26 12:13:56 +09:00
test_configdrive.py
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py hardware: fix memory check usage for small/large pages 2018-09-03 14:45:26 +00:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Fix execute mock for test_convert_image_with_errors 2018-06-14 12:33:21 +00:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Stop sending bad values from libosinfo to libvirt 2019-10-11 09:32:54 +01:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py libvirt: Provide VIR_MIGRATE_PARAM_PERSIST_XML during live migration 2020-08-25 16:05:15 +01:00