[Openstack] Swift with Keystone problem

Gareth academicgareth at gmail.com
Thu Mar 14 06:55:17 UTC 2013


"misconfiguration of the rings"
Could you tell something about this? Maybe it'll help me avoid some future
failures.


On Wed, Mar 13, 2013 at 5:58 PM, Adam Huffman <adam.huffman at gmail.com>wrote:

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



-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130314/55bfa2e2/attachment.html>


More information about the Openstack mailing list