Comment 4 for bug 949904

Revision history for this message
Kevin Jackson (kevin-linuxservices) wrote :

As a comparison I've done a call that works (keystone user-list) to see what that looks like. This is in http://paste.openstack.org/show/7823/

What I've seen is a subtle difference:

In 7804 note arg_dict: with the token (and this fails)

(root): 2012-03-09 14:20:44,806 DEBUG wsgi __call__ arg_dict: {'token_id': u'999888777666'}
(root): 2012-03-09 14:20:44,808 WARNING wsgi __call__ Could not find token: 999888777666
(root): 2012-03-09 14:20:44,808 DEBUG wsgi __call__ ******************** RESPONSE HEADERS ********************
(root): 2012-03-09 14:20:44,808 DEBUG wsgi __call__ Content-Type = application/json
(root): 2012-03-09 14:20:44,808 DEBUG wsgi __call__ Vary = X-Auth-Token
(root): 2012-03-09 14:20:44,808 DEBUG wsgi __call__ Content-Length = 95
(root): 2012-03-09 14:20:44,808 DEBUG wsgi __call__
(root): 2012-03-09 14:20:44,809 DEBUG wsgi print_generator ******************** RESPONSE BODY ********************
(root): 2012-03-09 14:20:44,809 DEBUG wsgi print_generator {"error": {"message": "Could not find token: 999888777666", "code": 404, "title": "Not Found"}}

(eventlet.wsgi.server): 2012-03-09 14:20:44,809 DEBUG wsgi write 172.15.0.2 - - [09/Mar/2012 14:20:44] "GET /v2.0/tokens/999888777666 HTTP/1.1" 404 249 0.006314

where as 7823 which works doesn't pass the token to arg_dict

(root): 2012-03-09 15:01:00,606 DEBUG wsgi __call__ arg_dict: {}
(root): 2012-03-09 15:01:00,624 DEBUG wsgi __call__ ******************** RESPONSE HEADERS ********************
(root): 2012-03-09 15:01:00,624 DEBUG wsgi __call__ Content-Type = application/json
(root): 2012-03-09 15:01:00,624 DEBUG wsgi __call__ Vary = X-Auth-Token
(root): 2012-03-09 15:01:00,624 DEBUG wsgi __call__ Content-Length = 478
(root): 2012-03-09 15:01:00,624 DEBUG wsgi __call__
(root): 2012-03-09 15:01:00,625 DEBUG wsgi print_generator ******************** RESPONSE BODY ********************
... snip ...

(eventlet.wsgi.server): 2012-03-09 15:01:00,625 DEBUG wsgi write 172.15.0.2 - - [09/Mar/2012 15:01:00] "GET /v2.0//users?fresh=1331305260.58 HTTP/1.1" 200 626 0.035609