[openstack-dev] Swift: Token problem

Clay Gerrard clay.gerrard at gmail.com
Mon Mar 25 17:05:54 UTC 2013


I don't think the noise from curl is as important as the Internal Server
Error from swift.  It means something went pretty poorly.  Could be
back-end services, memcache, maybe auth or some middleware.  The clues will
be in the swift logs.

Look for that X-Trans-Id: "tx0430d1fbecff4440896376454b25**3c91" in
/var/log/syslog, or maybe /var/log/swift/*.log depending on how you
installed...

-Clay


On Sun, Mar 24, 2013 at 2:07 PM, Nesrine Kaaniche <
nesrine.kaaniche at telecom-sudparis.eu> wrote:

> Hello,
>
> I am a junior swift developper. I am installing Swift using ubunto 12.10.
>
> To get a token, I get this message:
>
> root at cloudsecurity:/etc/swift# curl -v -H 'X-Auth-Token: AUTH_
> **tk0ddd99ea3f5645bc926b3300ee87**536b' http://157.159.100.215:8080/**
> v1/AUTH_CloudStorage1 <http://157.159.100.215:8080/v1/AUTH_CloudStorage1>
> * About to connect() to 157.159.100.215 port 8080 (#0)
> *   Trying 157.159.100.215...
> * connected
> * Connected to 157.159.100.215 (157.159.100.215) port 8080 (#0)
> > GET /v1/AUTH_CloudStorage1 HTTP/1.1
> > User-Agent: curl/7.27.0
> > Host: 157.159.100.215:8080
> > Accept: */*
> > X-Auth-Token: AUTH_**tk0ddd99ea3f5645bc926b3300ee87**536b
> >
> * additional stuff not fine transfer.c:1037: 0 0
> * HTTP 1.1 or later with persistent connection, pipelining supported
> < HTTP/1.1 503 Internal Server Error
> < Content-Type: text/html; charset=UTF-8
> < Content-Length: 0
> < X-Trans-Id: tx0430d1fbecff4440896376454b25**3c91
> < Date: Fri, 22 Mar 2013 17:38:34 GMT
> <
> * Connection #0 to host 157.159.100.215 left intact
> * Closing connection #0
>
> I noticed that there is an extra message that I didnt understand what its
> meaning:
> * additional stuff not fine transfer.c:1037: 0 0
> * HTTP 1.1 or later with persistent connection, pipelining supported
>
> Moreover, when I use the mentionned Auth-token, I got an error message
> announcing that the access is denied.
>
> I would be very grateful if you can give me suggestions to solve my
> problem.
> Thank you for your help.
>
> Best regards,
> NK
>
>
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130325/152c9343/attachment.html>


More information about the OpenStack-dev mailing list