Request ID has a double req- at the start

Bug #1478690 reported by Graham Hayes
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Abhijeet Malawade
Kilo
Fix Released
Undecided
Unassigned
OpenStack Searchlight
Fix Released
Low
Abhijeet Malawade

Bug Description

    ➜ vagrant git:(master) http http://192.168.121.242:9393/v1/search X-Auth-Token:$token query:='{"match_all" : {}}'
    HTTP/1.1 200 OK
    Content-Length: 138
    Content-Type: application/json; charset=UTF-8
    Date: Mon, 27 Jul 2015 20:21:31 GMT
    X-Openstack-Request-Id: req-req-0314bf5b-9c04-4bed-bf86-d2e76d297a34

Revision history for this message
Steve McLellan (sjmc7) wrote :

This appears in other services too - glance --debug image-list, for instance:

HTTP/1.1 200 OK
date: Mon, 27 Jul 2015 23:17:37 GMT
connection: keep-alive
content-type: application/json; charset=UTF-8
content-length: 1642
x-openstack-request-id: req-req-1de6f809-da0f-4ca3-b262-4f206cd4700d

Revision history for this message
Abhijeet Malawade (abhijeet-malawade) wrote :

Fix proposed for Glance master branch : https://review.openstack.org/#/c/206521/

Changed in glance:
assignee: nobody → Abhijeet Malawade (abhijeet-malawade)
status: New → In Progress
Revision history for this message
Abhijeet Malawade (abhijeet-malawade) wrote :

Fix proposed for Searchlight master branch : https://review.openstack.org/#/c/206969/

Changed in searchlight:
assignee: nobody → Abhijeet Malawade (abhijeet-malawade)
status: New → In Progress
Steve McLellan (sjmc7)
Changed in searchlight:
importance: Undecided → Low
tags: added: kilo-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/207847

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Reviewed: https://review.openstack.org/206969
Committed: https://git.openstack.org/cgit/openstack/searchlight/commit/?id=2031d218128b53e6705d4bde574789507fd3eeb7
Submitter: Jenkins
Branch: master

commit 2031d218128b53e6705d4bde574789507fd3eeb7
Author: Abhijeet Malawade <email address hidden>
Date: Wed Jul 29 02:45:30 2015 -0700

    Fix Request ID has a double 'req-' at the start

    Check if request-id starts with 'req-' in context middleware,
    if not then add prefix 'req-' to request-id.

    Change-Id: If4605394791ae8e9110964f7ad71bf904562bb1e
    Closes-Bug: #1478690

Changed in searchlight:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/206521
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=5085aff80fafbb77a590cc8c1a6d60f5f60143e2
Submitter: Jenkins
Branch: master

commit 5085aff80fafbb77a590cc8c1a6d60f5f60143e2
Author: Abhijeet Malawade <email address hidden>
Date: Tue Jul 28 05:17:20 2015 -0700

    Fix Request ID has a double 'req-' at the start

    Check if request-id starts with 'req-' in context middleware,
    if not then add prefix 'req-' to request-id.

    Change-Id: I4fae1f6274b5d89fd3bdd1aefd4abc2129afd8ef
    Closes-Bug: #1478690

Changed in glance:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/214617

Thierry Carrez (ttx)
Changed in glance:
milestone: none → liberty-3
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (stable/kilo)

Reviewed: https://review.openstack.org/214617
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=0b27935058e359278a019683c63e0a8586564b1b
Submitter: Jenkins
Branch: stable/kilo

commit 0b27935058e359278a019683c63e0a8586564b1b
Author: Abhijeet Malawade <email address hidden>
Date: Tue Jul 28 05:17:20 2015 -0700

    Fix Request ID has a double 'req-' at the start

    Check if request-id starts with 'req-' in context middleware,
    if not then add prefix 'req-' to request-id.

    Change-Id: I4fae1f6274b5d89fd3bdd1aefd4abc2129afd8ef
    Closes-Bug: #1478690
    (cherry picked from commit 5085aff80fafbb77a590cc8c1a6d60f5f60143e2)

Changed in searchlight:
milestone: none → liberty-rc1
Changed in searchlight:
status: Fix Committed → Fix Released
milestone: liberty-rc1 → 0.1.0.0
Thierry Carrez (ttx)
Changed in glance:
milestone: liberty-3 → 11.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Glance Bot (<email address hidden>) on branch: master
Review: https://review.openstack.org/207847

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.