nova/nova/api/openstack
Brian Rosmaita 418b9450e4 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 963fd8c0f9)
(cherry picked from commit 240d030902)
(cherry picked from commit 6e71909b0b)
(cherry picked from commit 02551d6d6a)
2020-07-17 14:03:31 +02:00
..
compute Reject boot request for unsupported images 2020-07-17 14:03:31 +02:00
placement Handle CannotDeleteParentResourceProvider to 409 Conflict 2018-06-28 13:50:18 +00:00
__init__.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
api_version_request.py [api] Allow multi-attach in compute api 2018-01-22 10:45:13 -05:00
auth.py conf: Move api options to a group 2016-11-25 16:32:31 -06:00
common.py [api] Allow multi-attach in compute api 2018-01-22 10:45:13 -05:00
identity.py Use ksa adapter for keystone conf & requests 2017-11-30 22:33:01 +00:00
requestlog.py request_log addition for running under uwsgi 2017-07-24 14:23:38 -04:00
urlmap.py Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
versioned_method.py Implement microversion support on api methods 2014-12-05 09:54:41 +08:00
wsgi.py Remove the inherits parameter for the Resource object 2017-12-21 19:33:35 +08:00
wsgi_app.py Log options at debug when starting API services under wsgi 2018-01-31 15:45:27 +00:00