1 | initial version |
Hi,
Not at the moment. There's been an inline TODO since forever but it never got implemented: https://github.com/openstack/cinder/blob/15.0.1/cinder/image/image_utils.py#L637-L643
At the moment, cinder is downloading the image to a temporary location and then uses qemu-img to do the conversion and write to the final location (can be a file or an actual block device).
One step would be to skip the conversion if the image already has the right format and then do a simple copy. The next step might be to add a config option, saying if the image should be downloaded directly to the final location in this case (you may want to avoid writing small chunks directly to the final location and stick to a temporary file instead).
We can raise this matter again at one of the Cinder meetings, should be a simple thing to do.
Thanks,
Lucian