[one-users] [Beta 3.0] Problem creating VM: Failed to create domain

Florin Antonescu florinantonescu at gmail.com
Thu Aug 4 09:18:34 PDT 2011


Hi,

I modified tm_delete.sh and added ls -l $SRC_PATH just before rm command and
this was the output it generated:
 -rw-rw-rw- 1 oneadmin cloud 41943040 Jul 28 20:42 disk.0
it seems that disk.0 is in place, but I think there is an authorization
problem, related to " error: unable to set user and group to '117:126' on
'/srv/cloud/one/var//11/images/disk.0':"

Any new ideas?

On Thu, Aug 4, 2011 at 5:54 PM, Vladimir Vuksan <vlists at veus.hr> wrote:

>
> I would explore this
>
>  Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:
> unable
>  to set user and group to '117:126' on
> '/srv/cloud/one/var//11/images/disk.0': No such file or directory
>
> Edit tm_delete.sh in $ONE_HOME/lib/tm_commands (?). Comment out the line
> where it deletes the images. Then once things fail see what's in the
> /srv/cloud/one/var/11/images/ directory.
>
> On Thu, 4 Aug 2011 17:40:27 +0200, Florin Antonescu
> <florinantonescu at gmail.com> wrote:
> > Hello,
> >
> > I am running into some problems when I try to create a VM with onevm
> > command. These are the logged messages on oned.log and var/11/vm.log.
> > Can anyone give me a suggestion on how to fix this?
> >
> > Best regards,
> > Florian
> >
> > Thu Jul 28 19:55:52 2011 [DiM][D]: Deploying VM 11
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11
> tm_clone.sh:
> > zrhv:/srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526
> > zrhs:/srv/cloud/one/var//11/images/disk.0
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11
> tm_clone.sh:
> > DST: /srv/cloud/one/var//11/images/disk.0
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Creating directory /srv/cloud/one/var//11/images
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Executed "mkdir -p /srv/cloud/one/var//11/images".
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Executed "chmod a+w /srv/cloud/one/var//11/images".
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Cloning /srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Executed "cp -r
> /srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526
> > /srv/cloud/one/var//11/images/disk.0".
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11
> tm_clone.sh:
> > Executed "chmod a+rw /srv/cloud/one/var//11/images/disk.0".
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0
> > Thu Jul 28 19:56:03 2011 [TM][D]: Message received: TRANSFER SUCCESS 11
> -
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 Command
> > execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then
> > /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//11/images/deployment.0
> zrhs
> > 11 zrhs; else                              exit 42; fi'
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:
> Failed
> > to create domain from /srv/cloud/one/var//11/images/deployment.0
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error:
> unable
> > to set user and group to '117:126' on
> > '/srv/cloud/one/var//11/images/disk.0': No such file or directory
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG E 11 Could not
> > create domain from /srv/cloud/one/var//11/images/deployment.0
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 ExitCode:
> 255
> > Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: DEPLOY FAILURE 11
> > Could
> > not create domain from /srv/cloud/one/var//11/images/deployment.0
> > Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11
> tm_delete.sh:
> > Deleting /srv/cloud/one/var//11/images
> > Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11
> tm_delete.sh:
> > Executed "rm -rf /srv/cloud/one/var//11/images".
> > Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0
> > Thu Jul 28 19:56:05 2011 [TM][D]: Message received: TRANSFER SUCCESS 11
> -
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110804/855879e6/attachment-0002.htm>


More information about the Users mailing list