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

View File

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

View File

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