Ubuntu 10.04 XenServer installation from ISO failing on CloudStack comes up often for discussion on IRC #cloudstack and the CloudStack mailing lists. There is also a JIRA ticket CLOUDSTACK-4504 raised for the issue “VM creation Is failing using the Ubuntu ISO with Xen 6.1 and 6.2”.
The usual error is “Unable to create a deployment for VM”.
While Ubuntu 10.04 LTS is officially supported by CloudStack and XenServer, the ISO install method is not supported by XenServer at this time (including XenServer 6.2). As per the Citrix XenServer guest OS installation guide, only the network install from repository method is supported. The ISO install method is supported for Ubuntu 12.04 LTS and works correctly.
In order to create Ubuntu 10.04 Lucid 32-bit and 64-bit CloudStack templates, you have the following alternatives:
- Create a custom Xen Kernel enabled Ubuntu Installer ISO. Would be a fun project if anyone has the time
- Set the OS Type to “Other 32-bit” or “Other 64-bit” for the ISO. While this will allow installation to complete succesfully, the template created will be sub-optimal (HVM) as it wont be para-virtualized.
- Create the Ubuntu 10.04 template directly on a standalone XenServer host using the network install from repository method and import the same into CloudStack. The instructions are in the Citrix XenServer Guest OS Installation Guide
The “import template” method after creating the template directly on a standalone XenServer hypervisor would be the best alternative.