nova/nova/tests/unit/virt
Lee Yarwood 334a479ae2 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 I2830ccfc81cfa9654cfeac7ad5effc294f523552
and Idd49b0c70caedfcd42420ffa2ac926a6087d406e are not present in
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)
2020-08-28 13:42:55 +02:00
..
disk lxc: make use of filter python3 compatible 2019-08-14 19:21:52 +00:00
hyperv Fix 'has_calls' method calls in unit tests 2019-08-20 11:16:37 +09:00
image
ironic Lowercase ironic driver hash ring and ignore case in cache 2020-03-19 21:14:52 +00:00
libvirt libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-08-28 13:42:55 +02:00
powervm Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
vmwareapi Fix wrong assertions in unit tests 2019-08-20 13:53:33 +09:00
xenapi xenapi/agent: Change openssl error handling 2019-04-29 12:36:01 +00:00
zvm Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
__init__.py
fakelibosinfo.py Stop sending bad values from libosinfo to libvirt 2019-10-11 08:32:12 +00:00
test_block_device.py block_device: Copy original volume_type when missing for snapshot based volumes 2019-12-11 20:43:25 +00: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 Improve existing flavor and image metadata validation 2019-03-04 14:29:37 -06:00
test_imagecache.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_images.py qemu: Make disk image conversion dramatically faster 2019-03-18 14:53:39 -05: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 08:32:12 +00:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py Remove global state from the FakeDriver 2020-01-17 16:04:46 +01:00