Corporate Home Open Source Home
Syndicate content
Eucalyptus

Join us at engage.eucalyptus.com

3 replies [Last post]
zzningxp
Offline
Joined: 03/20/2011

I have deployed two clusters in my lab, one with xen while one with kvm. When I run VM more than twice the number of physical machines in the xen cluster, the extra VMs never boot up, they always change state from pending to determinate, and the log file shows the node controller shutoff the extra VM after it check the instances number. When I manually shutdown some VM, then I can easily start up some VM exactly as the number I've shutdown.
However, I'm not so sure that there is a limit, for after I read the 'node/handler.c', I can't name where is this limit.
But, KVM cluster never 'limit', I can run as much vm as possible.

Anybody who have also encounter the similar problem?

zzningxp
Offline
Joined: 03/20/2011
If we leave eucalyptus behind

If we leave eucalyptus behind and run Xen command to start VM there is either no limit...

Here some logs from the NodeController

[Wed Jun 15 13:10:28 2011][009309][EUCAINFO ] vrun(): [dd bs=1M count=512 if=/dev/zero of=/usr/local/eucalyptus//admin/i-453D08B1/swap 2>/dev/null]
[Wed Jun 15 13:10:30 2011][009309][EUCADEBUG ] doDescribeInstances(): instanceId=i-453D08B1 publicIp=0.0.0.0 privateIp=0.0.0.0 mac=d0:0d:45:3D:08:B1 vlan=-1 networkIndex=-1 platform=linux
[Wed Jun 15 13:10:31 2011][009309][EUCAINFO ] vrun(): [mkswap /usr/local/eucalyptus//admin/i-453D08B1/swap >/dev/null]
[Wed Jun 15 13:10:35 2011][009309][EUCAINFO ] vrun(): [dd bs=1M count=505 if=/dev/zero of=/usr/local/eucalyptus//admin/i-453D08B1/ephemeral 2>/dev/null]
[Wed Jun 15 13:10:37 2011][009309][EUCADEBUG ] doDescribeInstances(): instanceId=i-453D08B1 publicIp=0.0.0.0 privateIp=0.0.0.0 mac=d0:0d:45:3D:08:B1 vlan=-1 networkIndex=-1 platform=linux
[Wed Jun 15 13:10:38 2011][009309][EUCAINFO ] vrun(): [mkfs.ext3 -F /usr/local/eucalyptus//admin/i-453D08B1/ephemeral >/dev/null 2>&1]
[Wed Jun 15 13:10:45 2011][009309][EUCADEBUG ] doDescribeInstances(): instanceId=i-453D08B1 publicIp=0.0.0.0 privateIp=0.0.0.0 mac=d0:0d:45:3D:08:B1 vlan=-1 networkIndex=-1 platform=linux
[Wed Jun 15 13:10:45 2011][009309][EUCAINFO ] currently running/booting: i-360F05EE i-36AD0601 i-453D08B1
[Wed Jun 15 13:10:54 2011][009309][EUCADEBUG ] state change for instance i-453D08B1: Staging -> Shutoff (Extant)
[Wed Jun 15 13:10:54 2011][009309][EUCAINFO ] cleaning up state for instance i-453D08B1
[Wed Jun 15 13:10:54 2011][009309][EUCAINFO ] vrun(): [rm -rf /usr/local/eucalyptus//admin/i-453D08B1/]
[Wed Jun 15 13:10:56 2011][009309][EUCADEBUG ] state change for instance i-453D08B1: Shutoff -> Teardown (Teardown)

zzningxp
Offline
Joined: 03/20/2011
Find the error log in NC.log and it points to libvirt problem

libvirt: POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 2051 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.') (code=11)

liriarte
Offline
Joined: 08/05/2011
Same problem

Any solution for this issue?