cinder.exception module
Cinder base exception handling.
Includes decorator for re-raising Cinder-type exceptions.
SHOULD include dedicated exception logging.
-
exception APIException(message=None, **kwargs)
Bases: CinderException
-
message = 'Error while requesting %(service)s API.'
-
exception APITimeout(message=None, **kwargs)
Bases: APIException
-
message = 'Timeout while requesting %(service)s API.'
-
exception AdminRequired(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotAuthorized
-
message = 'User does not have admin privileges'
-
exception AttachmentSpecsNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Attachment %(attachment_id)s has no key %(specs_key)s.'
-
exception BackupDriverException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Backup driver reported an error: %(reason)s'
-
exception BackupInvalidCephArgs(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Invalid Ceph args provided for backup rbd operation'
-
exception BackupLimitExceeded(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Maximum number of backups allowed (%(allowed)d) exceeded'
-
exception BackupMetadataNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Backup %(backup_id)s has no metadata with key %(metadata_key)s.'
-
exception BackupMetadataUnsupportedVersion(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Unsupported backup metadata version requested'
-
exception BackupNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Backup %(backup_id)s could not be found.'
-
exception BackupOperationError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'An error has occurred during backup operation'
-
exception BackupRBDOperationFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Backup RBD operation failed'
-
exception BackupRestoreCancel(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Canceled backup %(back_id)s restore on volume %(vol_id)s'
-
exception BadHTTPResponseStatus(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Bad HTTP response status %(status)s'
-
exception BadResetResourceStatus(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Bad reset resource status : %(reason)s'
-
exception CappedVersionUnknown(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = "Unrecoverable Error: Versioned Objects in DB are capped to unknown version %(version)s. Most likely your environment contains only new services and you're trying to start an older one. Use `cinder-manage service list` to check that and upgrade this service."
-
exception CgSnapshotNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'CgSnapshot %(cgsnapshot_id)s could not be found.'
-
exception CinderAcceleratorError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Cinder accelerator %(accelerator)s encountered an error while compressing/decompressing image.\nCommand %(cmd)s execution failed.\n%(description)s\nReason: %(reason)s'
-
exception CinderException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Exception
Base Cinder 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.
-
code = 500
-
message = 'An unknown exception occurred.'
-
safe = False
-
exception CleanableInUse(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = '%(type)s with id %(id)s is already being cleaned up or another host has taken over it.'
-
exception ClusterExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Cluster %(name)s already exists.'
-
exception ClusterHasHosts(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Cluster %(id)s still has hosts.'
-
exception ClusterNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Cluster %(id)s could not be found.'
-
exception ConfigNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Could not find config at %(path)s'
-
exception ConflictNovaUsingAttachment(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 409
-
message = 'Detach volume from instance %(instance_id)s using the Compute API'
-
safe = True
-
exception ConsistencyGroupNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'ConsistencyGroup %(consistencygroup_id)s could not be found.'
-
exception ConvertedException(code: int = 500, title: str = '', explanation: str = '')
Bases: WSGIHTTPException
-
exception DeviceUnavailable(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'The device in the path %(path)s is unavailable: %(reason)s'
-
exception DriverInitiatorDataExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = "Driver initiator data for initiator '%(initiator)s' and backend '%(namespace)s' with key '%(key)s' already exists."
-
exception DriverNotInitialized(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume driver not ready.'
-
exception Duplicate(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
exception EncryptedBackupOperationFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Backup operation of an encrypted volume failed.'
-
exception EvaluatorParseException
Bases: Exception
-
message = 'Error during evaluator parsing: %(reason)s'
-
exception ExportFailure(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Failed to export for volume: %(reason)s'
-
exception ExtendVolumeError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Error extending volume: %(reason)s'
-
exception FCSanLookupServiceException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Fibre Channel SAN Lookup failure: %(reason)s'
-
exception FCZoneDriverException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Fibre Channel Zone operation failed: %(reason)s'
-
exception FailedCmdWithDump(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Operation failed with status=%(status)s. Full dump: %(data)s'
-
exception FileNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'File %(file_path)s could not be found.'
-
exception GlanceConnectionFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Connection to glance failed: %(reason)s'
-
exception GlanceMetadataExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Glance metadata cannot be updated, key %(key)s exists for volume id %(volume_id)s'
-
exception GlanceMetadataNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Glance metadata for volume/snapshot %(id)s cannot be found.'
-
exception GlanceStoreNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Store %(store_id)s not enabled in glance.'
-
exception GlanceStoreReadOnly(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Store %(store_id)s is read-only in glance.'
-
exception GroupLimitExceeded(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Maximum number of groups allowed (%(allowed)d) exceeded'
-
exception GroupNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Group %(group_id)s could not be found.'
-
exception GroupSnapshotNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'GroupSnapshot %(group_snapshot_id)s could not be found.'
-
exception GroupTypeAccessExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Group type access for %(group_type_id)s / %(project_id)s combination already exists.'
-
exception GroupTypeAccessNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Group type access not found for %(group_type_id)s / %(project_id)s combination.'
-
exception GroupTypeCreateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Cannot create group_type with name %(name)s and specs %(group_specs)s'
-
exception GroupTypeExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Group Type %(id)s already exists.'
-
exception GroupTypeInUse(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Group Type %(group_type_id)s deletion is not allowed with groups present with the type.'
-
exception GroupTypeNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Group type %(group_type_id)s could not be found.'
-
exception GroupTypeNotFoundByName(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: GroupTypeNotFound
-
message = 'Group type with name %(group_type_name)s could not be found.'
-
exception GroupTypeSpecsNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Group Type %(group_type_id)s has no specs with key %(group_specs_key)s.'
-
exception GroupTypeUpdateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Cannot update group_type %(id)s'
-
exception GroupVolumeTypeMappingExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Group volume type mapping for %(group_id)s / %(volume_type_id)s combination already exists.'
-
exception HostNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Host %(host)s could not be found.'
-
exception ISCSITargetAttachFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to attach iSCSI target for volume %(volume_id)s.'
-
exception ISCSITargetCreateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to create iscsi target for volume %(volume_id)s.'
-
exception ISCSITargetDetachFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to detach iSCSI target for volume %(volume_id)s.'
-
exception ISCSITargetHelperCommandFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = '%(error_message)s'
-
exception ISCSITargetRemoveFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to remove iscsi target for volume %(volume_id)s.'
-
exception ImageCompressionNotAllowed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Image compression upload disallowed, but container_format is compressed'
-
exception ImageConversionNotAllowed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Image Conversion disallowed for image %(image_id)s: %(reason)s'
-
exception ImageCopyFailure(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Failed to copy image to volume: %(reason)s'
-
exception ImageDownloadFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to download image %(image_href)s, reason: %(reason)s'
-
exception ImageLimitExceeded(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Image quota exceeded'
-
exception ImageNotAuthorized(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Not authorized for image %(image_id)s.'
-
exception ImageNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Image %(image_id)s could not be found.'
-
exception ImageSignatureVerificationException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to verify image signature, reason: %(reason)s.'
-
exception ImageTooBig(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Image %(image_id)s size exceeded available disk space: %(reason)s'
-
exception ImageUnacceptable(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Image %(image_id)s is unacceptable: %(reason)s'
-
exception Invalid(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 400
-
message = 'Unacceptable parameters.'
-
exception InvalidAPIVersionString(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'API Version String %(version)s is of invalid format. Must be of format MajorNum.MinorNum.'
-
exception InvalidAuthKey(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid auth key: %(reason)s'
-
exception InvalidAvailabilityZone(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = "Availability zone '%(az)s' is invalid."
-
exception InvalidBackup(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid backup: %(reason)s'
-
exception InvalidCgSnapshot(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid CgSnapshot: %(reason)s'
-
exception InvalidConfigurationValue(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Value "%(value)s" is not valid for configuration option "%(option)s"'
-
exception InvalidConnectorException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = "Connector doesn't have required information: %(missing)s"
-
exception InvalidConsistencyGroup(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid ConsistencyGroup: %(reason)s'
-
exception InvalidContentType(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid content type %(content_type)s.'
-
exception InvalidGlobalAPIVersion(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Version %(req_ver)s is not supported by the API. Minimum is %(min_ver)s and maximum is %(max_ver)s.'
-
exception InvalidGroup(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid Group: %(reason)s'
-
exception InvalidGroupSnapshot(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid GroupSnapshot: %(reason)s'
-
exception InvalidGroupSnapshotStatus(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid GroupSnapshot Status: %(reason)s'
-
exception InvalidGroupStatus(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid Group Status: %(reason)s'
-
exception InvalidGroupType(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid group type: %(reason)s'
-
exception InvalidHost(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid host: %(reason)s'
-
exception InvalidImageRef(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid image href %(image_href)s.'
-
exception InvalidInput(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid input received: %(reason)s'
-
exception InvalidMetadataType(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'The type of metadata: %(metadata_type)s for volume/snapshot %(id)s is invalid.'
-
exception InvalidName(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = "An invalid 'name' value was provided. %(reason)s"
-
exception InvalidParameterValue(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = '%(err)s'
-
exception InvalidQoSSpecs(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid qos specs: %(reason)s'
-
exception InvalidQuotaValue(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Change would make usage less than 0 for the following resources: %(unders)s'
-
exception InvalidReplicationTarget(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid Replication Target: %(reason)s'
-
exception InvalidReservationExpiration(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid reservation expiration %(expire)s.'
-
exception InvalidResults(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'The results are invalid.'
-
exception InvalidSignatureImage(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Signature metadata is incomplete for image: %(image_id)s.'
-
exception InvalidSnapshot(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid snapshot: %(reason)s'
-
exception InvalidTypeAvailabilityZones(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Volume type is only supported in these availability zones: %(az)s'
-
exception InvalidUUID(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Expected a UUID but received %(uuid)s.'
-
exception InvalidVolume(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid volume: %(reason)s'
-
exception InvalidVolumeAttachMode(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = "Invalid attaching mode '%(mode)s' for volume %(volume_id)s."
-
exception InvalidVolumeMetadata(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid metadata: %(reason)s'
-
exception InvalidVolumeMetadataSize(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid metadata size: %(reason)s'
-
exception InvalidVolumeType(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Invalid volume type: %(reason)s'
-
exception KeyManagerError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'key manager error: %(reason)s'
-
exception LockCreationFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Unable to create lock. Coordination backend not started.'
-
exception MalformedRequestBody(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Malformed message body: %(reason)s'
-
exception MalformedResponse(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Malformed response to command %(cmd)s: %(reason)s'
-
exception ManageExistingAlreadyManaged(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Unable to manage existing volume. Volume %(volume_ref)s already managed.'
-
exception ManageExistingInvalidReference(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Manage existing volume failed due to invalid backend reference %(existing_ref)s: %(reason)s'
-
exception ManageExistingVolumeTypeMismatch(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Manage existing volume failed due to volume type mismatch: %(reason)s'
-
exception MessageNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Message %(message_id)s could not be found.'
-
exception MetadataAbsent(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'There is no metadata in DB object.'
-
exception MetadataCopyFailure(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Failed to copy metadata to volume: %(reason)s'
-
exception MetadataUpdateFailure(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Failed to update metadata for volume: %(reason)s'
-
exception NfsException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSException
-
message = 'Unknown NFS exception'
-
exception NfsNoSharesMounted(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSNoSharesMounted
-
message = 'No mounted NFS shares found'
-
exception NfsNoSuitableShareFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSNoSuitableShareFound
-
message = 'There is no share which can host %(volume_size)sG'
-
exception NoValidBackend(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'No valid backend was found. %(reason)s'
-
exception NotAuthorized(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 403
-
message = 'Not authorized.'
-
exception NotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 404
-
message = 'Resource could not be found.'
-
safe = True
-
exception NotSupportedOperation(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
code = 405
-
message = 'Operation not supported: %(operation)s.'
-
exception OverQuota(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Quota exceeded for resources: %(overs)s'
-
exception ParameterNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Could not find parameter %(param)s'
-
exception PolicyNotAuthorized(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotAuthorized
-
message = "Policy doesn't allow %(action)s to be performed."
-
exception ProgrammingError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Programming error in Cinder: %(reason)s'
-
exception ProjectQuotaNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaNotFound
-
message = 'Quota for project %(project_id)s could not be found.'
-
exception QoSSpecsAssociateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to associate qos_specs: %(specs_id)s with type %(type_id)s.'
-
exception QoSSpecsCreateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to create qos_specs: %(name)s with specs %(qos_specs)s.'
-
exception QoSSpecsDisassociateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to disassociate qos_specs: %(specs_id)s with type %(type_id)s.'
-
exception QoSSpecsExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'QoS Specs %(specs_id)s already exists.'
-
exception QoSSpecsInUse(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'QoS Specs %(specs_id)s is still associated with entities.'
-
exception QoSSpecsKeyNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'QoS spec %(specs_id)s has no spec with key %(specs_key)s.'
-
exception QoSSpecsNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'No such QoS spec %(specs_id)s.'
-
exception QoSSpecsUpdateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to update qos_specs: %(specs_id)s with specs %(qos_specs)s.'
-
exception QuotaClassNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaNotFound
-
message = 'Quota class %(class_name)s could not be found.'
-
exception QuotaError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 413
-
message = 'Quota exceeded: code=%(code)s'
-
safe = True
-
exception QuotaNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Quota could not be found'
-
exception QuotaResourceUnknown(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaNotFound
-
message = 'Unknown quota resources %(unknown)s.'
-
exception QuotaUsageNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaNotFound
-
message = 'Quota usage for project %(project_id)s could not be found.'
-
exception RPCTimeout(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
code = 502
-
message = 'Timeout while requesting capabilities from backend %(service)s.'
-
exception RekeyNotSupported(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Rekey not supported.'
-
exception RemoteFSConcurrentRequest(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSException
-
message = 'A concurrent, possibly contradictory, request has been made.'
-
exception RemoteFSException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Unknown RemoteFS exception'
-
exception RemoteFSInvalidBackingFile(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'File %(path)s has invalid backing file %(backing_file)s.'
-
exception RemoteFSNoSharesMounted(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSException
-
message = 'No mounted shares found'
-
exception RemoteFSNoSuitableShareFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: RemoteFSException
-
message = 'There is no share which can host %(volume_size)sG'
-
exception RemoveExportException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Failed to remove export for volume %(volume)s: %(reason)s'
-
exception ReplicationError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume %(volume_id)s replication error: %(reason)s'
-
exception ReplicationGroupError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Group %(group_id)s replication error: %(reason)s.'
-
exception SSHInjectionThreat(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'SSH command injection detected: %(command)s'
-
exception SchedulerHostFilterNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Scheduler Host Filter %(filter_name)s could not be found.'
-
exception SchedulerHostWeigherNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Scheduler Host Weigher %(weigher_name)s could not be found.'
-
exception ServerNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Instance %(uuid)s could not be found.'
-
exception ServiceNotFound(message=None, **kwargs)
Bases: NotFound
-
exception ServiceTooOld(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Service is too old to fulfil this request.'
-
exception ServiceUnavailable(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Service is unavailable at this time.'
-
exception ServiceUserTokenNoAuth(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'The [service_user] send_service_user_token option was requested, but no service auth could be loaded. Please check the [service_user] configuration section.'
-
exception SnapshotIsBusy(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'deleting snapshot %(snapshot_name)s that has dependent volumes'
-
exception SnapshotLimitExceeded(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Maximum number of snapshots allowed (%(allowed)d) exceeded'
-
exception SnapshotLimitReached(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Exceeded the configured limit of %(set_limit)s snapshots per volume.'
-
exception SnapshotMetadataNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Snapshot %(snapshot_id)s has no metadata with key %(metadata_key)s.'
-
exception SnapshotNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Snapshot %(snapshot_id)s could not be found.'
-
exception SnapshotUnavailable(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeBackendAPIException
-
message = 'The snapshot is unavailable: %(data)s'
-
exception SwiftConnectionFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Connection to swift failed: %(reason)s'
-
exception TargetUpdateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to update target for volume %(volume_id)s.'
-
exception TransferNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Transfer %(transfer_id)s could not be found.'
-
exception UnableToFailOver(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Unable to failover to replication target: %(reason)s).'
-
exception UnavailableDuringUpgrade(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Cannot perform %(action)s during system upgrade.'
-
exception UnexpectedOverQuota(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Unexpected over quota on %(name)s.'
-
exception UnknownCmd(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeDriverException
-
message = 'Unknown or unsupported command %(cmd)s'
-
exception ValidationError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = '%(detail)s'
-
exception VersionNotFoundForAPIMethod(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'API version %(version)s is not supported on this method.'
-
exception VolumeAttached(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Volume %(volume_id)s is still attached, detach volume first.'
-
exception VolumeAttachmentNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume attachment could not be found with filter: %(filter)s.'
-
exception VolumeBackendAPIException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Bad or unexpected response from the storage volume backend API: %(data)s'
-
exception VolumeBackupSizeExceedsAvailableQuota(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Requested backup exceeds allowed Backup gigabytes quota. Requested %(requested)sG, quota is %(quota)sG and %(consumed)sG has been consumed.'
-
exception VolumeDeviceNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume device not found at %(device)s.'
-
exception VolumeDriverException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume driver reported an error: %(message)s'
-
exception VolumeGroupCreationFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Failed to create Volume Group: %(vg_name)s'
-
exception VolumeGroupNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Unable to find Volume Group: %(vg_name)s'
-
exception VolumeIsBusy(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'deleting volume %(volume_name)s that has snapshot'
-
exception VolumeLimitExceeded(message=None, **kwargs)
Bases: QuotaError
-
message = "Maximum number of volumes allowed (%(allowed)d) exceeded for quota '%(name)s'."
-
exception VolumeMetadataBackupExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: BackupDriverException
-
message = 'Metadata backup already exists for this volume'
-
exception VolumeMetadataNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume %(volume_id)s has no metadata with key %(metadata_key)s.'
-
exception VolumeMigrationFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume migration failed: %(reason)s'
-
exception VolumeNotDeactivated(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume %(name)s was not deactivated in time.'
-
exception VolumeNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume %(volume_id)s could not be found.'
-
exception VolumeSizeExceedsAvailableQuota(message=None, **kwargs)
Bases: QuotaError
-
message = 'Requested volume or snapshot exceeds allowed %(name)s quota. Requested %(requested)sG, quota is %(quota)sG and %(consumed)sG has been consumed.'
-
exception VolumeSizeExceedsLimit(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: QuotaError
-
message = 'Requested volume size %(size)dG is larger than maximum allowed limit %(limit)dG.'
-
exception VolumeSnapshotNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'No snapshots found for volume %(volume_id)s.'
-
exception VolumeTypeAccessExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Volume type access for %(volume_type_id)s / %(project_id)s combination already exists.'
-
exception VolumeTypeAccessNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume type access not found for %(volume_type_id)s / %(project_id)s combination.'
-
exception VolumeTypeCreateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Cannot create volume_type with name %(name)s and specs %(extra_specs)s'
-
exception VolumeTypeDefaultDeletionError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'The volume type %(volume_type_id)s is a default volume type and cannot be deleted.'
-
exception VolumeTypeDefaultMisconfiguredError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'The request cannot be fulfilled as the default volume type %(volume_type_name)s cannot be found.'
-
exception VolumeTypeDeletionError(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'The volume type %(volume_type_id)s is the only currently defined volume type and cannot be deleted.'
-
exception VolumeTypeEncryptionExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Invalid
-
message = 'Volume type encryption for type %(type_id)s already exists.'
-
exception VolumeTypeEncryptionNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume type encryption for type %(type_id)s does not exist.'
-
exception VolumeTypeExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Volume Type %(id)s already exists.'
Bases: NotFound
-
exception VolumeTypeInUse(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Volume Type %(volume_type_id)s deletion is not allowed with volumes present with the type.'
-
exception VolumeTypeNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Volume type %(volume_type_id)s could not be found.'
-
exception VolumeTypeNotFoundByName(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: VolumeTypeNotFound
-
message = 'Volume type with name %(volume_type_name)s could not be found.'
-
exception VolumeTypeProjectDefaultNotFound(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: NotFound
-
message = 'Default type for project %(project_id)s not found.'
-
exception VolumeTypeUpdateFailed(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Cannot update volume_type %(id)s'
-
exception WorkerExists(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: Duplicate
-
message = 'Worker for %(type)s %(id)s already exists.'
-
exception WorkerNotFound(message=None, **kwargs)
Bases: NotFound
-
message = 'Worker with %s could not be found.'
-
exception ZoneManagerException(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Fibre Channel connection control failure: %(reason)s'
-
exception ZoneManagerNotInitialized(message: Optional[Union[str, tuple]] = None, **kwargs)
Bases: CinderException
-
message = 'Fibre Channel Zone Manager not initialized'