← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1770551] [NEW] Duplicate POST request to create a token

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1770551

Title:
  Duplicate POST request to create a token

Status in OpenStack Identity (keystone):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1770551/+subscriptions


Follow ups