Hello Prakhar, are you still experiencing this issue? It looks like a system setup problem. Do you have any further information on this problem?
Regards, Jaime On Tue, Jun 21, 2011 at 5:28 PM, Prakhar Srivastava <prakhar....@gmail.com>wrote: > Hi, > When I try to create to VM on a cluster node using tm_lvm mode. I get the > following error. > > Tue Jun 21 19:50:24 2011 [DiM][I]: New VM state is ACTIVE. > Tue Jun 21 19:50:24 2011 [LCM][I]: New VM state is PROLOG. > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: > iCloud:/srv/cloud/one/var//images/56cee3989f620fc82e2af24ed4aeffcdc84b125b > 192.168.145.105:/srv/cloud/one/var//211/images/disk.0 > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: DST: > /srv/cloud/one/var//211/images/disk.0 > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating directory > /srv/cloud/one/var//211/images > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh > 192.168.145.105 mkdir -p /srv/cloud/one/var//211/images". > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating LV lv-one-211-0 > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh > 192.168.145.105 /usr/bin/sudo /sbin/lvcreate -L1G -n lv-one-211-0 one-data". > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "/usr/bin/ssh > 192.168.145.105 ln -s /dev/one-data/lv-one-211-0 > /srv/cloud/one/var//211/images/disk.0". > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Dumping Image > Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Executed "eval cat > /srv/cloud/one/var//images/56cee3989f620fc82e2af24ed4aeffcdc84b125b | > /usr/bin/ssh 192.168.145.105 /usr/bin/sudo /bin/dd > of=/dev/one-data/lv-one-211-0 bs=64k". > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in > /srv/cloud/one/var//211/images/disk.1 > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh > 192.168.145.105 mkdir -p /srv/cloud/one/var//211/images". > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh > 192.168.145.105 /bin/dd if=/dev/zero > of=/srv/cloud/one/var//211/images/disk.1 bs=1 count=1 seek=1024M". > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Initializing swap space > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh > 192.168.145.105 /sbin/mkswap /srv/cloud/one/var//211/images/disk.1". > Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Executed "/usr/bin/ssh > 192.168.145.105 chmod a+w /srv/cloud/one/var//211/images/disk.1". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "mkdir -p > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R > /srv/cloud/one/var/211/context.sh > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R > /home/cloud/opennebula/images/init.sh > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "cp -R > /root/.ssh/id_dsa.pub > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs > -o /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/disk.2 -J -R > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/scp > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/disk.2 192.168.145.105: > /srv/cloud/one/var//211/images/disk.2". > Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "rm -rf > /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71". > Tue Jun 21 20:04:06 2011 [LCM][I]: New VM state is BOOT > Tue Jun 21 20:04:06 2011 [VMM][I]: Generating deployment file: > /srv/cloud/one/var/211/deployment.0 > Tue Jun 21 20:04:19 2011 [VMM][I]: Command execution fail: 'if [ -x > "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy > /srv/cloud/one/var//211/images/deployment.0; else > exit 42; fi' > Tue Jun 21 20:04:19 2011 [VMM][I]: STDERR follows. > Tue Jun 21 20:04:19 2011 [VMM][I]: Error: Device 51712 (vbd) could not be > connected. /dev/dm-0 does not exist. > Tue Jun 21 20:04:19 2011 [VMM][I]: ExitCode: 1 > *Tue Jun 21 20:04:19 2011 [VMM][E]: Error deploying virtual machine: > Error: Device 51712 (vbd) could not be connected. /dev/dm-0 does not exist. > * > Tue Jun 21 20:04:19 2011 [DiM][I]: New VM state is FAILED > Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting > remote LVs > > Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Executed > "/usr/bin/ssh 192.168.145.105 /usr/bin/sudo /sbin/lvremove -f $(echo > one-data/$(/usr/bin/sudo /sbin/lvs --noheadings one-data|awk '{print > $1}'|grep lv-one-211))". > > Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting > /srv/cloud/one/var//211/images > > Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Executed > "/usr/bin/ssh 192.168.145.105 rm -rf /srv/cloud/one/var//211/images". > > Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: TRANSFER SUCCESS 211 - > > When I check the cluster node for the /dev/dm-0, the device mapper for the > logical volume created during VM creation, it shows me that /dev/dm-0 is > present. > > Hope someone could throw some light on this error. > > Regards, > Prakhar > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org