diff options
author | Arne Wiebalck <Arne.Wiebalck@cern.ch> | 2019-02-04 13:17:23 +0100 |
---|---|---|
committer | Arne Wiebalck <Arne.Wiebalck@cern.ch> | 2019-06-04 12:33:40 +0200 |
commit | 2db123d318e481e4c59e305ca52e4eeb526b7659 (patch) | |
tree | 6bd97b463362d4f8860cf5cec5137cce616db8a2 /ironic_python_agent/errors.py | |
parent | 1684ad707c7ab21536bb3a4c0a31d160c6107084 (diff) | |
download | ironic-python-agent-2db123d318e481e4c59e305ca52e4eeb526b7659.tar.gz |
Software RAID: Create/delete configurations
This patch proposes to extend the IPA to be able to configure software
RAID devices. For this, the {create,delete}_configuration methods of
the GenericHardwareManager are implemented.
Change-Id: Id20302537f7994982c7584af546a7e7520e9612b
Story: #2004581
Task: #29101
Diffstat (limited to 'ironic_python_agent/errors.py')
-rw-r--r-- | ironic_python_agent/errors.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ironic_python_agent/errors.py b/ironic_python_agent/errors.py index 11f769f0..737f6cd1 100644 --- a/ironic_python_agent/errors.py +++ b/ironic_python_agent/errors.py @@ -204,6 +204,15 @@ class BlockDeviceError(RESTError): super(BlockDeviceError, self).__init__(details) +class SoftwareRAIDError(RESTError): + """Error raised when a Software RAID causes an error.""" + + message = 'Software RAID caused unknown error' + + def __init__(self, details): + super(SoftwareRAIDError, self).__init__(details) + + class VirtualMediaBootError(RESTError): """Error raised when virtual media device cannot be found for config.""" |