Comment 20 for bug 1852106

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/rocky)

Reviewed: https://review.opendev.org/708608
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=02551d6d6a3baee49309cffbc3bef2508fcafe72
Submitter: Zuul
Branch: stable/rocky

commit 02551d6d6a3baee49309cffbc3bef2508fcafe72
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.

    Conflicts:
            nova/compute/api.py

    NOTE(lyarwood): conflict as I06fad233006c7bab14749a51ffa226c3801f951b
    ("Add support for translating CPU policy extra specs, image meta") is
    not present in stable/rocky.

    Change-Id: Idf84ccff254d26fa13473fe9741ddac21cbcf321
    Related-bug: #1852106
    Closes-bug: #1863611
    (cherry picked from commit 963fd8c0f956bdf5c6c8987aa5d9f836386fd5ed)
    (cherry picked from commit 240d0309023fcaf20df44f819e9b3e14af97f526)
    (cherry picked from commit 6e71909b0b8ad8d20d0863e714cad2a7b120f658)