Nova base exception handling.
Includes decorator for re-raising Nova-type exceptions.
SHOULD include dedicated exception logging.
-
exception nova.exception.AccessKeyNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.AdminRequired(*args, **kwargs)
Bases: nova.exception.NotAuthorized
-
exception nova.exception.ApiError(message='Unknown', code=None)
Bases: nova.exception.Error
-
exception nova.exception.AuthTokenNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.CannotResizeToSameSize(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.CannotResizeToSmallerSize(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.CertificateNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ClassNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ComputeHostNotFound(*args, **kwargs)
Bases: nova.exception.HostNotFound
-
exception nova.exception.ComputeServiceUnavailable(**kwargs)
Bases: nova.exception.ServiceUnavailable
-
exception nova.exception.ConsoleNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ConsoleNotFoundForInstance(*args, **kwargs)
Bases: nova.exception.ConsoleNotFound
-
exception nova.exception.ConsoleNotFoundInPoolForInstance(*args, **kwargs)
Bases: nova.exception.ConsoleNotFound
-
exception nova.exception.ConsolePoolNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ConsolePoolNotFoundForHostType(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.DBError(inner_exception=None)
Bases: nova.exception.Error
Wraps an implementation specific exception.
-
exception nova.exception.DatastoreNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.DestinationDiskExists(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.DestinationHypervisorTooOld(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.DiskNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.Duplicate(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.Error(message=None)
Bases: exceptions.Exception
-
exception nova.exception.ExportDeviceNotFoundForVolume(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FileNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FixedIpAlreadyInUse(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.FixedIpInvalid(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.FixedIpNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FixedIpNotFoundForAddress(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForHost(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForInstance(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForNetwork(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForNetworkHost(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForSpecificInstance(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FixedIpNotFoundForVirtualInterface(*args, **kwargs)
Bases: nova.exception.FixedIpNotFound
-
exception nova.exception.FlagNotSet(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FlavorNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FloatingIpAlreadyInUse(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.FloatingIpNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.FloatingIpNotFoundForAddress(*args, **kwargs)
Bases: nova.exception.FloatingIpNotFound
-
exception nova.exception.FloatingIpNotFoundForHost(*args, **kwargs)
Bases: nova.exception.FloatingIpNotFound
-
exception nova.exception.FloatingIpNotFoundForProject(*args, **kwargs)
Bases: nova.exception.FloatingIpNotFound
-
exception nova.exception.GlobalRoleNotAllowed(**kwargs)
Bases: nova.exception.NotAllowed
-
exception nova.exception.HostBinaryNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.HostNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ISCSITargetNotFoundForVolume(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ImageNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
Bases: nova.exception.NovaException
-
exception nova.exception.ImageRotationNotAllowed(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.ImageTooLarge(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.ImageUnacceptable(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.InstanceMetadataNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.InstanceNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.InstanceNotInRescueMode(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceNotRunning(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceNotSuspended(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceRebootFailure(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceResumeFailure(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InstanceSuspendFailure(**kwargs)
Bases: nova.exception.Invalid
Bases: nova.exception.NotFound
-
exception nova.exception.InstanceTypeNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.InstanceTypeNotFoundByName(*args, **kwargs)
Bases: nova.exception.InstanceTypeNotFound
-
exception nova.exception.InstanceUnacceptable(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.Invalid(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.InvalidCPUInfo(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidCidr(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidContentType(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidDevicePath(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidDiskFormat(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidEc2Id(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidHypervisorType(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidImageRef(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidInput(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidInstanceType(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidIpProtocol(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidParameterValue(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidPortRange(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidSharedStorage(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.InvalidSignature(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidVLANPortGroup(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidVLANTag(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.InvalidVolumeType(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.KernelNotFoundForImage(*args, **kwargs)
Bases: nova.exception.ImageNotFound
-
exception nova.exception.KeyPairExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.KeypairNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.LDAPGroupExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.LDAPGroupMembershipNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.LDAPGroupNotFound(*args, **kwargs)
Bases: nova.exception.LDAPObjectNotFound
-
exception nova.exception.LDAPMembershipExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.LDAPObjectNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.LDAPUserExists(**kwargs)
Bases: nova.exception.UserExists
-
exception nova.exception.LDAPUserNotFound(*args, **kwargs)
Bases: nova.exception.LDAPObjectNotFound
-
exception nova.exception.ListingImageRefsNotSupported(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.MalformedRequestBody(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.MigrationError(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.MigrationNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.MigrationNotFoundByStatus(*args, **kwargs)
Bases: nova.exception.MigrationNotFound
-
exception nova.exception.NetworkAdapterNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NetworkHostNotSet(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NetworkNotCreated(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NetworkNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NetworkNotFoundForBridge(*args, **kwargs)
Bases: nova.exception.NetworkNotFound
-
exception nova.exception.NetworkNotFoundForCidr(*args, **kwargs)
Bases: nova.exception.NetworkNotFound
-
exception nova.exception.NetworkNotFoundForInstance(*args, **kwargs)
Bases: nova.exception.NetworkNotFound
-
exception nova.exception.NetworkNotFoundForProject(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NetworkNotFoundForUUID(*args, **kwargs)
Bases: nova.exception.NetworkNotFound
-
exception nova.exception.NoFilesFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NoFixedIpsDefined(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NoFloatingIpsDefined(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NoInstanceTypesFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NoMoreFixedIps(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NoMoreFloatingIps(*args, **kwargs)
Bases: nova.exception.FloatingIpNotFound
-
exception nova.exception.NoNetworksFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NoVolumeTypesFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.NotAllowed(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NotAuthorized(*args, **kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NotFound(*args, **kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.NovaException(**kwargs)
Bases: exceptions.Exception
Base Nova Exception
To correctly use this class, inherit from it and define
a ‘message’ property. That message will get printf’d
with the keyword arguments provided to the constructor.
-
exception nova.exception.PasteAppNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.PasteConfigNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ProcessExecutionError(stdout=None, stderr=None, exit_code=None, cmd=None, description=None)
Bases: exceptions.IOError
-
exception nova.exception.ProjectExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.ProjectMembershipNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ProjectNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ProjectQuotaNotFound(*args, **kwargs)
Bases: nova.exception.QuotaNotFound
-
exception nova.exception.QuotaNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.RebuildRequiresActiveInstance(message=None)
Bases: nova.exception.Error
-
exception nova.exception.RotationRequiredForBackup(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.SchedulerCostFunctionNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SchedulerHostFilterNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SchedulerWeightFlagNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SecurityGroupExistsForInstance(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.SecurityGroupNotExistsForInstance(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.SecurityGroupNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SecurityGroupNotFoundForProject(*args, **kwargs)
Bases: nova.exception.SecurityGroupNotFound
-
exception nova.exception.SecurityGroupNotFoundForRule(*args, **kwargs)
Bases: nova.exception.SecurityGroupNotFound
-
exception nova.exception.ServiceNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ServiceUnavailable(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.SnapshotNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SourceHostUnavailable(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.StorageRepositoryNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.SwitchNotFoundForNetworkAdapter(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.UnableToMigrateToSelf(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.UserExists(**kwargs)
Bases: nova.exception.Duplicate
-
exception nova.exception.UserNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.UserRoleNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VSANovaAccessParamNotFound(**kwargs)
Bases: nova.exception.Invalid
-
exception nova.exception.VirtualInterfaceCreateException(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.VirtualInterfaceMacAddressException(**kwargs)
Bases: nova.exception.NovaException
-
exception nova.exception.VirtualStorageArrayNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VirtualStorageArrayNotFoundByName(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VolumeIsBusy(message=None)
Bases: nova.exception.Error
-
exception nova.exception.VolumeMetadataNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VolumeNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VolumeNotFoundForInstance(*args, **kwargs)
Bases: nova.exception.VolumeNotFound
-
exception nova.exception.VolumeServiceUnavailable(**kwargs)
Bases: nova.exception.ServiceUnavailable
Bases: nova.exception.NotFound
-
exception nova.exception.VolumeTypeNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.VolumeTypeNotFoundByName(*args, **kwargs)
Bases: nova.exception.VolumeTypeNotFound
-
exception nova.exception.ZoneNotFound(*args, **kwargs)
Bases: nova.exception.NotFound
-
exception nova.exception.ZoneRequestError(message=None)
Bases: nova.exception.Error
-
nova.exception.wrap_db_error(f)
-
nova.exception.wrap_exception(notifier=None, publisher_id=None, event_type=None, level=None)
This decorator wraps a method to catch any exceptions that may
get thrown. It logs the exception as well as optionally sending
it to the notification system.