Comment 4 for bug 1749418

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/559987
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=546236e34516ee061146cebd426a67ea17be2a72
Submitter: Zuul
Branch: stable/queens

commit 546236e34516ee061146cebd426a67ea17be2a72
Author: Takashi NATSUME <email address hidden>
Date: Mon Apr 2 18:39:41 2018 +0900

    libvirt: Block swapping to an encrypted volume when using QEMU to decrypt

    The original check in Ibfa64f18bbd2fb70db7791330ed1a64fe61c1355 only
    blocked swap volume _from_ an encrypted LUKS volume while using native
    QEMU decryption. This change expands that check to also block swap
    volume when swapping _to_ an encrypted LUKS volume while using native
    QEMU decryption, regardless of the original volume being encrypted.

    NOTE(lyarwood): The trivial typo fix Ia1e34df5a7e88c252924c25736ffb6bcaea42bfe
    is also squashed into this backport to avoid a conflict.

    Change-Id: I258127fdcd011ccec721d5ff62eb7f128f130336
    Closes-bug: #1749418
    (cherry picked from commit 7ceccee056cb8f50cb5efebd5156cfc56d8e4af7)