Needs support for x-openstack-request-id

Bug #1324065 reported by Mitsuru Kanabuchi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Mitsuru Kanabuchi

Bug Description

Nova, Cinder, Glance and Neutron already supported x-openstack-request-id.

  Nova: https://blueprints.launchpad.net/nova/+spec/cross-service-request-id
  Cinder: https://blueprints.launchpad.net/cinder/+spec/add-standard-req-id-header
  Glance: http://docs.openstack.org/developer/glance/glanceapi.html
  Neutron: https://bugs.launchpad.net/neutron/+bug/1239923

x-openstack-request-id is worthful functionality especially for the operator who's tracing problem's root cause.
It's also worthful functionality for Heat because Heat caller will be able to log heat's x-openstack-request-id.
This will enable effective tracing between Heat and Heat caller.

Nova, Cinder and Neutron have realized this functionality by using oslo-incubator.middleware.

My plan is:

  1) sync oslo-incubator with oslo.middleware
  2) modify to use request_id middleware in heat

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Agree that it is needed. Thanks for submitting.

Changed in heat:
status: New → Triaged
importance: Undecided → Medium
Changed in heat:
assignee: nobody → Mitsuru Kanabuchi (kanabuchi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Zane Bitter (zaneb)
Changed in heat:
milestone: none → juno-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/97386
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=31604c71a1f9a0a27b295e5450f063ffd2b0edba
Submitter: Jenkins
Branch: master

commit 31604c71a1f9a0a27b295e5450f063ffd2b0edba
Author: Mitsuru Kanabuchi <email address hidden>
Date: Tue Jun 17 18:37:10 2014 +0900

    Sync oslo-incubator.middleware module

    This syncing has contained oslo-incubator.middleware module
    to get capability of x-openstack-request-id.

    Change-Id: I8e3b7d23bc1def705a0399bbd5015241a0fba8b1
    Partial-Bug: #1324065

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/97392
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=f6deffa73f244867b6a0cac6708f423d992700d9
Submitter: Jenkins
Branch: master

commit f6deffa73f244867b6a0cac6708f423d992700d9
Author: Mitsuru Kanabuchi <email address hidden>
Date: Mon Jun 16 21:40:36 2014 +0900

    Support x-openstack-request-id for Heat

    This patch aims to support "x-openstack-request-id" for Heat.

    Nova, Cinder and Neutron have realized "x-openstack-request-id" functionality
    by using oslo-incubator.middleware. This functionality will enable effective
    log tracing between Heat and Heat caller.

    Change-Id: Ida2f3d33b02557c2117aade27ccac7d9351886c9
    Closes-bug: #1324065

Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-2 → 2014.2
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.