Submitted by phs on Fri, 02/04/2011 - 16:45 Pro Licensee
We prepared or own image. Cloning works well. But "Create New System" from image fails:
#
Copying 361.04 MB image file to host system dell-05.crg.net .............. .. done Creating virtual system with Citrix Xen .. .. creation failed : Failed to create root disk : VDI creation failed : Error: Failed to parse field 'virtual-size': expecting an integer (possibly with suffix)
#
How to prepare our own valid images?
We prepared the image from a install in xen center, and after some experiments (partitions/lvm/..) we got a working image for cloudmin cloning.
Any workarounds? What we are missing?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 02/04/2011 - 17:18 Comment #1
Are you using the "Create working system" or "Create empty system" tabs to create a new VM?
Also, if you look at the .img file in the /var/webmin/server-manager directory for your image, what does the
rawsize=
line contain?Submitted by phs on Fri, 02/04/2011 - 18:27 Pro Licensee Comment #2
1) The system was created in xen center.
2) rawsize= (empty)
Is it possible to edit/calulate 'rawsize'?
"Create empty system" has other issues:
We are using cloudmin with 3 xenserver hosts.
The machines are not pooled (this is quite bad for us, we will need this feature for PROD use, at the moment its still EVAL/DEV/TEST -- "feature request". But this will get is probably in another ticket/issue )
select: Citrix Xen install source: Template: Red Enterprise ...(64bit)
First system:
#
Creating virtual system with Citrix Xen .. .. creation started.
Waiting for creation to complete .. .. creation has completed successfully.
Adding virtual network interfaces .. .. created 1 interfaces
Mounting new instance's filesystem .. .. not possible for a VM created from an installation template
Adding DNS entry XXX.XXX.XXX. for IP address 999.999.999.99.. .. done
Starting up new Citrix Xen instance .. .. failed to start : Error code: UNSUPPORTED_INSTALL_METHOD Error parameters: other-config:install-repository was not set to an appropriate value, and this is required for the selected distribution type., ,
Fetching current status .. .. status successfully retrieved (Down)
Enabling system at host boot time .. .. done
#
After this the system shows up but startup fails:
#
Starting up XXX.XXX.XXX .. .. failed : Error code: UNSUPPORTED_INSTALL_METHOD Error parameters: other-config:install-repository was not set to an appropriate value, and this is required for the selected distribution type., ,
#
Third system:
#
Failed to create system : No template with UUID 24102017-1acf-729b-61a4-f80c7e02bf1e found
#
BTW: Help is missing: Failed to read help file /opt/webmin/server-manager/help/newcitrix.html
Submitted by JamieCameron on Fri, 02/04/2011 - 18:37 Comment #3
Ok, I see a bug that can cause the rawsize to not be set, if Cloudmin couldn't mount the disk on the system when it was originally imaged.
The fix is the SSH in as root and run :
cloudmin set-image-rawsize
As for the second issue of VM creation failing, you need to enter the URL for the RHEL repository in the "Repository URL for template" field on the creation form.
Submitted by phs on Fri, 02/04/2011 - 18:58 Pro Licensee Comment #4
Submitted by JamieCameron on Fri, 02/04/2011 - 19:26 Comment #5
What do you mean by the template UUID being invalid exactly - what error message are you getting?
Submitted by phs on Tue, 02/15/2011 - 23:17 Pro Licensee Comment #6
Still open. Update within the next few days.
Submitted by phs on Wed, 08/31/2011 - 17:40 Pro Licensee Comment #7
Please close.
For remaining open "system creation" issues the I opened a new Issue:
Citrix XenServer - system creation / resource modification bugs https://www.virtualmin.com/node/19358
Submitted by JamieCameron on Wed, 08/31/2011 - 17:41 Comment #8
Ok, closing .. will check out your other bug.