diff options
Diffstat (limited to 'ironic/common/exception.py')
-rw-r--r-- | ironic/common/exception.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ironic/common/exception.py b/ironic/common/exception.py index 4d1eb582c..b0666748e 100644 --- a/ironic/common/exception.py +++ b/ironic/common/exception.py @@ -711,6 +711,14 @@ class InvalidDeployTemplate(Invalid): _msg_fmt = _("Deploy template invalid: %(err)s.") +class InvalidKickstartTemplate(Invalid): + _msg_fmt = _("The kickstart template is missing required variables") + + +class InvalidKickstartFile(Invalid): + _msg_fmt = _("The kickstart file is not valid.") + + class IBMCError(DriverOperationError): _msg_fmt = _("IBMC exception occurred on node %(node)s. Error: %(error)s") |