[DISCUSSION] List volumes other than "format=iso" when creating a template #564

Hi folks. i want to discuss this bug: https://github.com/kimchi-project/kimchi/issues/564 We are being asked to list more than only ISO for template creation, because libvirt supports other volumes to create a VM. My propose is to add a checkbox for select the format, because showing all supported formats at the first time will pollute the screen. -- Ramon Nunes Medeiros Kimchi Developer Software Engineer - Linux Technology Center Brazil IBM Systems & Technology Group Phone : +55 19 2132 7878 ramonn@br.ibm.com

On 13/01/2015 15:12, Ramon Medeiros wrote:
Hi folks.
i want to discuss this bug:
https://github.com/kimchi-project/kimchi/issues/564
We are being asked to list more than only ISO for template creation, because libvirt supports other volumes to create a VM.
The problem is: libvirt treats an ISO file as format 'raw' instead of 'iso' for some storage pool types because that those file are not listed for the template creation. We could scan the file using isoinfo.IsoImage to verify it is an ISO file - but it will take too much time to scan each file.
My propose is to add a checkbox for select the format, because showing all supported formats at the first time will pollute the screen.
If user selects to create a template using an ISO file the only support type is ISO.

On 01/15/2015 07:53 AM, Aline Manera wrote:
On 13/01/2015 15:12, Ramon Medeiros wrote:
Hi folks.
i want to discuss this bug:
https://github.com/kimchi-project/kimchi/issues/564
We are being asked to list more than only ISO for template creation, because libvirt supports other volumes to create a VM.
The problem is: libvirt treats an ISO file as format 'raw' instead of 'iso' for some storage pool types because that those file are not listed for the template creation.
We could scan the file using isoinfo.IsoImage to verify it is an ISO file - but it will take too much time to scan each file.
My propose is to add a checkbox for select the format, because showing all supported formats at the first time will pollute the screen.
If user selects to create a template using an ISO file the only support type is ISO.
Shall we enable a user-label function to let users label a storage volume as ISO if he knows it is a valid one. And then shallow scan can scan volumes with this label for distros, and can present it in template creation page?
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
participants (3)
-
Aline Manera
-
Ramon Medeiros
-
Royce Lv