Merge "Use new encryption provider constants (reprise)"

This commit is contained in:
Zuul 2020-05-14 04:56:18 +00:00 committed by Gerrit Code Review
commit e67ebd83d9
1 changed files with 1 additions and 2 deletions

View File

@ -252,8 +252,7 @@ class TestVolumeBootPattern(manager.EncryptionScenarioTest):
@utils.services('compute', 'volume')
def test_boot_server_from_encrypted_volume_luks(self):
# Create an encrypted volume
volume = self.create_encrypted_volume('nova.volume.encryptors.'
'luks.LuksEncryptor',
volume = self.create_encrypted_volume('luks',
volume_type='luks')
self.volumes_client.set_bootable_volume(volume['id'], bootable=True)