Logs must contain the request ID

Bug #1485604 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Brant Knudson

Bug Description

The keystone log file doesn't have the request ID like the other projects. The log file should contain the request ID so that it's easier to debug.

Changed in keystone:
status: New → In Progress
Revision history for this message
Brant Knudson (blk-u) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
Marek Denis (marek-denis) wrote :

Title says the request id mus be present, whereas the description only mentions they should be there so the debuging is easier. Which is true - we need request id to improve operators experience or we need it because it's a requirement in the OpenStack ecosystem?

Revision history for this message
Brant Knudson (blk-u) wrote :

The bug isn't fixed unless the request ID is being logged. I don't think OpenStack ecosystem has requirements.

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

Reviewed: https://review.openstack.org/218511
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=8719f5a7d0a8eda22291c7c905b0a849ecf4fffa
Submitter: Jenkins
Branch: master

commit 8719f5a7d0a8eda22291c7c905b0a849ecf4fffa
Author: Brant Knudson <email address hidden>
Date: Fri Aug 28 16:50:48 2015 -0500

    Build oslo.context RequestContext

    During the request, an oslo.context RequestContext is created.
    This allows the log to contain the request ID as set by the
    request_id middleware.

    Change-Id: Ib27d91c20a58a48d611a7c0b42134f4970ff42a8
    Closes-Bug: 1485604

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: liberty-rc1 → 8.0.0
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.