[one-users] VM stuck in pend state
Rubens Pinheiro
rubens.pinheiro at argohost.net
Thu Oct 6 08:40:19 PDT 2011
Thu Oct 6 11:36:56 2011 [SCHED][I]: Init Scheduler Log system
Thu Oct 6 11:36:56 2011 [XMLRPC][E]: Could not open file: /var/lib/one/.one/one_auth
Thu Oct 6 11:36:56 2011 [SCHED][I]: Starting scheduler loop...
Thu Oct 6 11:36:56 2011 [SCHED][I]: Scheduler loop started.
Thu Oct 6 11:37:27 2011 [POOL][E]: ONE returned error while retrieving pool info:
[HostPoolInfo] User [-1] not authorized to perform action on host.
I've created the file, and set the permissions. Now its ok!
Thanks for the help!
Em 06-10-2011 11:23, Carlos Martín Sánchez escreveu:
> Hi,
>
> Can you check /var/log/one/sched.log ? Maybe the scheduler is not
> reading the right ONE_AUTH file and can't monitor the hosts and
> pending VMs.
>
> Regards.
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> |
> cmartin at opennebula.org <mailto:cmartin at opennebula.org>
>
>
> On Wed, Oct 5, 2011 at 7:18 PM, Rubens Pinheiro
> <rubens.pinheiro at argohost.net <mailto:rubens.pinheiro at argohost.net>>
> wrote:
>
> Yes, I've put him in one_auth file and also in oneadmin group.
> This user is a sudoer too.
>
> And before I forget! I'm using Ubuntu 11.04 desktop and a
> compilation of opennebula-2.9.85
>
> Att
> Em 04-10-2011 19:06, Héctor Sanjuán escreveu:
>> Hi,
>>
>> that "User [-1]" is a bit weird to me. Is "argohost" a valid ONE user?
>> is it in the oneadmin group?
>>
>> Hector
>>
>>
>> El 30/09/11 19:21, Rubens Pinheiro escribió:
>>> Hello,
>>> I'm learning about opennebula and I'm following this "tutorial":
>>>
>>> http://www.opennebula.org/documentation:archives:rel2.0:vmg
>>>
>>> I've created a new vm:
>>>
>>> $ onevm create ttylinux.one
>>>
>>>
>>> But it is always in "pend" state:
>>>
>>> ID USER GROUP NAME STAT CPU MEM
>>> HOSTNAME TIME
>>>
>>> 1 argohost oneadmin ttylinux pend 0 0K 00
>>> 01:47:12
>>>
>>> There is no errors in 1.log and in oned.log shows this:
>>>
>>> Fri Sep 30 14:09:03 2011 [ReM][D]: HostPoolInfo method invoked
>>>
>>> Fri Sep 30 14:09:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>>>
>>> Fri Sep 30 14:09:03 2011 [ReM][D]: AclInfo method invoked
>>>
>>> Fri Sep 30 14:09:05 2011 [ReM][D]: HostPoolInfo method invoked
>>>
>>> Fri Sep 30 14:09:05 2011 [ACL][D]: Request @-1 HOST/* INFO_POOL
>>>
>>> Fri Sep 30 14:09:05 2011 [ACL][D]: No more rules, permission not granted
>>>
>>> Fri Sep 30 14:09:05 2011 [ReM][E]: [HostPoolInfo] User [-1] not
>>> authorized to perform action on host.
>>>
>>> The VM isn't deployed because the permissions?
>>> Att,
>
>
> --
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111006/53db4fe6/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assinatura.jpg
Type: image/jpeg
Size: 49643 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111006/53db4fe6/attachment-0002.jpg>
More information about the Users
mailing list