<div dir="ltr">"<span style="font-family:arial,sans-serif;font-size:13px">misconfiguration of the rings"</span><div style><font face="arial, sans-serif">Could you tell something about this? Maybe it'll help me avoid some future failures.</font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 5:58 PM, Adam Huffman <span dir="ltr"><<a href="mailto:adam.huffman@gmail.com" target="_blank">adam.huffman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for looking.  With lots of help from tongli on #openstack, I<br>
realised that there had been a misconfiguration of the rings.  When<br>
that was fixed, it started working.<br>
<span class="HOEnZb"><font color="#888888"><br>
Adam<br>
</font></span><div class="im HOEnZb"><br>
On Tue, Mar 12, 2013 at 4:15 PM, Gareth <<a href="mailto:academicgareth@gmail.com">academicgareth@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Give your whole proxy.conf here.<br>
><br>
><br>
> On Tue, Mar 12, 2013 at 8:54 PM, Adam Huffman <<a href="mailto:adam.huffman@gmail.com">adam.huffman@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I'm having trouble with Swift, using Keystone auth, on Folsom.<br>
>><br>
>> When I try something simple like 'swift stat', there are two errors:<br>
>><br>
>> Firstly a logging error:<br>
>><br>
>> <147>proxy-server STDOUT: No handlers could be found for logger<br>
>> "keystone.middleware.auth_token"<br>
>><br>
>> More importantly, the authorization fails:<br>
>><br>
>> Account HEAD failed:<br>
>> http://<ip>:8080/v1/AUTH_dfb9c6d687be4d34bceee256cc3cb123 401<br>
>> Unauthorized<br>
>><br>
>> With SWIFTCLIENT_DEBUG set, I can see there are two separate requests:<br>
>><br>
>> curl -i http://<ip>:8080/v1/AUTH_dfb9c6d687be4d34bceee256cc3cb123 -X<br>
>> HEAD -H "X-Auth-Token: da38c4407cff40b69f236ef0da9d73e8"<br>
>><br>
>> and two instances of:<br>
>><br>
>> curl -i http://<ip>:8080/v1/AUTH_dfb9c6d687be4d34bceee256cc3cb123 -X<br>
>> HEAD -H "X-Auth-Token: 0fc76ee28c2e43f0929c7c3ef158830d"<br>
>><br>
>> The proxy-server log for these requests is:<br>
>><br>
>> proxy-server Authorizing as anonymous<br>
>><br>
>> which is puzzling.  The keystone log shows that real local credentials<br>
>> are being sent:<br>
>><br>
>> 2013-03-12 12:46:11    DEBUG [keystone.common.wsgi]<br>
>> ******************** REQUEST BODY ********************<br>
>> 2013-03-12 12:46:11    DEBUG [keystone.common.wsgi] {"auth":<br>
>> {"tenantName": "admin", "passwordCredentials": {"username": "admin",<br>
>> "password": "<password>"}}}<br>
>><br>
>> then<br>
>><br>
>> 2013-03-12 12:46:11  WARNING [keystone.common.wsgi] Authorization<br>
>> failed. Invalid user / password from <ip><br>
>> 2013-03-12 12:46:11    DEBUG [keystone.common.wsgi] {"error":<br>
>> {"message": "Invalid user / password", "code": 401, "title": "Not<br>
>> Authorized"}}<br>
>><br>
>> Keystone auth works for all the other services.<br>
>><br>
>> Any suggestions appreciated.<br>
>><br>
>> Adam<br>
>><br>
>> _______________________________________________<br>
>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Gareth<br>
> Cloud Computing, Openstack, Fitness, Basketball<br>
> Novice Openstack contributer<br>
> My promise: if you find any spelling or grammar mistake in my email from Mar<br>
> 1 2013, notice me<br>
> and I'll donate 1$ or 1¥ to open organization specified by you.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#444444">Gareth</font><div><i><font color="#444444">Cloud Computing, Openstack, Fitness, Basketball<br></font></i></div>
<div><i><font color="#666666">Novice Openstack contributer</font></i></div><div><i><font color="#999999">My promise: if you find any spelling or grammar mistake in my email from Mar 1 2013, notice me </font></i></div><div>
<i><font color="#999999">and I'll donate 1$ or 1¥ to open organization specified by you.</font></i></div></div>
</div>