Duplicate POST request to create a token

Bug #1770551 reported by lucky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
New
Undecided
Unassigned

Bug Description

In Queens release, When "openstack resource provider show <uuid>" command is executed, it is found that duplicate entries are logged in file "keystone_wsgi_main_access.log" for creating token.

keystone_wsgi_main_access.log
1. 172.30.66.178 - - [02/May/2018:12:37:47 +0530] "GET /v3 HTTP/1.1" 200 197 "-" "osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5"

2. 172.30.66.178 - - [02/May/2018:12:37:47 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 7792 "-" "osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5"

3. 172.30.66.178 - - [02/May/2018:12:37:47 +0530] "POST /v3/auth/tokens HTTP/1.1" 201 7792 "-" "osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5"

From above logs entries, it has been found that log 2 and 3 are identical.
Ideally there should be only one post request to generate a token.

Revision history for this message
wangxiyuan (wangxiyuan) wrote :

It's a openstackclient's behavior. A similar bug is here: https://bugs.launchpad.net/python-openstackclient/+bug/1648428

Not related to Keystone itself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.