Let users add their own txid suffixes

Bug #1320386 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Low
Diane Fleming
openstack-manuals
Fix Released
Low
Diane Fleming

Bug Description

https://review.openstack.org/93985
commit d8e2043b2f57550570b5bd088b927fc8241b4188
Author: Samuel Merritt <email address hidden>
Date: Fri May 16 14:31:08 2014 -0400

    Let users add their own txid suffixes

    The value of the X-Trans-Id-Extra header on the request (if any) will
    now be appended to the transaction ID. This lets users put their own
    information into transaction IDs.

    For example, Glance folks upload images as large objects, so they'd
    like to be able to tie together all the segment PUTs and the manifest
    PUT with some operation ID in the logs. This would let them pass in
    that operation ID as X-Trans-Id-Extra, and then when things went
    wrong, it'd be much easier to find all the requests in Swift's logs.

    Also, this aids debuggability when requests fail to receive
    responses. If a user is sending in their own X-Trans-Id-Extra strings,
    then that gives operators something to search for in the logs. The
    normal txid won't work since that's in the response, but the client
    didn't receive one.

    Swift will only use the first 32 characters of X-Trans-Id-Extra so
    that its log lines stay a manageable length. Also, it's URL-quoted so
    that users cannot inject double quotes into X-Trans-Id-Extra and screw
    up log parsers.

    DocImpact

    Change-Id: I3c51d0c5ac55697ac230001840da219e73a03157

Tags: swift
Lana (loquacity)
Changed in openstack-manuals:
status: New → Confirmed
Changed in openstack-manuals:
importance: Undecided → Low
Loic Dachary (dachary)
Changed in openstack-manuals:
assignee: nobody → Loic Dachary (dachary)
Loic Dachary (dachary)
Changed in openstack-manuals:
assignee: Loic Dachary (dachary) → nobody
Tom Fifield (fifieldt)
affects: openstack-manuals → openstack-api-site
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → mitaka
status: Confirmed → In Progress
Changed in openstack-manuals:
assignee: nobody → Diane Fleming (diane-fleming)
status: New → Confirmed
importance: Undecided → Low
milestone: none → mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
Changed in openstack-manuals:
assignee: Diane Fleming (diane-fleming) → ologvinova (ologvinova)
Changed in openstack-manuals:
assignee: ologvinova (ologvinova) → Diane Fleming (diane-fleming)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/263102
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=995019ba8bfc3394a79ab8f534fb25bab1e03a84
Submitter: Jenkins
Branch: master

commit 995019ba8bfc3394a79ab8f534fb25bab1e03a84
Author: Diane Fleming <email address hidden>
Date: Sun Jan 3 21:38:05 2016 -0600

    Add X-Trans-Id-Extra header information to large objects section

    - Remove passive voice
    - Use present tense
    - Improve grammar

    Change-Id: I425e8e12911f0d7d703ffd6659310896e4481650
    Closes-Bug: #1320386

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/263093
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=cf190a0bd1c2199b74bb26fe64c6aed83b64a8ab
Submitter: Jenkins
Branch: master

commit cf190a0bd1c2199b74bb26fe64c6aed83b64a8ab
Author: Diane Fleming <email address hidden>
Date: Sun Jan 3 20:45:15 2016 -0600

    Add X-Trans-Id-Extra request header

    Change-Id: Ic6586e339e3ac2abecdaaf135f46d00c9ce1ab5f
    Closes-Bug: #1320386

Changed in openstack-api-site:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.