diff --git a/config_tempest/services/volume.py b/config_tempest/services/volume.py index 3c4c1c92..7e4228cc 100644 --- a/config_tempest/services/volume.py +++ b/config_tempest/services/volume.py @@ -17,6 +17,7 @@ import json import re from config_tempest import constants as C +from config_tempest.services.base import ServiceError from config_tempest.services.base import VersionedService from tempest.lib import exceptions @@ -51,6 +52,9 @@ class VolumeService(VersionedService): C.LOG.warning("User has no permissions to list back-end storage " "pools - storage back-ends can't be discovered.") return + except ServiceError: + C.LOG.warning("Volume backend doesn't exist.") + return if pools: backends = [ re.findall(r'(\w*)@(\w*)', pool['name'])[0][1]