nova/nova
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
..
api Merge "Reject boot request for unsupported images" into stable/stein 2020-04-24 17:06:50 +00:00
cells Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cmd Add --instance option to heal_allocations 2019-11-21 17:32:21 -05:00
common
compute Should not skip volume_size check for bdm.image_id == image_ref case 2020-08-03 21:54:41 +01:00
conductor Create instance action when burying in cell0 2020-06-10 16:37:33 +00:00
conf Reserve DISK_GB resource for the image cache 2020-07-06 10:38:40 +00:00
console Mask the token used to allow access to consoles 2020-01-23 13:25:18 +01:00
consoleauth Mask the token used to allow access to consoles 2020-01-23 13:25:18 +01:00
db Don't delete compute node, when deleting service other than nova-compute 2019-11-21 10:44:15 +01:00
hacking Add a hacking rule for deprecated assertion methods 2018-10-25 11:49:10 +09:00
image Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
ipv6
keymgr
locale Imported Translations from Zanata 2019-11-03 06:27:01 +00:00
network Add config option for neutron client retries 2020-04-22 16:47:17 +00:00
notifications Remove CellMappingPayload database_connection and transport_url fields 2019-04-04 21:25:52 +00:00
objects objects: Update keypairs when saving an instance 2020-07-27 16:33:40 +01:00
pci Add get_instance_pci_request_from_vif 2019-03-07 11:37:53 +02:00
policies Merge "Remove deprecated 'flavors' policy" 2019-02-23 06:13:00 +00:00
privsep Merge "Move slight bonkers IP management to privsep." 2019-03-20 13:21:29 +00:00
scheduler FUP for in-place numa rebuild 2020-01-22 15:06:07 +00:00
servicegroup Fix deprecation warning for threadgroup.add_timer 2019-02-07 09:37:00 -05:00
tests libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-08-28 13:42:55 +02:00
virt libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 2020-08-28 13:42:55 +02:00
vnc Deprecate the nova-xvpvncproxy service 2018-10-15 10:03:13 +01:00
volume Add retry to cinder API calls related to volume detach 2020-04-24 09:26:28 -04:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-25 09:22:01 +01:00
availability_zones.py AZ list performance optimization: avoid double service list DB fetch 2019-04-29 19:05:05 +00:00
baserpc.py
block_device.py Add method to generate device names universally 2019-01-15 18:55:11 +00:00
cache_utils.py
config.py Configure placement DB context manager for nova-manage/status 2018-09-05 10:29:48 -04:00
context.py Reset the cell cache for database access in Service 2020-04-16 19:55:10 +00:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py FUP for in-place numa rebuild 2020-01-22 15:06:07 +00:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py
monkey_patch.py Eventlet monkey patching should be as early as possible 2019-03-25 09:22:01 +01:00
policy.py Fix target used in nova.policy.check_is_admin 2019-05-21 10:55:14 +01:00
profiler.py
quota.py Make quotas respect instance_list_per_project_cells 2020-05-21 21:56:44 +00:00
rc_fields.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
rpc.py Fix jsonutils.to_primitive UserWarning 2018-12-17 22:56:50 -05:00
safe_utils.py
service.py Reset the cell cache for database access in Service 2020-04-16 19:55:10 +00:00
service_auth.py
test.py Enhance service restart in functional env 2020-01-20 16:56:13 +00:00
utils.py Eventlet monkey patching should be as early as possible 2019-03-25 09:22:01 +01:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py