nova/nova/tests/unit/virt/libvirt
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
..
storage Fix python3 compatibility of rbd get_fsid 2019-06-18 12:33:08 +01:00
volume Fixes multi-registry config in Quobyte driver 2019-05-24 16:03:52 +02:00
__init__.py
fake_imagebackend.py Pass disk_info dict to libvirt_info 2018-11-02 13:54:13 +00:00
fake_libvirt_utils.py libvirt: Use SATA bus for cdrom devices when using Q35 machine type 2019-06-13 15:56:58 +00:00
fake_os_brick_connector.py
fakelibvirt.py libvirt: Handle VIR_ERR_DEVICE_MISSING when detaching devices 2020-08-28 13:39:53 +02:00
test_blockinfo.py libvirt: Use SATA bus for cdrom devices when using Q35 machine type 2019-06-13 15:56:58 +00:00
test_compat.py
test_config.py Use assertXmlEqual() helper for all XML comparison tests 2019-03-08 11:40:41 +00:00
test_designer.py add mtu to libvirt xml for ethernet and bridge types 2018-06-06 09:39:40 -04:00
test_driver.py libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-08-28 13:42:55 +02:00
test_fakelibvirt.py Use assertXmlEqual() helper for all XML comparison tests 2019-03-08 11:40:41 +00:00
test_firewall.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_guest.py libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-08-28 13:42:55 +02:00
test_host.py libvirt: check job status for VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED event 2019-12-30 09:34:49 -05:00
test_imagebackend.py Make RBD imagebackend flatten method idempotent 2020-04-23 15:53:10 +00:00
test_imagecache.py Guard against missing image cache directory 2020-07-10 07:39:22 +00:00
test_migration.py libvirt: check job status for VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED event 2019-12-30 09:34:49 -05:00
test_utils.py libvirt: Provide the backing file format when creating qcow2 disks 2020-03-02 14:53:26 +00:00
test_vif.py libvirt: Mark e1000e VIF as supported 2020-07-22 10:43:19 +00:00