commit 240d0309023fcaf20df44f819e9b3e14af97f526
Author: Brian Rosmaita <email address hidden>
Date: Thu Feb 13 11:09:08 2020 -0500
Reject boot request for unsupported images
Nova has never supported direct booting of an image of an encrypted
volume uploaded to Glance via the Cinder upload-volume-to-image
process, but instead of rejecting such a request, an 'active' but
unusable instance is created. This patch allows Nova to use image
metadata to detect such an image and reject the boot request.
Reviewed: https:/ /review. opendev. org/708577 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=240d0309023 fcaf20df44f819e 9b3e14af97f526
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 240d0309023fcaf 20df44f819e9b3e 14af97f526
Author: Brian Rosmaita <email address hidden>
Date: Thu Feb 13 11:09:08 2020 -0500
Reject boot request for unsupported images
Nova has never supported direct booting of an image of an encrypted volume- to-image
volume uploaded to Glance via the Cinder upload-
process, but instead of rejecting such a request, an 'active' but
unusable instance is created. This patch allows Nova to use image
metadata to detect such an image and reject the boot request.
Change-Id: Idf84ccff254d26 fa13473fe9741dd ac21cbcf321 5c6c8987aa5d9f8 36386fd5ed)
Related-bug: #1852106
Closes-bug: #1863611
(cherry picked from commit 963fd8c0f956bdf