Avoids 'qemu-img snapshot' failure when native API create_image action
is applied to a volume-backed instance.
Applies the same logic as is used to create a placeholder image from
a volume-backed instance via the EC2 API CreateImage operation, with
the now-common code refactored into the ComputeAPI class.
Reviewed: https:/ /review. openstack. org/12583 github. com/openstack/ nova/commit/ c3476b5ca7ab523 7d3cb8a84fcb7a3 292237b764
Committed: http://
Submitter: Jenkins
Branch: master
commit c3476b5ca7ab523 7d3cb8a84fcb7a3 292237b764
Author: Eoghan Glynn <email address hidden>
Date: Fri Sep 7 12:45:27 2012 +0000
Create image of volume-backed instance via native API
Fixes bug 1034730.
Avoids 'qemu-img snapshot' failure when native API create_image action
is applied to a volume-backed instance.
Applies the same logic as is used to create a placeholder image from
a volume-backed instance via the EC2 API CreateImage operation, with
the now-common code refactored into the ComputeAPI class.
Change-Id: I624584ae9adbf3 0629f0e814d340d a6b9e6e59bd