Commit b125e3b3 authored by Guido Trotter's avatar Guido Trotter
Browse files

Basic exceptions used by confd

Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent 7bcc78e4
......@@ -273,6 +273,24 @@ class JobQueueFull(JobQueueError):
class ConfdFatalError(GenericError):
"""A fatal failure in Ganeti confd.
Events that compromise the ability of confd to proceed further.
(for example: inability to load the config file)
class ConfdRequestError(GenericError):
"""A request error in Ganeti confd.
Events that should make confd abort the current request and proceed serving
different ones.
# errors should be added above
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment