commit 418b9450e4b9bab15a4a0f92d013e53d18de3342
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.
Change-Id: Idf84ccff254d26fa13473fe9741ddac21cbcf321
Related-bug: #1852106
Closes-bug: #1863611
(cherry picked from commit 963fd8c0f956bdf5c6c8987aa5d9f836386fd5ed)
(cherry picked from commit 240d0309023fcaf20df44f819e9b3e14af97f526)
(cherry picked from commit 6e71909b0b8ad8d20d0863e714cad2a7b120f658)
(cherry picked from commit 02551d6d6a3baee49309cffbc3bef2508fcafe72)
Reviewed: https:/ /review. opendev. org/708609 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=418b9450e4b 9bab15a4a0f92d0 13e53d18de3342
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 418b9450e4b9bab 15a4a0f92d013e5 3d18de3342
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) 20df44f819e9b3e 14af97f526) 20d0863e714cad2 a7b120f658) 49309cffbc3bef2 508fcafe72)
Related-bug: #1852106
Closes-bug: #1863611
(cherry picked from commit 963fd8c0f956bdf
(cherry picked from commit 240d0309023fcaf
(cherry picked from commit 6e71909b0b8ad8d
(cherry picked from commit 02551d6d6a3baee