<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I've just installed openebula and I can't create a VM.<br>I use Xen hypervisor 3.1.2<br><br>Frontend : one<br>CentOS 5.5 64bits<br><br>Node in cluster : node01<br>CentOS 5.5 64bits for Dom0<br>Debian lenny i386 for DomU<br><br>I can directly create a fully running Debian VM with xm cmd but when I use <br> # onevm create debian.one<br><br># onevm list <br> ID USER NAME STAT CPU MEM HOSTNAME TIME<br> 17 root debian fail 0 0K node01 00 00:01:04<br><br><br>content of debian.one : <br><br>NAME = debian<br>CPU = 1<br>MEMORY = 512<br><br> OS = [<br> kernel = "/boot/vmlinuz-2.6.26-2-686-bigmem",<br> initrd = "/boot/initrd.img-2.6.26-2-686-bigmem",<br> root = "xvda1" ]<br>#OS = [BOOTLOADER = /usr/bin/pygrub]<br><br> DISK = [<br> source = "/opt/nebula/repo/debian.img",<br> target = "xvda1",<br> readonly = "no",<br> driver = "file:" ] # already tried to change into tap:aio<br><br> DISK = [<br> type = "swap",<br> size = 1024,<br> target = "xvda2"]<br><br>NIC = [ NETWORK = network ]<br><br><br>Content of deployment0<br><br>name = 'one-14'<br>#O CPU_CREDITS = 256<br>memory = '512'<br>kernel = '/boot/vmlinuz-2.6.26-2-686-bigmem'<br>ramdisk = '/boot/initrd.img-2.6.26-2-686-bigmem'<br>root = '/dev/xvda1'<br>disk = [<br> 'file:/opt/nebula/images/14/images/disk.0,xvda1,w',<br> 'tap:aio:/opt/nebula/images/14/images/disk.1,xvda2,w',<br>]<br>vif = [<br> ' mac=02:00:c0:a8:00:10,ip=192.168.0.16,bridge=xenbr0',<br>]<br><br>Logfile : <br>cat /var/log/one/14.log<br>Fri May 27 11:25:00 2011 [DiM][I]: New VM state is ACTIVE.<br>Fri May 27 11:25:00 2011 [LCM][I]: New VM state is PROLOG.<br>Fri May 27 11:25:00 2011 [VM][I]: Virtual Machine has no context<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: one:/opt/nebula/repo/debian.img node01:/opt/nebula/images/14/images/disk.0<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: DST: /var/lib/one/14/images/disk.0<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/14/images<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/14/images".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/14/images".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Cloning /opt/nebula/repo/debian.img<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "cp -r /opt/nebula/repo/debian.img /var/lib/one/14/images/disk.0".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/14/images/disk.0".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Creating directory /var/lib/one/14/images<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "mkdir -p /var/lib/one/14/images".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /var/lib/one/14/images".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in /var/lib/one/14/images/disk.1<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "/bin/dd if=/dev/zero of=/var/lib/one/14/images/disk.1 bs=1 count=1 seek=1024M".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Initializing swap space<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap /var/lib/one/14/images/disk.1".<br>Fri May 27 11:25:42 2011 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /var/lib/one/14/images/disk.1".<br>Fri May 27 11:25:42 2011 [LCM][I]: New VM state is BOOT<br>Fri May 27 11:25:42 2011 [VMM][I]: Generating deployment file: /var/lib/one/14/deployment.0<br>Fri May 27 11:25:45 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy /opt/nebula/images/14/images/deployment.0; else exit 42; fi'<br>Fri May 27 11:25:45 2011 [VMM][I]: STDERR follows.<br>Fri May 27 11:25:45 2011 [VMM][I]: Error: Device 51713 (vbd) could not be connected.<br>Fri May 27 11:25:45 2011 [VMM][I]: File /opt/nebula/images/14/images/disk.0 is read-only, and so I will not<br>Fri May 27 11:25:45 2011 [VMM][I]: mount it read-write in a guest domain.<br>Fri May 27 11:25:45 2011 [VMM][I]: ExitCode: 1<br>Fri May 27 11:25:45 2011 [VMM][E]: Error deploying virtual machine: Error: Device 51713 (vbd) could not be connected.<br>Fri May 27 11:25:45 2011 [DiM][I]: New VM state is FAILED<br>Fri May 27 11:25:46 2011 [TM][W]: Ignored: LOG - 14 tm_delete.sh: Deleting /var/lib/one/14/images<br><br>Fri May 27 11:25:46 2011 [TM][W]: Ignored: LOG - 14 tm_delete.sh: Executed "rm -rf /var/lib/one/14/images".<br><br>Fri May 27 11:25:46 2011 [TM][W]: Ignored: TRANSFER SUCCESS 14 -<br><br>Fri May 27 11:57:17 2011 [DiM][I]: New VM state is DONE.<br><br><br># cat /var/log/xen/xen-hotplug.log<br>Nothing to flush.<br>xenstore-read: couldn't read path backend/vbd/14/1792/node<br>Nothing to flush.<br>Nothing to flush.<br>Nothing to flush.<br>Nothing to flush.<br>stat: cannot stat `/opt/nebula/images/14/images/disk.0': No such file or directory<br><br><br>This is the file when I create a VM manualy with xm on node01<br>name = "test-debian-install"<br>uuid = "ecc46d0d-95f2-8b0b-fe92-94f3391d58a5"<br>maxmem = 1024<br>memory = 1024<br>vcpus = 1<br>bootloader = "/usr/bin/pygrub"<br>on_poweroff = "destroy"<br>on_reboot = "restart"<br>on_crash = "restart"<br>disk = [ "tap:aio:/var/lib/xen/images/test-debian.img,xvda,w" ]<br>vif = [ "mac=00:16:36:68:56:ef,bridge=xenbr0,script=vif-bridge" ]<br><br><br><br>Does someone have a clue ?<br><br><br><br><br><br><br><br><br> </body>
</html>