Basic import conversion of image format

Registered by Arnaud Legendre on 2014-02-14

With the support of asynchronous operations and the new import workflow in Glance (see the dependency tree), it will possible to have an image format conversion on the fly while importing an image.

The conversion will be provided by a plugin of the import workflow. This plugin can be activated
or not based on the deployer configuration. This means that the deployer will need to specify the
preferred format of images for the deployment.

This blueprint will handle the conversion of formats supported by qemu-img convert: raw, qcow2, vdi, vmdk and vpc.

At this point this is not clear if we need one plugin per conversion or one conversion plugin.

Internally, Glance will receive the bits of the image in a XX format. These bits will be stored in a temporary location. The plugin will be triggered to convert the image to its target format YY and moved to its final destination. When the task is finished, the temporary location is deleted.
This means that the format uploaded initially is not kept by Glance.

Blueprint information

Mark Washenberger
Arnaud Legendre
Needs approval
Flavio Percoco
Pending Approval
Series goal:
Accepted for kilo
Milestone target:
milestone icon 2015.1.0
Started by
Nikhil Komawar on 2015-03-10
Completed by
Flavio Percoco on 2015-03-12

Related branches



Work Items

Dependency tree

* Blueprints in grey have been implemented.