CloudStack Ubuntu 10.04 XenServer Template

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”.

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:

  1. Create a custom Xen Kernel enabled Ubuntu Installer ISO. Would be a fun project if anyone has the time
  2. 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.
  3. 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.

References

Citrix XenServer Guest OS Installation Guide
Citrix Forums: Install XenServer tools 6 on Unbuntu 10.04 LTS

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

Published by

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

Leave a Reply