Hi,<div>When I try to create to VM on a cluster node using tm_lvm mode. I get the following error.</div><div><br></div><div><div>Tue Jun 21 19:50:24 2011 [DiM][I]: New VM state is ACTIVE.</div><div>Tue Jun 21 19:50:24 2011 [LCM][I]: New VM state is PROLOG.</div>
<div>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</div><div>Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//211/images/disk.0</div>
<div>Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//211/images</div><div>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".</div>
<div>Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Creating LV lv-one-211-0</div><div>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".</div>
<div>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".</div><div>Tue Jun 21 20:03:46 2011 [TM][I]: tm_clone.sh: Dumping Image</div>
<div>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".</div>
<div>Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in /srv/cloud/one/var//211/images/disk.1</div><div>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".</div>
<div>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".</div><div>Tue Jun 21 20:04:00 2011 [TM][I]: tm_mkswap.sh: Initializing swap space</div>
<div>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".</div><div>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".</div>
<div>Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71/isofiles".</div><div>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".</div>
<div>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".</div><div>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".</div>
<div>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".</div>
<div>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".</div><div>Tue Jun 21 20:04:06 2011 [TM][I]: tm_context.sh: Executed "rm -rf /srv/cloud/one/var/c1799edd687e76f8d944d8aaa4f4ff71".</div>
<div>Tue Jun 21 20:04:06 2011 [LCM][I]: New VM state is BOOT</div><div>Tue Jun 21 20:04:06 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/211/deployment.0</div><div>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'</div>
<div>Tue Jun 21 20:04:19 2011 [VMM][I]: STDERR follows.</div><div>Tue Jun 21 20:04:19 2011 [VMM][I]: Error: Device 51712 (vbd) could not be connected. /dev/dm-0 does not exist.</div><div>Tue Jun 21 20:04:19 2011 [VMM][I]: ExitCode: 1</div>
<div><b>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.</b></div><div>Tue Jun 21 20:04:19 2011 [DiM][I]: New VM state is FAILED</div>
<div>Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting remote LVs</div><div><br></div><div>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))".</div>
<div><br></div><div>Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: LOG - 211 tm_delete.sh: Deleting /srv/cloud/one/var//211/images</div><div><br></div><div>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".</div>
<div><br></div><div>Tue Jun 21 20:04:31 2011 [TM][W]: Ignored: TRANSFER SUCCESS 211 -</div></div><div><br></div><div>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.</div>
<div><br></div><div>Hope someone could throw some light on this error. </div><div><br></div><div>Regards,</div><div>Prakhar</div><div><br></div>