nova/nova/tests/unit/virt
Lee Yarwood 067cd93424 block_device: Ignore VolumeAttachmentNotFound during detach
Bug #1937084 details a race condition within Cinder where requests to
delete an attachment and later delete the underlying volume can race
leading to the initial request returning a 404 if the volume delete
completes first.

This change attempts to handle this within Nova during a detach as we
ultimately don't care that the volume and/or volume attachment are no
longer available within Cinder. This allows Nova to complete its' own
cleanup of the BlockDeviceMapping record resulting in the volume no
longer appearing attached in Nova's APIs.

Closes-Bug: #1937084

Change-Id: I191552652d8ff5206abad7558c99bce27979dc84
2021-12-03 12:07:33 +00:00
..
disk guestfs: With libguestfs >= v1.41.1 decode returned bytes to string 2021-04-23 14:02:35 +01:00
hyperv hyper-v rbd volume support 2021-03-02 12:58:11 +00:00
image
ironic Ignore plug_vifs on the ironic driver 2021-11-03 05:57:08 -07:00
libvirt Merge "Add a WA flag waiting for vif-plugged event during reboot" 2021-11-18 20:06:43 +00:00
powervm Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
vmwareapi Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
zvm Remove six.moves 2020-11-07 03:25:02 +00:00
__init__.py
fakelibosinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
test_block_device.py block_device: Ignore VolumeAttachmentNotFound during detach 2021-12-03 12:07:33 +00:00
test_configdrive.py image_meta: Provide image_ref as the id when fetching from instance 2021-05-20 16:57:24 +01:00
test_events.py
test_fake.py
test_hardware.py Fix max cpu topologies with numa affinity 2021-06-18 12:34:22 +01:00
test_imagecache.py Include removal of ephemeral backing files in the image cache manager 2020-10-09 12:24:06 +01:00
test_images.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_netutils.py
test_osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
test_virt.py Remove six.text_type (2/2) 2020-12-13 11:26:35 +00:00
test_virt_drivers.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00