Backlog #3132
Image conversion on upload
Status: | Pending | Start date: | 08/06/2014 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Drivers - Storage | |||
Target version: | - |
Description
It would be great if you could select to automatically convert an image when uploading it to the datastore.
We have our users creating images with Virtual Box and tell them to use the qcow format. However we would like to use qcow2 instead. Though it's easily possible to make this conversion, it would be very, very convenient if it could be done automatically in the upload dialog.
We would also contribute some work into this feature to make it happen!
Cheers,
Christian
History
#1 Updated by Carlo Daffara almost 7 years ago
I would certainly second that. It can be implemented though qemu-img, currently supports raw, qcow2, vhd, vmdk and several other formats very reliably; as an added requirement it would be quite small as it does not need the entire qemu-kvm hypervisor to work.
#2 Updated by Ruben S. Montero almost 7 years ago
- Tracker changed from Request to Feature
- Category changed from Sunstone to Drivers - Storage
- Priority changed from Normal to High
- Target version deleted (
Release 4.8)
Hi
I'm moving this to backlog for possible next release, note that some Datastore drivers are doing this right now, converting from qcow2 to raw for Ceph, to vmfs for VMware and so on... Meanwhile you can easily insert the qemu-img command in the cp script (remotes/datastore/fs). You may take other ds as a reference e.g. ceph/ds does the opposite.
Cheers
Ruben
#3 Updated by Christian Hüning almost 7 years ago
Hi,
thanks! Will try the cp script tomorrow.
Cheers,
Christian
#4 Updated by Ruben S. Montero almost 7 years ago
- Tracker changed from Feature to Backlog
#5 Updated by Christian Hüning almost 7 years ago
Well, i figured that it would be a too static behaviour if every image type would get converted into qcow2. I'd really like to select and control this from Sunstone. So i guess I'll wait for an upcoming release.