nova/nova/tests
Lee Yarwood b9ff0ca94e compute: Do not allow rescue attempts using volume snapshot images
As seen in I7356b54bef0c614d9bfd1ed0d7b42574b58966f9 Nova is currently
unable to rescue instances using volume snapshot based images. This
currently results in zero length files being created on the compute as
the images are actually metadata stores and contain no image data.

This change adds a simple check within the compute API to reject
requests that provided an image reference that itself provides an
img_block_device_mapping before we cast out to the computes.

Depends-On: https://review.opendev.org/#/c/725812/
Closes-Bug: #1879500
Change-Id: I87253c518bd60a3e7cd08af68da9ade96f4a40db
2020-07-08 13:23:53 +00:00
..
functional Merge "Delete resource provider in tree by top-down traversable order" 2020-06-26 19:40:40 +00:00
unit compute: Do not allow rescue attempts using volume snapshot images 2020-07-08 13:23:53 +00:00
__init__.py
fixtures.py Merge "Poison netifaces.interfaces() in tests" 2020-05-27 22:38:59 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00