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 = {'available': 'available', 'failed_upload': 'failed', 'untarring': 'pending', 'failed_untar': 'failed', 'failed_decrypt': 'failed', 'failed_download': 'failed', 'downloading': 'pending', 'uploading': 'pending', 'decrypting': 'pending'}
show(context, image_id)
update(context, image_id, metadata, data=None)

Previous topic

The nova.image.glance Module

Next topic

The nova.ipv6.account_identifier Module

Project Source

This Page