diff options
| author | Eoghan Glynn <eglynn@redhat.com> | 2012-07-09 11:59:56 +0000 |
|---|---|---|
| committer | Eoghan Glynn <eglynn@redhat.com> | 2012-07-17 18:29:16 +0100 |
| commit | 8600394ec4dd4f800d774e4ed0c24fe087d8e1d3 (patch) | |
| tree | 5d300e4f3bcae57b3c3ced49314b214ecab1dcd5 /nova/openstack | |
| parent | 500ee77121512fd40f5c2afb885fdc45fbf4b57f (diff) | |
| download | nova-8600394ec4dd4f800d774e4ed0c24fe087d8e1d3.tar.gz nova-8600394ec4dd4f800d774e4ed0c24fe087d8e1d3.tar.xz nova-8600394ec4dd4f800d774e4ed0c24fe087d8e1d3.zip | |
Support EC2 CreateImage API for boot-from-volume
Fixes bug lp 988335
For fidelity with AWS, where the EC2 CreateImage API is only
supported for EBS-backed instances, we now support this API
for booted-from-volume nova servers.
We create a "place-holder" image in glance with the image data
being effectively empty, and the following properties set:
* the imaged instance's kernel and ramdisk IDs
* block device mapping containing the appropriate snapshot ID(s)
so that we can boot from this image without providing additional
context (such as via the nova boot --block-device-mapping option)
Change-Id: I0b3d18d7922f2ad1bc687fa88e2f5d4cf5aa068b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
