commit 5679a0bf99c17ff336fa520c9cdfad5156c6c9d2
Author: Lee Yarwood <email address hidden>
Date: Fri Nov 15 09:57:27 2019 +0000
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.
Reviewed: https:/ /review. opendev. org/694497 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5679a0bf99c 17ff336fa520c9c dfad5156c6c9d2
Committed: https:/
Submitter: Zuul
Branch: master
commit 5679a0bf99c17ff 336fa520c9cdfad 5156c6c9d2
Author: Lee Yarwood <email address hidden>
Date: Fri Nov 15 09:57:27 2019 +0000
block_device: Copy original volume_type when missing for snapshot based volumes
Attempts to launch an instance from an encrypted volume snapshot would device_ mapping of the boot request.
previously fail if a volume_type was not specified in the
block_
To avoid such failures DriverVolSnapsh otBlockDevice 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 732dbe04acea303 b303acd264a
Change-Id: Ic749c49e227e41