I am still tackling with this issue...

I appreciate if someone can help me out.

I figured out that token issue(POST request)  succeeds but GET request
comes after is not proxied to keystone.

[POST request]
1. Swift client log
[root@opstack-controller src 2016.10.21 11:28:16]# swift list --debug
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to
http://opstack-cont-manage:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection
(1): opstack-cont-manage
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens
HTTP/1.1" 201 6420

2. Keystone access log
10.1.1.6 - - [21/Oct/2016:11:28:26 +0900] "POST /v3/auth/tokens HTTP/1.1"
201 6420 "-" "python-keystoneclient"

[GET request]
1. Swift client log
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection
(1): opstack-cont-manage
DEBUG:requests.packages.urllib3.connectionpool:"GET
/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004?format=json HTTP/1.1" 503 100
INFO:swiftclient:REQ: curl -i
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004?format=json
-X GET -H "X-Auth-Token:
gAAAAABYCX1KbdDk_Fl45pyHbfOwsPPVgjuAi7nnvF1-Qone51N4S8Z7B_S56RR0a78NjT1C-gJgngtkmiCYrlmUCAkQQIoPG0V4heRUjbAHYBSy22L2EvXexzK_f-hlcnBmqrNKcMUHFGEWgWMvwC6QrUVYP8dP332Sg5mOASEv5sCW9t9_VxA"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable

2. Keyston access log
Nothing logged

Instead errors are seen in syslog.

Oct 21 11:29:15 opstack-controller keystoneauth.identity.base: Failed to
contact the endpoint at http://opstack-cont-manage:5000/v3 for discovery.
Fallback to using that endpoint as the base url.
Oct 21 11:29:15 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 0.5s.
Oct 21 11:29:15 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 1.0s.
Oct 21 11:29:16 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 2.0s.

May I ask which setting should  I look at either on keystone or swift-proxy?


On Fri, Oct 14, 2016 at 2:52 PM, Mark Kirkwood <
mark.kirkw...@catalyst.net.nz> wrote:

>
>
> On 14/10/16 18:07, Yu Watanabe wrote:
>
>> At the same time , I see connection errors in the proxy server.
>>
>> Oct 14 14:05:08 opstack-controller proxy-server: Deferring reject
>> downstream
>> Oct 14 14:05:08 opstack-controller proxy-server: - - 14/Oct/2016/05/05/08
>> HEAD /v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004 HTTP/1.0 204 - Swift - -
>> - - tx60f54bfed6d94357a10c0-0058006784 - 0.0268 RL -
>> 1476421508.123720884 1476421508.150515079 -
>> Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
>> contact the endpoint at http://opstack-cont-manage:5000/v3 for
>> discovery. Fallback to using that endpoint as the base url.
>> Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
>> contact the endpoint at http://opstack-cont-manage:5000/v3 for
>> discovery. Fallback to using that endpoint as the base url.
>> Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 0.5s.
>> Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 1.0s.
>> Oct 14 14:05:09 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 2.0s.
>>
>> Does this mean that problem lies on proxy server side?
>>
>>
> Looks like the swift proxy - keystone connection is not happy. Have a look
> at what your keystone logs are saying.
>
> Cheers
>
> Mark
>



-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to