module documentation
Ganeti exception handling.
Exception |
|
Errors related to IP address pools. |
Exception |
|
Block-device related exception. |
Exception |
|
External command error. |
Exception |
|
A magic fourcc error in Ganeti confd. |
Exception |
|
A magic fourcc error in Ganeti confd. |
Exception |
|
Configuration related exception. |
Exception |
|
Error reported by configuration verification |
Exception |
|
Version mismatch in the configuration file. |
Exception |
|
Error during the creation of a device. |
Exception |
|
Error from file storage path validation. |
Exception |
|
Base exception for Ganeti. |
Exception |
|
A required hook has failed. |
Exception |
|
A generic hook failure. |
Exception |
|
Hotplug-related exception. |
Exception |
|
Hypervisor-related exception. |
Exception |
|
Error raised when there is a failure setting up an inotify watcher. |
Exception |
|
Generic IP address error. |
Exception |
|
Submitted job was canceled. |
Exception |
|
Job file could not be properly decoded/restored. |
Exception |
|
Submitted job lost. |
Exception |
|
Job queue is marked for drain error. |
Exception |
|
Job queue error. |
Exception |
|
Job queue full error. |
Exception |
|
Job was submitted, client should exit. |
Exception |
|
Lock error exception. |
Exception |
|
LUXI error. |
Exception |
|
python ctypes module is not found in the system. |
Exception |
|
Unknown opcode submitted. |
Exception |
|
Error during OpCode execution. |
Exception |
|
Prerequisites for the OpCode are not fulfilled. |
Exception |
|
Issue with OpCode result. |
Exception |
|
This opcode does not support retries |
Exception |
|
A passed parameter to a command is invalid. |
Exception |
|
Generic parse error. |
Exception |
|
PID file is already locked by another process. |
Exception |
|
Programming-related error. |
Exception |
|
Error while parsing query filter. |
Exception |
|
Signal Ganeti that it must quit. |
Exception |
|
Exception containing results from RAPI test utilities. |
Exception |
|
Programming-related error on remote call. |
Exception |
|
Errors reserving a resource. |
Exception |
|
Host name cannot be resolved. |
Exception |
|
The iallocation results fails validation. |
Exception |
|
Error authenticating a remote message. |
Exception |
|
Error from updating the SSH setup. |
Exception |
|
Storage-related exception. |
Exception |
|
Generic tag error. |
Exception |
|
Unable to enforce data type. |
Exception |
|
UDP payload too big. |
Exception |
|
Unable to parse size unit. |
Exception |
|
Invalid X509 certificate. |
Function |
|
Encodes an exception into a format that MaybeRaise will recognise. |
Function |
|
If this looks like an encoded Ganeti exception, return it. |
Function |
|
Return the class of an exception. |
Function |
|
If this looks like an encoded Ganeti exception, raise it. |
Encodes an exception into a format that MaybeRaise
will recognise.
The passed err
argument will be formatted as a tuple (exception name, arguments) that the MaybeRaise function will recognise.
Parameters | |
err:GenericError child | usually a child of GenericError (but any exception will be accepted) |
Returns | |
tuple | tuple of (exception name, exception arguments) |
If this looks like an encoded Ganeti exception, return it.
This function tries to parse the passed argument and if it looks like an encoding done by EncodeException, it will return the class object and arguments.
Return the class of an exception.
Given the class name, return the class itself.
Parameters | |
name:str | the exception name |
Returns | |
class | the actual class, or None if not found |