unable to boot instance from encrypted volume created from a glance image of an encrypted volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
High
|
Lee Yarwood | ||
Ussuri |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description
===========
What the title says, plus see "steps to reproduce" below.
This is a regression caused by the fix for https:/
Steps to Reproduce
==================
1. Let Image-1 be a "regular" (non-encrypted, bootable) image in Glance (like the cirros image).
2. Create volume V-1 in Cinder from Image-1 specifying encrypted volume-type T-1.
3. Boot an instance from V-1 (make sure delete-on-terminate is false). Works fine. Delete the instance to free up the volume.
4. Call cinder upload-to-image on V-1 to create Image-2.
5. Create volume V-2 in Cinder specifying encrypted volume-type T-1 from Image-2.
6. Boot an instance from V-2.
Expected result
===============
Working instance booted from volume.
Actual result
=============
ERROR (BadRequest): Image None is unacceptable: Direct booting of an image uploaded from an encrypted volume is unsupported. (HTTP 400)
Note:
If we bypass the check at https:/
Changed in nova: | |
assignee: | nobody → Brian Rosmaita (brian-rosmaita) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | Brian Rosmaita (brian-rosmaita) → nobody |
Fix proposed to branch: master /review. opendev. org/752090
Review: https:/