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

Jaime Melis jmelis at opennebula.org
Thu Oct 27 02:52:48 PDT 2011


Hello Florin,

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:
set ONE_MAD_DEBUG=1 in etc/defaultrc
issue the commands in oned.log manually. Also, TM_* scripts are always ran
from the frontend host.

Regards,
Jaime


On Mon, Aug 8, 2011 at 12:13 PM, Florin Antonescu <florinantonescu at gmail.com
> wrote:

> 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.
> Any help is greatly appreciated.
>
> Best regards
>
> On Thu, Aug 4, 2011 at 6:18 PM, Florin Antonescu <
> florinantonescu at gmail.com> wrote:
>
>> 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
>>> -
>>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at 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 | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111027/b4ddfecf/attachment.htm>


More information about the Users mailing list