Use new encryption provider constants (reprise)

This is a follow-up of:
https://review.opendev.org/453144

and it fixes the last usage of the encryptor classes
which was introduced by https://review.opendev.org/472219
while the previous "clean-up" change was waiting to be merged.

Change-Id: I564d9f4d603c7f0dbfdde65dac1325c26fdff999
This commit is contained in:
Luigi Toscano 2020-04-22 12:34:46 +02:00
parent ace17c89a1
commit 06e1ba9565
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)