nova/nova/tests
Lee Yarwood 5679a0bf99 block_device: Copy original volume_type when missing for snapshot based volumes
Attempts to launch an instance from an encrypted volume snapshot would
previously fail if a volume_type was not specified in the
block_device_mapping of the boot request.

To avoid such failures DriverVolSnapshotBlockDevice will now attempt to
lookup and use the volume_type of the original volume that the snapshot
is based on. This should allow the eventual volume creation request
based on the snapshot to succeed in cases where a volume_type is
required but not provided in the boot request.

Closes-Bug: #1853495
Change-Id: Ic749c49e227e41732dbe04acea303b303acd264a
2019-11-21 18:13:04 +00:00
..
functional Merge "Remove functional test specific nova code" 2019-11-20 03:58:28 +00:00
unit block_device: Copy original volume_type when missing for snapshot based volumes 2019-11-21 18:13:04 +00:00
__init__.py
fixtures.py Merge "Fix driver tests on Windows" 2019-11-19 20:47:34 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00