[one-users] user login problem in sunstone

Olivier Sallou olivier.sallou at irisa.fr
Fri Nov 16 03:55:48 PST 2012


Le 11/16/12 12:51 PM, Olivier Sallou a écrit :
> I found an issue in oned.log, this is related to my upgrade problems.
>
> At first I saw error file not found:
> /var/lib/one/remotes/auth/quota/authorize
>
> I copied  authorize file from a previous install , but now I have:
>
> Fri Nov 16 12:42:02 2012 [ReM][D]: Req:3040 UID:1 UserPoolInfo invoked
> Fri Nov 16 12:42:02 2012 [ReM][D]: Req:3040 UID:1 UserPoolInfo result
> SUCCESS, "<USER_POOL><USER><ID..."
> Fri Nov 16 12:42:08 2012 [ReM][D]: Req:2336 UID:5 UserInfo invoked, -1
> Fri Nov 16 12:42:08 2012 [AuM][D]: Message received: LOG I 1172
> Command execution fail: /var/lib/one/remotes/auth/quota/authorize 5
> USER:5:USE:5:1 1
>
> Fri Nov 16 12:42:08 2012 [AuM][I]: Command execution fail:
> /var/lib/one/remotes/auth/quota/authorize 5 USER:5:USE:5:1 1
> Fri Nov 16 12:42:08 2012 [AuM][D]: Message received: LOG I 1172
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot
> load such file -- quota (LoadError)
>     from /var/lib/one/remotes/auth/quota/authorize:33:in `<main>'
>
>
> The problem is I indeed do not find the quota ruby file. Where should
> I find this file?
ok,
it is related to quota management change.

I removed from my oned.conf the authz = "quota" , and it works fine now.


Olivier
>
> I installed with deb packages.
>
>
> Olivier
>
>
> Le 11/16/12 11:34 AM, Olivier Sallou a écrit :
>>
>> Le 11/16/12 11:21 AM, Daniel Molina a écrit :
>>> Hi Olivier,
>>>
>>> On 16 November 2012 10:28, Olivier Sallou <olivier.sallou at irisa.fr
>>> <mailto:olivier.sallou at irisa.fr>> wrote:
>>>
>>>     Hi,
>>>     I face an authentication issue via sunstone.
>>>
>>>     My oneadmin is can login nicely. However my account fails:
>>>
>>>
>>>     Fri Nov 16 10:24:13 2012 [E]: User osallou could not be
>>>     authenticated
>>>     Fri Nov 16 10:24:13 2012 [E]: [UserInfo] User [5] not authorized
>>>     to perform action on user.
>>>     Fri Nov 16 10:24:13 2012 [E]: User osallou could not be
>>>     authenticated
>>>     Fri Nov 16 10:24:13 2012 [E]: [UserInfo] User [5] not authorized
>>>     to perform action on user.
>>>     Fri Nov 16 10:24:13 2012 [I]: Unauthorized login attempt
>>>     Fri Nov 16 10:24:13 2012 [I]: 131.254.14.90 - - [16/Nov/2012
>>>     10:24:13] "POST /login HTTP/1.1" 401 - 0.0089
>>>
>>>
>>>     Via command-line with one_auth file, the onevm,... commands are
>>>     fine. However I have Invalid username or password in Sunstone.
>>>
>>>     I tried changing password via sunstone interface, which succeeded, but I still can't log again.
>>>
>>>     any idea how to debug this?
>>>
>>>
>>> What OpenNebula version are you running?
>> OpenNebula 3.8.1
>>>
>>> Could you try to run "oneuser show"  from the CLI using the osallou
>>> credentials
>>
>> osallou at genokvm4:~$ oneuser show
>> [UserInfo] User [5] not authorized to perform action on user.
>>
>> As oneadmin:
>>
>> oneadmin at genokvm4:~$ oneuser show osallou
>> USER 5
>> INFORMATION                                                             
>> ID             : 5                  
>> NAME           : osallou            
>> GROUP          : users              
>> PASSWORD       : XXXXX
>> AUTH_DRIVER    : core               
>> ENABLED        : Yes  
>>>
>>> Cheers
>>>  
>>>
>>>     Thanks
>>>
>>>     Olivier
>>>
>>>     -- 
>>>
>>>     gpg key id: 4096R/326D8438  (keyring.debian.org <http://keyring.debian.org>)
>>>     Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>>
>>>
>>>     _______________________________________________
>>>     Users mailing list
>>>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>>
>>>
>>> -- 
>>> Daniel Molina
>>> Project Engineer
>>> OpenNebula - The Open Source Solution for Data Center Virtualization
>>> www.OpenNebula.org <http://www.OpenNebula.org> |
>>> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula
>>
>> -- 
>> Olivier Sallou
>> IRISA / University of Rennes 1
>> Campus de Beaulieu, 35000 RENNES - FRANCE
>> Tel: 02.99.84.71.95
>>
>> gpg key id: 4096R/326D8438  (keyring.debian.org)
>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> -- 
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121116/fec94749/attachment-0001.htm>


More information about the Users mailing list