Citrix Xen: Create New System - fails for own images

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

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?

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

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.

2) This works only for one (the first) xenserver. For all other machines the Template UUID is not valid.

What do you mean by the template UUID being invalid exactly - what error message are you getting?

Still open. Update within the next few days.

Ok, closing .. will check out your other bug.