Remove ExceptionInParsingArguments
This exception does not appear to be used anywhere. Change-Id: I1fb5380c4e00bc54a8ecc2fc0fca3d059923909a
This commit is contained in:
parent
afecba3b95
commit
1876e80143
@ -1336,10 +1336,6 @@ class ErrorInHyperScaleVersion(VolumeDriverException):
|
|||||||
message = _("Error in getting HyperScale version '%(cmd_error)s'")
|
message = _("Error in getting HyperScale version '%(cmd_error)s'")
|
||||||
|
|
||||||
|
|
||||||
class ErrorInParsingArguments(VolumeDriverException):
|
|
||||||
message = _("Error in parsing message arguments : Invalid Payload")
|
|
||||||
|
|
||||||
|
|
||||||
# GPFS driver
|
# GPFS driver
|
||||||
class GPFSDriverUnsupportedOperation(VolumeBackendAPIException):
|
class GPFSDriverUnsupportedOperation(VolumeBackendAPIException):
|
||||||
message = _("GPFS driver unsupported operation: %(msg)s")
|
message = _("GPFS driver unsupported operation: %(msg)s")
|
||||||
|
@ -228,7 +228,7 @@ def hsexecute(cmdarg_json):
|
|||||||
cmdarg_json,
|
cmdarg_json,
|
||||||
run_as_root=True)
|
run_as_root=True)
|
||||||
except (putils.UnknownArgumentError, putils.ProcessExecutionError,
|
except (putils.UnknownArgumentError, putils.ProcessExecutionError,
|
||||||
exception.ErrorInParsingArguments, OSError):
|
OSError):
|
||||||
LOG.error("Exception in running the command for %s",
|
LOG.error("Exception in running the command for %s",
|
||||||
cmdarg_json,
|
cmdarg_json,
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user