Hello Florin,<div><br></div><div>Are you still experiencing this issue? It seems like you were using tm_nfs, but you should be using tm_ssh. A few extra tips for debugging:</div><div>set ONE_MAD_DEBUG=1 in etc/defaultrc</div>

<div>issue the commands in oned.log manually. Also, TM_* scripts are always ran from the frontend host.</div><div><br></div><div>Regards,<br>Jaime</div><div><br></div><div><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 12:13 PM, Florin Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I tend to believe that disk.0 image file is not correctly copied to destination host. How can I debug this process in order to see what is really happening? The logs are not very detailed regarding where these actions are executed on the remote host.<div>



Any help is greatly appreciated.</div><div><br></div><div>Best regards</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 6:18 PM, Florin Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com" target="_blank">florinantonescu@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I modified tm_delete.sh and added ls -l $SRC_PATH just before rm command and this was the output it generated:</div>



<div> -rw-rw-rw- 1 oneadmin cloud 41943040 Jul 28 20:42 disk.0</div><div>it seems that disk.0 is in place, but I think there is an authorization problem, related to "<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"> error: unable to set user and group to '117:126' on '/srv/cloud/one/var//11/images/disk.0':</span>"</div>




<div><br></div><div>Any new ideas?</div><div><div></div><div><div><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 5:54 PM, Vladimir Vuksan <span dir="ltr"><<a href="mailto:vlists@veus.hr" target="_blank">vlists@veus.hr</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I would explore this<br>
<div><br>
 Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:<br>
unable<br>
 to set user and group to '117:126' on<br>
'/srv/cloud/one/var//11/images/disk.0': No such file or directory<br>
<br>
</div>Edit tm_delete.sh in $ONE_HOME/lib/tm_commands (?). Comment out the line<br>
where it deletes the images. Then once things fail see what's in the<br>
/srv/cloud/one/var/11/images/ directory.<br>
<div><div></div><div><br>
On Thu, 4 Aug 2011 17:40:27 +0200, Florin Antonescu<br>
<<a href="mailto:florinantonescu@gmail.com" target="_blank">florinantonescu@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I am running into some problems when I try to create a VM with onevm<br>
> command. These are the logged messages on oned.log and var/11/vm.log.<br>
> Can anyone give me a suggestion on how to fix this?<br>
><br>
> Best regards,<br>
> Florian<br>
><br>
> Thu Jul 28 19:55:52 2011 [DiM][D]: Deploying VM 11<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11<br>
tm_clone.sh:<br>
> zrhv:/srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526<br>
> zrhs:/srv/cloud/one/var//11/images/disk.0<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11<br>
tm_clone.sh:<br>
> DST: /srv/cloud/one/var//11/images/disk.0<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Creating directory /srv/cloud/one/var//11/images<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Executed "mkdir -p /srv/cloud/one/var//11/images".<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Executed "chmod a+w /srv/cloud/one/var//11/images".<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Cloning /srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Executed "cp -r<br>
/srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526<br>
> /srv/cloud/one/var//11/images/disk.0".<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11<br>
tm_clone.sh:<br>
> Executed "chmod a+rw /srv/cloud/one/var//11/images/disk.0".<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0<br>
> Thu Jul 28 19:56:03 2011 [TM][D]: Message received: TRANSFER SUCCESS 11<br>
-<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 Command<br>
> execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then<br>
> /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//11/images/deployment.0<br>
zrhs<br>
> 11 zrhs; else                              exit 42; fi'<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:<br>
Failed<br>
> to create domain from /srv/cloud/one/var//11/images/deployment.0<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:<br>
unable<br>
> to set user and group to '117:126' on<br>
> '/srv/cloud/one/var//11/images/disk.0': No such file or directory<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG E 11 Could not<br>
> create domain from /srv/cloud/one/var//11/images/deployment.0<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 ExitCode:<br>
255<br>
> Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: DEPLOY FAILURE 11<br>
> Could<br>
> not create domain from /srv/cloud/one/var//11/images/deployment.0<br>
> Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11<br>
tm_delete.sh:<br>
> Deleting /srv/cloud/one/var//11/images<br>
> Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11<br>
tm_delete.sh:<br>
> Executed "rm -rf /srv/cloud/one/var//11/images".<br>
> Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0<br>
> Thu Jul 28 19:56:05 2011 [TM][D]: Message received: TRANSFER SUCCESS 11<br>
-<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>