Provide method to get latest request id
Bug #1465817 reported by
Terry Howe
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack SDK |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
Add a method to get latest request/transaction id in connection class and session.
| no longer affects: | python-cinderclient |
| no longer affects: | python-glanceclient |
| no longer affects: | python-neutronclient |
| Changed in python-openstacksdk: | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| milestone: | none → 1.0 |
To post a comment you must log in.
Most of them put x-openstack- request- id in the header, but compute puts x-compute- request- id and object_store puts x-trans-id.
We're never going to be able to pin individual requests/responses to their IDs since we make implicit requests either through auth, searching, pagination, or others. We can probably store a list of the last handful of requests and their IDs, but the best way to get that info would be in the logs.