ironic.common.exception module

Ironic specific exceptions list.

exception ironic.common.exception.AgentAPIError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.AgentCommandTimeout(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.AgentConnectionFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.AgentInProgress(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.AllocationAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.AllocationDuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.AllocationFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.AllocationNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.BIOSSettingAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.BIOSSettingListNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.BIOSSettingNotFound(message=None, **kwargs)[source]

Bases: NotFound

ironic.common.exception.BadRequest

alias of Invalid

exception ironic.common.exception.BootModeNotAllowed(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.CatalogNotFound(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ChassisAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.ChassisNotEmpty(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.ChassisNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.ClientSideError(msg=None, status_code=400, faultcode='Client')[source]

Bases: RuntimeError

property faultstring
exception ironic.common.exception.CommunicationError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ConcurrentActionLimit(message=None, **kwargs)[source]

Bases: TemporaryFailure

exception ironic.common.exception.ConductorAlreadyRegistered(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ConductorHardwareInterfacesAlreadyRegistered(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ConductorNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.ConfigInvalid(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ConfigNotFound(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.Conflict(message=None, **kwargs)[source]

Bases: IronicException

code = 409
exception ironic.common.exception.ConsoleError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ConsoleSubprocessFailed(message=None, **kwargs)[source]

Bases: ConsoleError

exception ironic.common.exception.DHCPLoadError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.DatabaseVersionTooOld(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.DeployTemplateAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.DeployTemplateDuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.DeployTemplateNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.DirectoryNotWritable(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.DracOperationError(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.DriverLoadError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.DriverNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.DriverNotFoundInEntrypoint(message=None, **kwargs)[source]

Bases: DriverNotFound

exception ironic.common.exception.DriverOperationError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.Duplicate(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.DuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.DuplicateNodeOnLookup(message=None, **kwargs)[source]

Bases: NodeNotFound

exception ironic.common.exception.ExclusiveLockRequired(message=None, **kwargs)[source]

Bases: NotAuthorized

exception ironic.common.exception.FailedToCleanDHCPOpts(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FailedToGetIPAddressOnPort(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FailedToGetSensorData(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FailedToParseSensorData(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FailedToUpdateDHCPOptOnPort(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FailedToUpdateMacOnPort(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FileSystemNotSupported(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.FirmwareComponentAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.FirmwareComponentNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.Forbidden(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.GlanceConnectionFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.HTTPForbidden(message=None, **kwargs)[source]

Bases: NotAuthorized

ironic.common.exception.HTTPNotFound

alias of NotFound

exception ironic.common.exception.HardwareInspectionFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.IPMIFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.IRMCOperationError(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.IRMCSharedFileSystemNotMounted(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.IloOperationError(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.IloOperationNotSupported(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.ImageChecksumAlgorithmFailure(message=None, **kwargs)[source]

Bases: InvalidImage

Cannot load the requested or required checksum algorithm.

exception ironic.common.exception.ImageChecksumError(message=None, **kwargs)[source]

Bases: InvalidImage

Exception indicating checksum failed to match.

exception ironic.common.exception.ImageChecksumFileReadFailure(message=None, **kwargs)[source]

Bases: InvalidImage

An OSError was raised when trying to read the file.

code = 503
exception ironic.common.exception.ImageChecksumURLNotSupported(message=None, **kwargs)[source]

Bases: InvalidImage

Exception indicating we cannot support the remote checksum file.

exception ironic.common.exception.ImageConvertFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ImageCreationFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ImageDownloadFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ImageNotAuthorized(message=None, **kwargs)[source]

Bases: NotAuthorized

exception ironic.common.exception.ImageNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.ImageRefIsARedirect(image_ref=None, redirect_url=None, msg=None)[source]

Bases: IronicException

redirect_url = None
exception ironic.common.exception.ImageRefValidationFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ImageUnacceptable(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.ImageUploadFailed(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.IncompatibleInterface(message=None, **kwargs)[source]

Bases: InvalidParameterValue

exception ironic.common.exception.IncompleteLookup(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.IncorrectConfiguration(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InputFileError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InstanceAssociated(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.InstanceDeployFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InstanceNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.InstanceRescueFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InstanceUnrescueFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InsufficientDiskSpace(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InsufficientMemory(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InterfaceNotFoundInEntrypoint(message=None, **kwargs)[source]

Bases: InvalidParameterValue

exception ironic.common.exception.Invalid(message=None, **kwargs)[source]

Bases: IronicException

code = 400
exception ironic.common.exception.InvalidConductorGroup(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidDatapathID(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidDeployTemplate(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidEndpoint(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InvalidIPAddress(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InvalidIPv4Address(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.InvalidIdentity(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidImage(message=None, **kwargs)[source]

Bases: ImageUnacceptable

exception ironic.common.exception.InvalidImageRef(message=None, **kwargs)[source]

Bases: InvalidParameterValue

exception ironic.common.exception.InvalidInput(fieldname, value, msg='')[source]

Bases: ClientSideError

property faultstring
exception ironic.common.exception.InvalidKickstartFile(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidKickstartTemplate(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidMAC(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidName(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidNodeInventory(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidParameterValue(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidRunbook(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidState(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.InvalidStateRequested(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidSwitchID(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidUUID(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.InvalidUuidOrName(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.KeystoneFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.KeystoneUnauthorized(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.MACAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.MissingParameterValue(message=None, **kwargs)[source]

Bases: InvalidParameterValue

exception ironic.common.exception.NetworkError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NoConsolePid(message=None, **kwargs)[source]

Bases: ConsoleError

exception ironic.common.exception.NoDriversLoaded(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NoFreeConductorWorker(message=None, **kwargs)[source]

Bases: TemporaryFailure

code = 503
exception ironic.common.exception.NoFreeIPMITerminalPorts(message=None, **kwargs)[source]

Bases: TemporaryFailure

exception ironic.common.exception.NoFreePhysicalPorts(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NoValidDefaultForInterface(message=None, **kwargs)[source]

Bases: InvalidParameterValue

exception ironic.common.exception.NoValidHost(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.NodeAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.NodeAssociated(message=None, **kwargs)[source]

Bases: InvalidState

exception ironic.common.exception.NodeCleaningFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NodeConsoleNotEnabled(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NodeHistoryNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.NodeInMaintenance(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NodeInventoryAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.NodeInventoryNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.NodeIsRetired(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NodeLocked(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.NodeMaintenanceFailure(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NodeNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.NodeNotLocked(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.NodeProtected(message=None, **kwargs)[source]

Bases: HTTPForbidden

exception ironic.common.exception.NodeServicingFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NodeTagNotFound(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NodeTraitNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.NodeVerifyFailure(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NotAcceptable(message=None, **kwargs)[source]

Bases: IronicException

code = 406
exception ironic.common.exception.NotAuthorized(message=None, **kwargs)[source]

Bases: IronicException

code = 403
exception ironic.common.exception.NotFound(message=None, **kwargs)[source]

Bases: IronicException

code = 404
exception ironic.common.exception.NotificationPayloadError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NotificationSchemaKeyError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.NotificationSchemaObjectError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.OperationNotPermitted(message=None, **kwargs)[source]

Bases: NotAuthorized

exception ironic.common.exception.PasswordFileFailedToCreate(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.PatchError(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.PathNotFound(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.PortAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.PortDuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.PortNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.PortgroupAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.PortgroupDuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.PortgroupMACAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.PortgroupNotEmpty(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.PortgroupNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.PortgroupPhysnetInconsistent(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.PowerStateFailure(message=None, **kwargs)[source]

Bases: InvalidState

exception ironic.common.exception.RedfishConnectionError(message=None, **kwargs)[source]

Bases: RedfishError

exception ironic.common.exception.RedfishError(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.RunbookAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.RunbookDuplicateName(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.RunbookNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.SNMPFailure(message=None, **kwargs)[source]

Bases: DriverOperationError

exception ironic.common.exception.ServiceUnavailable(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.StorageError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.SwiftObjectNotFoundError(message=None, **kwargs)[source]

Bases: SwiftOperationError

exception ironic.common.exception.SwiftObjectStillExists(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.SwiftOperationError(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.TemporaryFailure(message=None, **kwargs)[source]

Bases: IronicException

code = 503
exception ironic.common.exception.UnknownArgument(argname, msg='')[source]

Bases: ClientSideError

property faultstring
exception ironic.common.exception.UnknownAttribute(fieldname, attributes, msg='')[source]

Bases: ClientSideError

add_fieldname(name)[source]

Add a fieldname to concatenate the full name.

Add a fieldname so that the whole hierarchy is displayed. Successive calls to this method will prepend name to the hierarchy of names.

property faultstring
exception ironic.common.exception.UnsupportedDriverExtension(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.UnsupportedHardwareFeature(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.VendorPassthruException(message=None, **kwargs)[source]

Bases: IronicException

exception ironic.common.exception.VifAlreadyAttached(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VifInvalidForAttach(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VifNotAttached(message=None, **kwargs)[source]

Bases: Invalid

exception ironic.common.exception.VolumeConnectorAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VolumeConnectorNotFound(message=None, **kwargs)[source]

Bases: NotFound

exception ironic.common.exception.VolumeConnectorTypeAndIdAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VolumeTargetAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VolumeTargetBootIndexAlreadyExists(message=None, **kwargs)[source]

Bases: Conflict

exception ironic.common.exception.VolumeTargetNotFound(message=None, **kwargs)[source]

Bases: NotFound