message = _("Invalid snapshot: %(reason)s")
-class InvalidSourceVolume(Invalid):
- message = _("Invalid source volume %(reason)s.")
-
-
class InvalidVolumeAttachMode(Invalid):
message = _("Invalid attaching mode '%(mode)s' for "
"volume %(volume_id)s.")
message = _("Failed to load data into json format")
-class InvalidRequest(Invalid):
- message = _("The request is invalid.")
-
-
class InvalidResults(Invalid):
message = _("The results are invalid.")
safe = True
-class PersistentVolumeFileNotFound(NotFound):
- message = _("Volume %(volume_id)s persistence file could not be found.")
-
-
class VolumeNotFound(NotFound):
message = _("Volume %(volume_id)s could not be found.")
"key %(metadata_key)s.")
-class InvalidSnapshotMetadata(Invalid):
- message = _("Invalid metadata: %(reason)s")
-
-
-class InvalidSnapshotMetadataSize(Invalid):
- message = _("Invalid metadata size: %(reason)s")
-
-
class VolumeTypeNotFound(NotFound):
message = _("Volume type %(volume_type_id)s could not be found.")
message = _("No target id found for volume %(volume_id)s.")
-class DiskNotFound(NotFound):
- message = _("No disk at %(location)s")
-
-
class InvalidImageRef(Invalid):
message = _("Invalid image href %(image_href)s.")
message = _("Migration %(migration_id)s could not be found.")
-class MigrationNotFoundByStatus(MigrationNotFound):
- message = _("Migration not found for instance %(instance_id)s "
- "with status %(status)s.")
-
-
class FileNotFound(NotFound):
message = _("File %(file_path)s could not be found.")
-class ClassNotFound(NotFound):
- message = _("Class %(class_name)s could not be found: %(exception)s")
-
-
-class NotAllowed(CinderException):
- message = _("Action not allowed.")
-
-
#TODO(bcwaldon): EOL this exception!
class Duplicate(CinderException):
pass
-class KeyPairExists(Duplicate):
- message = _("Key pair %(key_name)s already exists.")
-
-
class VolumeTypeExists(Duplicate):
message = _("Volume Type %(id)s already exists.")
message = _("Volume type encryption for type %(type_id)s already exists.")
-class MigrationError(CinderException):
- message = _("Migration error: %(reason)s")
-
-
class MalformedRequestBody(CinderException):
message = _("Malformed message body: %(reason)s")
"allowed Gigabytes quota")
-class VolumeSizeExceedsQuota(QuotaError):
- message = _("Maximum volume/snapshot size exceeded")
-
-
class VolumeLimitExceeded(QuotaError):
message = _("Maximum number of volumes allowed (%(allowed)d) exceeded")
message = _("Detected more than one volume with name %(vol_name)s")
-class Duplicate3PARHost(CinderException):
- message = _("3PAR Host already exists: %(err)s. %(info)s")
-
-
class Invalid3PARDomain(CinderException):
message = _("Invalid 3PAR Domain: %(err)s")
message = _("Backup RBD operation failed")
-class BackupVolumeInvalidType(Invalid):
- message = _("Backup volume %(volume_id)s type not recognised.")
-
-
class BackupNotFound(NotFound):
message = _("Backup %(backup_id)s could not be found.")