Ironic base exception handling.
SHOULD include dedicated exception logging.
-
exception ironic.common.exception.AMTConnectFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.AMTFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.BadRequest(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.CIMCException(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.CatalogNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ChassisAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.ChassisNotEmpty(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.ChassisNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.CommunicationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ConductorAlreadyRegistered(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ConductorNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.ConfigInvalid(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ConfigNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.Conflict(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ConsoleError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ConsoleSubprocessFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.ConsoleError
-
exception ironic.common.exception.DHCPLoadError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.DirectoryNotWritable(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.DracOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.DriverLoadError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.DriverNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.DriverNotFoundInEntrypoint(message=None, **kwargs)[source]
Bases: ironic.common.exception.DriverNotFound
-
exception ironic.common.exception.Duplicate(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.DuplicateName(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.ExclusiveLockRequired(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotAuthorized
-
exception ironic.common.exception.FailedToCleanDHCPOpts(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FailedToGetIPAddressOnPort(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FailedToGetSensorData(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FailedToParseSensorData(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FailedToUpdateDHCPOptOnPort(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FailedToUpdateMacOnPort(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.FileSystemNotSupported(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.Forbidden(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.GlanceConnectionFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.HTTPForbidden(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotAuthorized
-
exception ironic.common.exception.HTTPNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.HardwareInspectionFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IPMIFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IRMCOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IRMCSharedFileSystemNotMounted(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IloOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IloOperationNotSupported(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageConvertFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageCreationFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageDownloadFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageNotAuthorized(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotAuthorized
-
exception ironic.common.exception.ImageNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.ImageRefValidationFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageUnacceptable(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ImageUploadFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.IncompleteLookup(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InputFileError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.InstanceAssociated(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.InstanceDeployFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.InstanceNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.InsufficientDiskSpace(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.Invalid(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.InvalidDatapathID(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidEndpoint(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.InvalidIPv4Address(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.InvalidIdentity(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidImageRef(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidMAC(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidName(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidParameterValue(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidState(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.InvalidStateRequested(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidSwitchID(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidUUID(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.InvalidUuidOrName(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.IronicException(message=None, **kwargs)[source]
Bases: exceptions.Exception
Base Ironic Exception
To correctly use this class, inherit from it and define
a ‘_msg_fmt’ property. That message will get printf’d
with the keyword arguments provided to the constructor.
If you need to access the message from an exception you should use
six.text_type(exc)
-
exception ironic.common.exception.KeystoneFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.KeystoneUnauthorized(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.MACAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.MSFTOCSClientApiException(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.MissingParameterValue(message=None, **kwargs)[source]
Bases: ironic.common.exception.InvalidParameterValue
-
exception ironic.common.exception.NetworkError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NoConsolePid(message=None, **kwargs)[source]
Bases: ironic.common.exception.ConsoleError
-
exception ironic.common.exception.NoDriversLoaded(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NoFreeConductorWorker(message=None, **kwargs)[source]
Bases: ironic.common.exception.TemporaryFailure
-
exception ironic.common.exception.NoValidHost(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.NodeAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.NodeAssociated(message=None, **kwargs)[source]
Bases: ironic.common.exception.InvalidState
-
exception ironic.common.exception.NodeCleaningFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NodeConsoleNotEnabled(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.NodeInMaintenance(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.NodeLocked(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.NodeMaintenanceFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.NodeNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.NodeNotLocked(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.NodeTagNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotAcceptable(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotAuthorized(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotificationPayloadError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotificationSchemaKeyError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.NotificationSchemaObjectError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.OneViewError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.OneViewInvalidNodeParameter(message=None, **kwargs)[source]
Bases: ironic.common.exception.OneViewError
-
exception ironic.common.exception.OperationNotPermitted(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotAuthorized
-
exception ironic.common.exception.PasswordFileFailedToCreate(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.PatchError(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.PathNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.PortAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.PortNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.PortgroupAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.PortgroupDuplicateName(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.PortgroupMACAlreadyExists(message=None, **kwargs)[source]
Bases: ironic.common.exception.Conflict
-
exception ironic.common.exception.PortgroupNotEmpty(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.PortgroupNotFound(message=None, **kwargs)[source]
Bases: ironic.common.exception.NotFound
-
exception ironic.common.exception.PowerStateFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.InvalidState
-
exception ironic.common.exception.SNMPFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.SSHCommandFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.SSHConnectFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.ServiceUnavailable(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.SwiftObjectNotFoundError(message=None, **kwargs)[source]
Bases: ironic.common.exception.SwiftOperationError
-
exception ironic.common.exception.SwiftOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.TemporaryFailure(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.UcsConnectionError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.UcsOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.Unauthorized(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.UnsupportedDriverExtension(message=None, **kwargs)[source]
Bases: ironic.common.exception.Invalid
-
exception ironic.common.exception.VendorPassthruException(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.VirtualBoxOperationFailed(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException
-
exception ironic.common.exception.WolOperationError(message=None, **kwargs)[source]
Bases: ironic.common.exception.IronicException