The nova.image.s3
Module¶
Proxy AMI-related calls from cloud controller to objectstore service.
-
class
S3ImageService
(service=None, *args, **kwargs)¶ Bases:
object
Wraps an existing image service to support s3 based register.
-
create
(context, metadata, data=None)¶ Create an image.
metadata[‘properties’] should contain image_location.
-
delete
(context, image_id)¶
-
detail
(context, **kwargs)¶
-
image_state_map
= {'failed_untar': 'failed', 'available': 'available', 'downloading': 'pending', 'failed_decrypt': 'failed', 'failed_upload': 'failed', 'untarring': 'pending', 'uploading': 'pending', 'failed_download': 'failed', 'decrypting': 'pending'}¶
-
show
(context, image_id)¶
-
update
(context, image_id, metadata, data=None)¶
-