Hi there, I am having trouble getting Ubuntu 12.04 64-bit to work reliably in CS 4.2.1 on XenServer 6.2 SP1. I've seen a few other threads in search that indicate others have had the same problem.
My process (since ISO install does not work) was to build an Ubuntu VM on a standalone XS 6.2 SP1 server, prep it and then export the VHD, then register a template in CloudStack using that VHD. The instances I create from the template seem OK except when they boot they do not get an IP address and I get the following in their syslog. Load also pegs around 2.00 with basically no processes using any CPU and zero I/O wait states. Mar 25 10:58:07 ubuntutemplate kernel: [ 721.756497] INFO: task modprobe:897 blocked for more than 120 seconds. Mar 25 10:58:07 ubuntutemplate kernel: [ 721.756506] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Mar 26 14:43:33 ubuntutemplate kernel: [ 241.496213] INFO: task dhclient3:654 blocked for more than 120 seconds. Mar 26 14:43:33 ubuntutemplate kernel: [ 241.496236] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. This led me to discover that CS is mistakenly setting the vCPUS-max parameter for non-Windows VMs to 32, which is documented here: https://issues.apache.org/jira/browse/CLOUDSTACK-6063 I was wondering if anybody had seen this issue lead to problems on VMs themselves, such as this strange Ubuntu issue. I was able to reproduce it on a standalone host by manually setting VCPUs-max=32 and got the same kernel issues. With it set back to VCPUs-max=2 I haven't seen the problem again. Is there any known workaround at this time? Chris