today i installed the latest stable Version of OpenNenbula
–> 4.14.2
When i try to instantiate a template via Sunstone it results in the following
message:
[TemplateInstantiate] Error allocating a new virtual
machine. DISK 0: SIZE attribute is not supported for persistent image [1028].
Starting a kvm with “onetemplate instantiate 422
–name kvm_name” works fine.
I had the the same error with version 14.4 and the workaround was to remove the value from the input field next to the slider. Unfortunatly this field is grey now and cannot be edited.
I think the solution is to not show the image-slider for persistent images, or ?
all the images we use have a size of 0.
In out environment we use thin-provisioned SAN DISKs with a disk size of 1TB and higer that are configured as multipath devices on the physical host. Those devices are then used to become a persistent image in opennebula. While the creation of the image a value for the size is mandatory, so we decided to use a size of 0.
A creation of the vm with “onetemplate instantiate olga0003 --name olga0003” still works.
The output of “onetemplate show --extended” shows the following for the disk part:
So, in our case the slider begins with 0 and ends with 500 (0 + 500) and places the slider at the half of this --> 250.
Maybe there is a function which puts in the half of “end” into the input field ?
Thank you for your help, that hint looks promising. We’ll try to fix it in a future release, you can foolow the ticket here: http://dev.opennebula.org/issues/4227