Merge "Remove ExceptionInParsingArguments"

This commit is contained in:
Zuul 2018-03-13 04:04:53 +00:00 committed by Gerrit Code Review
commit 18b6bc3ce9
2 changed files with 1 additions and 5 deletions
cinder
exception.py
volume/drivers/veritas

@ -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")

@ -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)