Description of problem: As detailed in the below upstream bug report swapping from an unencrypted volume to an encrypted volume is still allowed. These attempts need to be blocked until libvirt RFE RHBZ#760547 is resolved. swap volume not blocked between an unencrypted and encrypted volume while using QEMU to natively decrypt https://bugs.launchpad.net/nova/+bug/1749418 Version-Release number of selected component (if applicable): 17.0.0 How reproducible: Always Steps to Reproduce: 1. nova volume-update ${instance_uuid} ${unencrypted_volume_uuid} ${encrypted_volume_uuid} Actual results: Attempt made to swap volumes. Expected results: NotImplementedError raised. Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045