diff --git a/cinder/volume/drivers/dell_emc/powermax/provision.py b/cinder/volume/drivers/dell_emc/powermax/provision.py index ab9ee415532..385b96ae716 100644 --- a/cinder/volume/drivers/dell_emc/powermax/provision.py +++ b/cinder/volume/drivers/dell_emc/powermax/provision.py @@ -723,7 +723,7 @@ class PowerMaxProvision(object): array, source_device_id, "", snap_name, extra_specs, snap_id=snap_id, restore=True) except exception.VolumeBackendAPIException as ex: - if utils.REVERT_SS_EXC in ex: + if utils.REVERT_SS_EXC in str(ex): exception_message = _( "Link must be fully copied for this operation to proceed. " "Please reset the volume state from error to available "