diff --git a/tempest/scenario/test_volume_boot_pattern.py b/tempest/scenario/test_volume_boot_pattern.py index 9486b96a73..4064e049da 100644 --- a/tempest/scenario/test_volume_boot_pattern.py +++ b/tempest/scenario/test_volume_boot_pattern.py @@ -198,6 +198,8 @@ class TestVolumeBootPattern(manager.ScenarioTest): # The created volume when creating a server from a snapshot created_volume = server_info['os-extended-volumes:volumes_attached'] + self.assertNotEmpty(created_volume, "No volume attachment found.") + created_volume_info = self.volumes_client.show_volume( created_volume[0]['id'])['volume']