nova/nova/compute
Brian Rosmaita 240d030902 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)
2020-04-16 11:53:02 +00:00
..
monitors hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
__init__.py Remove nova.compute.*API() shims 2019-06-12 16:09:46 +01:00
api.py Reject boot request for unsupported images 2020-04-16 11:53:02 +00:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
claims.py Introduce live_migration_claim() 2019-09-03 12:10:40 -04:00
flavors.py Remove deprecated 'default_flavor' config option 2019-04-30 13:01:40 +00:00
instance_actions.py Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
instance_list.py Plumbing for ignoring list_records_by_skipping_down_cells 2019-02-08 16:28:28 -05:00
manager.py Merge "Unplug VIFs as part of cleanup of networks" into stable/train 2020-03-16 22:31:26 +00:00
migration_list.py Refactor scatter-gather utility to return exception objects 2018-10-31 15:18:07 -04:00
multi_cell_list.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
provider_tree.py Add resources dict into _Provider 2019-09-13 08:50:35 +00:00
resource_tracker.py Don't populate resources for not-yet-migrated inst 2019-10-22 10:10:36 -05:00
rpcapi.py compute: Use long_rpc_timeout in reserve_block_device_name 2019-12-02 20:09:55 +00:00
stats.py Change consecutive build failure limit to a weigher 2018-06-06 15:18:50 -07:00
task_states.py Fix resource tracker updates during instance evacuation 2018-09-12 13:05:29 +03:00
utils.py Add nova.compute.utils.delete_image 2019-08-27 14:26:33 -04:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00