<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">Le 11/16/12 12:51 PM, Olivier Sallou a
écrit :<br>
</div>
<blockquote cite="mid:50A628B9.7030508@irisa.fr" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I found an issue in oned.log, this is related to my upgrade
problems.<br>
<br>
At first I saw error file not found:
/var/lib/one/remotes/auth/quota/authorize<br>
<br>
I copied authorize file from a previous install , but now I have:<br>
<br>
Fri Nov 16 12:42:02 2012 [ReM][D]: Req:3040 UID:1 UserPoolInfo
invoked<br>
Fri Nov 16 12:42:02 2012 [ReM][D]: Req:3040 UID:1 UserPoolInfo
result SUCCESS, "<USER_POOL><USER><ID..."<br>
Fri Nov 16 12:42:08 2012 [ReM][D]: Req:2336 UID:5 UserInfo
invoked, -1<br>
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<br>
<br>
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<br>
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)<br>
from /var/lib/one/remotes/auth/quota/authorize:33:in
`<main>'<br>
<br>
<br>
The problem is I indeed do not find the quota ruby file. Where
should I find this file?<br>
</blockquote>
ok,<br>
it is related to quota management change.<br>
<br>
I removed from my oned.conf the authz = "quota" , and it works fine
now.<br>
<br>
<br>
Olivier<br>
<blockquote cite="mid:50A628B9.7030508@irisa.fr" type="cite"> <br>
I installed with deb packages.<br>
<br>
<br>
Olivier<br>
<br>
<br>
<div class="moz-cite-prefix">Le 11/16/12 11:34 AM, Olivier Sallou
a écrit :<br>
</div>
<blockquote cite="mid:50A616C3.4080300@irisa.fr" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<div class="moz-cite-prefix">Le 11/16/12 11:21 AM, Daniel Molina
a écrit :<br>
</div>
<blockquote
cite="mid:CAPvyweyoZKsfLtq82sNqUfu5cd38pHGpNRg6V9da-avy16GU8Q@mail.gmail.com"
type="cite">Hi Olivier,<br>
<br>
<div class="gmail_quote">On 16 November 2012 10:28, Olivier
Sallou <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
I face an authentication issue via sunstone.<br>
<br>
My oneadmin is can login nicely. However my account
fails:<br>
<br>
<br>
Fri Nov 16 10:24:13 2012 [E]: User osallou could not be
authenticated<br>
Fri Nov 16 10:24:13 2012 [E]: [UserInfo] User [5] not
authorized to perform action on user.<br>
Fri Nov 16 10:24:13 2012 [E]: User osallou could not be
authenticated<br>
Fri Nov 16 10:24:13 2012 [E]: [UserInfo] User [5] not
authorized to perform action on user.<br>
Fri Nov 16 10:24:13 2012 [I]: Unauthorized login attempt<br>
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<br>
<br>
<br>
Via command-line with one_auth file, the onevm,...
commands are fine. However I have <span
style="color:rgb(205,10,10);font-family:Times;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,241,236);display:inline!important;float:none">Invalid
username or password in Sunstone.<br>
</span>
<pre cols="72">I tried changing password via sunstone interface, which succeeded, but I still can't log again.
any idea how to debug this?</pre>
</div>
</blockquote>
<div><br>
</div>
<div>What OpenNebula version are you running?</div>
</div>
</blockquote>
OpenNebula 3.8.1<br>
<blockquote
cite="mid:CAPvyweyoZKsfLtq82sNqUfu5cd38pHGpNRg6V9da-avy16GU8Q@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
</div>
<div>Could you try to run "oneuser show" from the CLI using
the osallou credentials</div>
</div>
</blockquote>
<br>
osallou@genokvm4:~$ oneuser show <br>
[UserInfo] User [5] not authorized to perform action on user.<br>
<br>
As oneadmin:<br>
<br>
oneadmin@genokvm4:~$ oneuser show osallou<br>
USER 5
INFORMATION
<br>
ID : 5 <br>
NAME : osallou <br>
GROUP : users <br>
PASSWORD : XXXXX<br>
AUTH_DRIVER : core <br>
ENABLED : Yes <br>
<blockquote
cite="mid:CAPvyweyoZKsfLtq82sNqUfu5cd38pHGpNRg6V9da-avy16GU8Q@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
</div>
<div>Cheers</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<pre cols="72">Thanks
Olivier
--
gpg key id: 4096R/326D8438 (<a moz-do-not-send="true" href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - The Open Source Solution for Data Center
Virtualization<br>
<a moz-do-not-send="true" href="http://www.OpenNebula.org"
target="_blank">www.OpenNebula.org</a> | <a
moz-do-not-send="true" href="mailto:dmolina@opennebula.org"
target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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
</pre>
</body>
</html>