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 class="Apple-style-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><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">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 class="im"><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 class="h5"><br>
On Thu, 4 Aug 2011 17:40:27 +0200, Florin Antonescu<br>
<<a href="mailto:florinantonescu@gmail.com">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>