diff --git a/cinder/exception.py b/cinder/exception.py index ed8e50d3135..20d17d7db5f 100644 --- a/cinder/exception.py +++ b/cinder/exception.py @@ -1336,10 +1336,6 @@ class ErrorInHyperScaleVersion(VolumeDriverException): message = _("Error in getting HyperScale version '%(cmd_error)s'") -class ErrorInParsingArguments(VolumeDriverException): - message = _("Error in parsing message arguments : Invalid Payload") - - # GPFS driver class GPFSDriverUnsupportedOperation(VolumeBackendAPIException): message = _("GPFS driver unsupported operation: %(msg)s") diff --git a/cinder/volume/drivers/veritas/utils.py b/cinder/volume/drivers/veritas/utils.py index df89959d712..c54cbefa770 100644 --- a/cinder/volume/drivers/veritas/utils.py +++ b/cinder/volume/drivers/veritas/utils.py @@ -228,7 +228,7 @@ def hsexecute(cmdarg_json): cmdarg_json, run_as_root=True) except (putils.UnknownArgumentError, putils.ProcessExecutionError, - exception.ErrorInParsingArguments, OSError): + OSError): LOG.error("Exception in running the command for %s", cmdarg_json, exc_info=True)