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_decrypt': 'failed', 'uploading': 'pending', 'failed_untar': 'failed', 'decrypting': 'pending', 'downloading': 'pending', 'failed_upload': 'failed', 'untarring': 'pending', 'failed_download': 'failed', 'available': 'available'}
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