Glance Store exception subclasses
glance_store.exceptions.
AuthBadRequest
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Connect error/bad request to Auth service at URL %(url)s.'¶glance_store.exceptions.
AuthUrlNotFound
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Auth service at URL %(url)s not found.'¶glance_store.exceptions.
AuthorizationFailure
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Authorization failed.'¶glance_store.exceptions.
AuthorizationRedirect
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Redirecting to %(uri)s for authorization.'¶glance_store.exceptions.
BackendException
¶Bases: Exception
glance_store.exceptions.
BadAuthStrategy
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Incorrect auth strategy, expected "%(expected)s" but received "%(received)s"'¶glance_store.exceptions.
BadStoreConfiguration
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Store %(store_name)s could not be configured correctly. Reason: %(reason)s'¶glance_store.exceptions.
BadStoreUri
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'The Store URI was malformed: %(uri)s'¶glance_store.exceptions.
DriverLoadFailure
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Driver %(driver_name)s could not be loaded.'¶glance_store.exceptions.
Duplicate
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Image %(image)s already exists'¶glance_store.exceptions.
Forbidden
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'You are not authorized to complete this action.'¶glance_store.exceptions.
GlanceStoreException
(message=None, **kwargs)¶Bases: Exception
Base Glance Store 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.
message
= 'An unknown exception occurred'¶glance_store.exceptions.
HasSnapshot
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'The image cannot be deleted because it has snapshot(s).'¶glance_store.exceptions.
InUseByStore
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'The image cannot be deleted because it is in use through the backend store outside of Glance.'¶glance_store.exceptions.
Invalid
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Data supplied was not valid.'¶glance_store.exceptions.
MaxRedirectsExceeded
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Maximum redirects (%(redirects)s) was exceeded.'¶glance_store.exceptions.
MissingCredentialError
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Missing required credential: %(required)s'¶glance_store.exceptions.
NoServiceEndpoint
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Response from Keystone does not contain a Glance endpoint.'¶glance_store.exceptions.
NotAuthenticated
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'You are not authenticated.'¶glance_store.exceptions.
NotFound
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Image %(image)s not found'¶glance_store.exceptions.
RedirectException
(url)¶Bases: Exception
glance_store.exceptions.
RegionAmbiguity
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= "Multiple 'image' service matches for region %(region)s. This generally means that a region is required and you have not supplied one."¶glance_store.exceptions.
StorageFull
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'There is not enough disk space on the image storage media.'¶glance_store.exceptions.
StorageWriteDenied
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Permission to write image storage media denied.'¶glance_store.exceptions.
StoreAddDisabled
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Configuration for store failed. Adding images to this store is disabled.'¶glance_store.exceptions.
StoreDeleteNotSupported
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Deleting images from this store is not supported.'¶glance_store.exceptions.
StoreGetNotSupported
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Getting images from this store is not supported.'¶glance_store.exceptions.
StoreRandomGetNotSupported
(message=None, **kwargs)¶Bases: glance_store.exceptions.StoreGetNotSupported
message
= 'Getting images randomly from this store is not supported. Offset: %(offset)s, length: %(chunk_size)s'¶glance_store.exceptions.
UnknownHashingAlgo
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= 'Unknown hashing algorithm identifier: %(algo)s'¶glance_store.exceptions.
UnknownScheme
(message=None, **kwargs)¶Bases: glance_store.exceptions.GlanceStoreException
message
= "Unknown scheme '%(scheme)s' found in URI"¶glance_store.exceptions.
UnsupportedBackend
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.