)]}'
{"specs/pike/global-req-id.rst":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":1,"context_line":".."},{"line_number":2,"context_line":"  This template should be in ReSTructured text.  For help with syntax,"},{"line_number":3,"context_line":"  see http://sphinx-doc.org/rest.html"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  To test out your formatting, build the docs using tox, or see:"},{"line_number":6,"context_line":"  http://rst.ninjs.org"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  The filename in the git repository should match the launchpad URL,"},{"line_number":9,"context_line":"  for example a URL of"},{"line_number":10,"context_line":"  https://blueprints.launchpad.net/oslo?searchtext\u003dawesome-thing should be"},{"line_number":11,"context_line":"  named awesome-thing.rst."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  For specs targeted at a single project, please prefix the first line"},{"line_number":14,"context_line":"  of your commit message with the name of the project.  For example,"},{"line_number":15,"context_line":"  if you\u0027re submitting a new feature for oslo.config, your git commit"},{"line_number":16,"context_line":"  message should start something like: \"config: My new feature\"."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  Wrap text at 79 columns."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  Do not delete any of the sections in this template.  If you have"},{"line_number":21,"context_line":"  nothing to say for a whole section, just write: None"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"  If you would like to provide a diagram with your spec, ascii diagrams are"},{"line_number":24,"context_line":"  required.  http://asciiflow.com/ is a very nice tool to assist with making"},{"line_number":25,"context_line":"  ascii diagrams.  The reason for this is that the tool used to review specs is"},{"line_number":26,"context_line":"  based purely on plain text.  Plain text will allow review to proceed without"},{"line_number":27,"context_line":"  having to look at additional files which can not be viewed in gerrit.  It"},{"line_number":28,"context_line":"  will also allow inline feedback on the diagram itself."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":" Global Request IDs"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_fc18fcd3","line":28,"range":{"start_line":2,"start_character":0,"end_line":28,"end_character":56},"updated":"2017-05-15 22:05:47.000000000","message":"Remove boilerplate","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":1,"context_line":".."},{"line_number":2,"context_line":"  This template should be in ReSTructured text.  For help with syntax,"},{"line_number":3,"context_line":"  see http://sphinx-doc.org/rest.html"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  To test out your formatting, build the docs using tox, or see:"},{"line_number":6,"context_line":"  http://rst.ninjs.org"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  The filename in the git repository should match the launchpad URL,"},{"line_number":9,"context_line":"  for example a URL of"},{"line_number":10,"context_line":"  https://blueprints.launchpad.net/oslo?searchtext\u003dawesome-thing should be"},{"line_number":11,"context_line":"  named awesome-thing.rst."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"  For specs targeted at a single project, please prefix the first line"},{"line_number":14,"context_line":"  of your commit message with the name of the project.  For example,"},{"line_number":15,"context_line":"  if you\u0027re submitting a new feature for oslo.config, your git commit"},{"line_number":16,"context_line":"  message should start something like: \"config: My new feature\"."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  Wrap text at 79 columns."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  Do not delete any of the sections in this template.  If you have"},{"line_number":21,"context_line":"  nothing to say for a whole section, just write: None"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"  If you would like to provide a diagram with your spec, ascii diagrams are"},{"line_number":24,"context_line":"  required.  http://asciiflow.com/ is a very nice tool to assist with making"},{"line_number":25,"context_line":"  ascii diagrams.  The reason for this is that the tool used to review specs is"},{"line_number":26,"context_line":"  based purely on plain text.  Plain text will allow review to proceed without"},{"line_number":27,"context_line":"  having to look at additional files which can not be viewed in gerrit.  It"},{"line_number":28,"context_line":"  will also allow inline feedback on the diagram itself."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":" Global Request IDs"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_843511dd","line":28,"range":{"start_line":2,"start_character":0,"end_line":28,"end_character":56},"in_reply_to":"1f013ff3_fc18fcd3","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Building a complex resource, like a boot instance, requires not only"},{"line_number":37,"context_line":"touching a number of Nova processes, but also other services such as"},{"line_number":38,"context_line":"Neutron, Glance, and possibly Cinder. When we make those service jumps"},{"line_number":39,"context_line":"we currently generate a new request-id, which makes debugging those"},{"line_number":40,"context_line":"failures quite manual."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Problem description"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_fc7d9ce7","line":40,"range":{"start_line":39,"start_character":52,"end_line":40,"end_character":8},"updated":"2017-05-15 22:05:47.000000000","message":"More generally, \"tracing those flows\".  Debugging failures is a common subset thereof, but by no means the only use case.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Building a complex resource, like a boot instance, requires not only"},{"line_number":37,"context_line":"touching a number of Nova processes, but also other services such as"},{"line_number":38,"context_line":"Neutron, Glance, and possibly Cinder. When we make those service jumps"},{"line_number":39,"context_line":"we currently generate a new request-id, which makes debugging those"},{"line_number":40,"context_line":"failures quite manual."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Problem description"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_2452bd14","line":40,"range":{"start_line":39,"start_character":52,"end_line":40,"end_character":8},"in_reply_to":"1f013ff3_fc7d9ce7","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":47,"context_line":"most services. It is eventually embedded into the ``context``, which"},{"line_number":48,"context_line":"is then used implicitly for logging all activities related to the"},{"line_number":49,"context_line":"request. This works well for tracing requests inside of a single"},{"line_number":50,"context_line":"service as it passes through it\u0027s workers, but works poorly when a"},{"line_number":51,"context_line":"resource (like a server) needs networking, and must make multiple"},{"line_number":52,"context_line":"requests to neutron (all of which much pass) to build a working"},{"line_number":53,"context_line":"server."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_fc66bc51","line":50,"range":{"start_line":50,"start_character":29,"end_line":50,"end_character":33},"updated":"2017-05-15 22:05:47.000000000","message":"its","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":47,"context_line":"most services. It is eventually embedded into the ``context``, which"},{"line_number":48,"context_line":"is then used implicitly for logging all activities related to the"},{"line_number":49,"context_line":"request. This works well for tracing requests inside of a single"},{"line_number":50,"context_line":"service as it passes through it\u0027s workers, but works poorly when a"},{"line_number":51,"context_line":"resource (like a server) needs networking, and must make multiple"},{"line_number":52,"context_line":"requests to neutron (all of which much pass) to build a working"},{"line_number":53,"context_line":"server."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_a43dadbc","line":50,"range":{"start_line":50,"start_character":29,"end_line":50,"end_character":33},"in_reply_to":"1f013ff3_fc66bc51","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":50,"context_line":"service as it passes through it\u0027s workers, but works poorly when a"},{"line_number":51,"context_line":"resource (like a server) needs networking, and must make multiple"},{"line_number":52,"context_line":"requests to neutron (all of which much pass) to build a working"},{"line_number":53,"context_line":"server."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"It would be much better if a request-id passed between REST services,"},{"line_number":56,"context_line":"so that tooling such as Elastic Search could easily see the entire"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_fccb5c1b","line":53,"updated":"2017-05-15 22:05:47.000000000","message":"Perhaps an indication that networking is just one example of crossing service boundaries.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"- accept an inbound X-OpenStack-Request-ID header on requests"},{"line_number":65,"context_line":"- in olso request_id middleware, set the request_id assuming this was"},{"line_number":66,"context_line":"  valid (apply some strict validation to it)"},{"line_number":67,"context_line":"- also generate a local_request_id for the purposes of tracking the"},{"line_number":68,"context_line":"  request within the service"},{"line_number":69,"context_line":"- when oslo.context is created, if the user does not have a sufficient"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_3c8f84cd","line":66,"range":{"start_line":66,"start_character":20,"end_line":66,"end_character":37},"updated":"2017-05-15 22:05:47.000000000","message":"What kind of validation?  ML thread mentioned both formatting (\u0027req-{uuid}\u0027) and auth (user is allowed to specify the request-id).  The latter is covered two bullets down, so I assume this is talking about the former.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"- accept an inbound X-OpenStack-Request-ID header on requests"},{"line_number":65,"context_line":"- in olso request_id middleware, set the request_id assuming this was"},{"line_number":66,"context_line":"  valid (apply some strict validation to it)"},{"line_number":67,"context_line":"- also generate a local_request_id for the purposes of tracking the"},{"line_number":68,"context_line":"  request within the service"},{"line_number":69,"context_line":"- when oslo.context is created, if the user does not have a sufficient"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_04b6a1fb","line":66,"range":{"start_line":66,"start_character":20,"end_line":66,"end_character":37},"in_reply_to":"1f013ff3_3c8f84cd","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":69,"context_line":"- when oslo.context is created, if the user does not have a sufficient"},{"line_number":70,"context_line":"  role (such as ``service``) reset request_id to"},{"line_number":71,"context_line":"  local_request_id. This ensures only requests made by trusted"},{"line_number":72,"context_line":"  services track across service boundaries."},{"line_number":73,"context_line":"- update oslo.log to log both global and local request ids from"},{"line_number":74,"context_line":"  context"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_bcbcb469","line":72,"updated":"2017-05-15 22:05:47.000000000","message":"Yeah, so I twigged on this when reading the ML thread.  Perhaps not needed in this document, but what\u0027s the security concern motivating this validation?\n\n[Later] Okay, this is explained under the \u0027Security Impact\u0027 section, third bullet.  Perhaps a link from here to there would be useful.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":69,"context_line":"- when oslo.context is created, if the user does not have a sufficient"},{"line_number":70,"context_line":"  role (such as ``service``) reset request_id to"},{"line_number":71,"context_line":"  local_request_id. This ensures only requests made by trusted"},{"line_number":72,"context_line":"  services track across service boundaries."},{"line_number":73,"context_line":"- update oslo.log to log both global and local request ids from"},{"line_number":74,"context_line":"  context"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_e4ba95dc","line":72,"in_reply_to":"1f013ff3_bcbcb469","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":89,"context_line":"   use \u003d call:neutron.auth:pipeline_factory"},{"line_number":90,"context_line":"   noauth \u003d cors http_proxy_to_wsgi request_id catch_errors extensions neutronapiapp_v2_0"},{"line_number":91,"context_line":"   keystone \u003d cors http_proxy_to_wsgi request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0"},{"line_number":92,"context_line":"                                      ^                                 ^"},{"line_number":93,"context_line":"   request_id generated here ---------+                                 |"},{"line_number":94,"context_line":"   context built here --------------------------------------------------+"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Glance [#f2]_"},{"line_number":97,"context_line":"~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_f73b7799","line":94,"range":{"start_line":92,"start_character":0,"end_line":94,"end_character":73},"updated":"2017-05-15 22:05:47.000000000","message":"This isn\u0027t rendering right (at least with rst2html.py) due to the \u0027ini\u0027 formatting hint.  Prefixing these lines with \u0027#\u0027 fixes it.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":89,"context_line":"   use \u003d call:neutron.auth:pipeline_factory"},{"line_number":90,"context_line":"   noauth \u003d cors http_proxy_to_wsgi request_id catch_errors extensions neutronapiapp_v2_0"},{"line_number":91,"context_line":"   keystone \u003d cors http_proxy_to_wsgi request_id catch_errors authtoken keystonecontext extensions neutronapiapp_v2_0"},{"line_number":92,"context_line":"                                      ^                                 ^"},{"line_number":93,"context_line":"   request_id generated here ---------+                                 |"},{"line_number":94,"context_line":"   context built here --------------------------------------------------+"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Glance [#f2]_"},{"line_number":97,"context_line":"~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_a4cc8d89","line":94,"range":{"start_line":92,"start_character":0,"end_line":94,"end_character":73},"in_reply_to":"1f013ff3_f73b7799","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":101,"context_line":"   # Use this pipeline for keystone auth"},{"line_number":102,"context_line":"   [pipeline:glance-api-keystone]"},{"line_number":103,"context_line":"   pipeline \u003d cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken context  rootapp"},{"line_number":104,"context_line":"                                                                                ^"},{"line_number":105,"context_line":"   request_id \u0026 context built here ---------------------------------------------+"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"Cinder [#f3]_"},{"line_number":108,"context_line":"~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_d7407b0a","line":105,"range":{"start_line":104,"start_character":0,"end_line":105,"end_character":81},"updated":"2017-05-15 22:05:47.000000000","message":"Ditto","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":101,"context_line":"   # Use this pipeline for keystone auth"},{"line_number":102,"context_line":"   [pipeline:glance-api-keystone]"},{"line_number":103,"context_line":"   pipeline \u003d cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken context  rootapp"},{"line_number":104,"context_line":"                                                                                ^"},{"line_number":105,"context_line":"   request_id \u0026 context built here ---------------------------------------------+"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"Cinder [#f3]_"},{"line_number":108,"context_line":"~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_84c99179","line":105,"range":{"start_line":104,"start_character":0,"end_line":105,"end_character":81},"in_reply_to":"1f013ff3_d7407b0a","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":113,"context_line":"   use \u003d call:cinder.api.middleware.auth:pipeline_factory"},{"line_number":114,"context_line":"   noauth \u003d cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3"},{"line_number":115,"context_line":"   keystone \u003d cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"                                      ^                                                   ^"},{"line_number":118,"context_line":"   request_id generated here ---------+                                                   |"},{"line_number":119,"context_line":"   context built here --------------------------------------------------------------------+"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Nova [#f4]_"},{"line_number":122,"context_line":"~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_974af324","line":119,"range":{"start_line":116,"start_character":0,"end_line":119,"end_character":91},"updated":"2017-05-15 22:05:47.000000000","message":"Ditto","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":113,"context_line":"   use \u003d call:cinder.api.middleware.auth:pipeline_factory"},{"line_number":114,"context_line":"   noauth \u003d cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3"},{"line_number":115,"context_line":"   keystone \u003d cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken keystonecontext apiv3"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"                                      ^                                                   ^"},{"line_number":118,"context_line":"   request_id generated here ---------+                                                   |"},{"line_number":119,"context_line":"   context built here --------------------------------------------------------------------+"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Nova [#f4]_"},{"line_number":122,"context_line":"~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_44a149a9","line":119,"range":{"start_line":116,"start_character":0,"end_line":119,"end_character":91},"in_reply_to":"1f013ff3_974af324","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":127,"context_line":"   use \u003d call:nova.api.auth:pipeline_factory_v21"},{"line_number":128,"context_line":"   noauth2 \u003d cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit osprofiler noauth2 osapi_compute_app_v21"},{"line_number":129,"context_line":"   keystone \u003d cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit osprofiler authtoken keystonecontext osapi_compute_app_v21"},{"line_number":130,"context_line":"                                      ^                                                       ^"},{"line_number":131,"context_line":"   request_id generated here ---------+                                                       |"},{"line_number":132,"context_line":"   context built here ------------------------------------------------------------------------+"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"oslo.middleware.request_id"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_57546bca","line":132,"range":{"start_line":130,"start_character":0,"end_line":132,"end_character":95},"updated":"2017-05-15 22:05:47.000000000","message":"Ditto","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":127,"context_line":"   use \u003d call:nova.api.auth:pipeline_factory_v21"},{"line_number":128,"context_line":"   noauth2 \u003d cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit osprofiler noauth2 osapi_compute_app_v21"},{"line_number":129,"context_line":"   keystone \u003d cors http_proxy_to_wsgi compute_req_id faultwrap sizelimit osprofiler authtoken keystonecontext osapi_compute_app_v21"},{"line_number":130,"context_line":"                                      ^                                                       ^"},{"line_number":131,"context_line":"   request_id generated here ---------+                                                       |"},{"line_number":132,"context_line":"   context built here ------------------------------------------------------------------------+"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"oslo.middleware.request_id"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_24a63dc3","line":132,"range":{"start_line":130,"start_character":0,"end_line":132,"end_character":95},"in_reply_to":"1f013ff3_57546bca","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":151,"context_line":"-------------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Fortunately for us, during the last couple of cycles, oslo.context was"},{"line_number":154,"context_line":"cleaned up mostly function by consuming environmental variables set by"},{"line_number":155,"context_line":"keystonemiddleware even if some content is passed directly. For"},{"line_number":156,"context_line":"instance in Glance the context constructor looks like [#f5]_:"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_bc4a747d","line":154,"range":{"start_line":154,"start_character":0,"end_line":154,"end_character":39},"updated":"2017-05-15 22:05:47.000000000","message":"eh?","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":151,"context_line":"-------------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Fortunately for us, during the last couple of cycles, oslo.context was"},{"line_number":154,"context_line":"cleaned up mostly function by consuming environmental variables set by"},{"line_number":155,"context_line":"keystonemiddleware even if some content is passed directly. For"},{"line_number":156,"context_line":"instance in Glance the context constructor looks like [#f5]_:"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_64c20536","line":154,"range":{"start_line":154,"start_character":0,"end_line":154,"end_character":39},"in_reply_to":"1f013ff3_bc4a747d","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":165,"context_line":"   }"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"   ctxt \u003d glance.context.RequestContext.from_environ(req.environ,"},{"line_number":168,"context_line":"                                                          **kwargs)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"This means that any validation and \"switcheroo\" magic could be done"},{"line_number":171,"context_line":"when processing the environment, which will also give us access to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_3c56642b","line":168,"range":{"start_line":168,"start_character":53,"end_line":168,"end_character":58},"updated":"2017-05-15 22:05:47.000000000","message":"nit: remove these spaces (or consolidate to previous line)","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":165,"context_line":"   }"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"   ctxt \u003d glance.context.RequestContext.from_environ(req.environ,"},{"line_number":168,"context_line":"                                                          **kwargs)"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"This means that any validation and \"switcheroo\" magic could be done"},{"line_number":171,"context_line":"when processing the environment, which will also give us access to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_44ddc912","line":168,"range":{"start_line":168,"start_character":53,"end_line":168,"end_character":58},"in_reply_to":"1f013ff3_3c56642b","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":239,"context_line":"  (size validation)"},{"line_number":240,"context_line":"* Ensure that it is not a possible code injection vector (strict"},{"line_number":241,"context_line":"  validation)"},{"line_number":242,"context_line":"* Ensure that it is can not be used in an \"I am sparticus\" flood to"},{"line_number":243,"context_line":"  obscure which requests are connected to which things (trust"},{"line_number":244,"context_line":"  validation)."},{"line_number":245,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_9c2458c8","line":242,"range":{"start_line":242,"start_character":17,"end_line":242,"end_character":19},"updated":"2017-05-15 22:05:47.000000000","message":"strike","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":239,"context_line":"  (size validation)"},{"line_number":240,"context_line":"* Ensure that it is not a possible code injection vector (strict"},{"line_number":241,"context_line":"  validation)"},{"line_number":242,"context_line":"* Ensure that it is can not be used in an \"I am sparticus\" flood to"},{"line_number":243,"context_line":"  obscure which requests are connected to which things (trust"},{"line_number":244,"context_line":"  validation)."},{"line_number":245,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_e4ebb5ad","line":242,"range":{"start_line":242,"start_character":17,"end_line":242,"end_character":19},"in_reply_to":"1f013ff3_9c2458c8","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":257,"context_line":"   Glance already accepts a user provided request-id of 64 characters"},{"line_number":258,"context_line":"   or less. This has existed there for a long time, with no reports as"},{"line_number":259,"context_line":"   to yet for abuse. We could consider dropping the last constraint"},{"line_number":260,"context_line":"   and not doing role validation."},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"Performance Impact"},{"line_number":263,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_b7260fb7","line":260,"updated":"2017-05-15 22:05:47.000000000","message":"+1.  If deemed feasible, this would make the common use case work near 100% of the time without forcing everyone to adopt the service user concept.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":287,"context_line":"Assignee(s)"},{"line_number":288,"context_line":"-----------"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Who is leading the writing of the code? Or is this a blueprint where you\u0027re"},{"line_number":291,"context_line":"throwing it out there to see who picks it up?"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"If more than one person is working on the implementation, please designate the"},{"line_number":294,"context_line":"primary author and contact."},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"Primary assignee:"},{"line_number":297,"context_line":"  sdague"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_f77a5786","line":294,"range":{"start_line":290,"start_character":0,"end_line":294,"end_character":27},"updated":"2017-05-15 22:05:47.000000000","message":"Remove boilerplate","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":287,"context_line":"Assignee(s)"},{"line_number":288,"context_line":"-----------"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"Who is leading the writing of the code? Or is this a blueprint where you\u0027re"},{"line_number":291,"context_line":"throwing it out there to see who picks it up?"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"If more than one person is working on the implementation, please designate the"},{"line_number":294,"context_line":"primary author and contact."},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"Primary assignee:"},{"line_number":297,"context_line":"  sdague"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_84f3d19e","line":294,"range":{"start_line":290,"start_character":0,"end_line":294,"end_character":27},"in_reply_to":"1f013ff3_f77a5786","updated":"2017-05-16 11:47:08.000000000","message":"Done","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"43f06c1b86d318495dc7bbc5e3c9b4c65b2f90ad","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"  This work is licensed under a Creative Commons Attribution 3.0"},{"line_number":336,"context_line":"  Unported License."},{"line_number":337,"context_line":"  http://creativecommons.org/licenses/by/3.0/legalcode"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_f79ff7b1","line":337,"updated":"2017-05-15 22:05:47.000000000","message":"Do we need a rev history section?","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"49a4f7fced7a3b118efff5da3055939f81c6dfa4","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"  This work is licensed under a Creative Commons Attribution 3.0"},{"line_number":336,"context_line":"  Unported License."},{"line_number":337,"context_line":"  http://creativecommons.org/licenses/by/3.0/legalcode"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f013ff3_e4397541","line":337,"in_reply_to":"1f013ff3_f79ff7b1","updated":"2017-05-16 11:47:08.000000000","message":"I\u0027m not sure we do with oslo.","commit_id":"033440a6c9435d71c36071fb46cf0e982d123e5c"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"0164a40c6f1c5745d5070469fe85876e64f922bf","unresolved":false,"context_lines":[{"line_number":41,"context_line":"  valid (apply some strict validation to it)"},{"line_number":42,"context_line":"- also generate a local_request_id for the purposes of tracking the"},{"line_number":43,"context_line":"  request within the service"},{"line_number":44,"context_line":"- when oslo.context is created, if the user does not have a sufficient"},{"line_number":45,"context_line":"  role (such as ``service``) reset request_id to"},{"line_number":46,"context_line":"  local_request_id. This ensures only requests made by trusted"},{"line_number":47,"context_line":"  services track across service boundaries."},{"line_number":48,"context_line":"- update oslo.log to log both global and local request ids from"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f013ff3_b695dee6","line":45,"range":{"start_line":44,"start_character":32,"end_line":45,"end_character":28},"updated":"2017-05-16 14:55:06.000000000","message":"clarification: you\u0027d be checking the role associated with the X-Service-Token, not the user\u0027s role (which is based on X-Auth-Token).","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"abbec99d467d3547361bc9257f0e24f8efef57bf","unresolved":false,"context_lines":[{"line_number":44,"context_line":"- when oslo.context is created, if the user does not have a sufficient"},{"line_number":45,"context_line":"  role (such as ``service``) reset request_id to"},{"line_number":46,"context_line":"  local_request_id. This ensures only requests made by trusted"},{"line_number":47,"context_line":"  services track across service boundaries."},{"line_number":48,"context_line":"- update oslo.log to log both global and local request ids from"},{"line_number":49,"context_line":"  context"},{"line_number":50,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f013ff3_27f4face","line":47,"updated":"2017-05-16 14:39:01.000000000","message":"okay, this makes more sense than the paragraph from your email","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"84bc202bfbbc84fb51bcacd69d1a8a8f9537224e","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"With the infrastructure above implemented it will be a small change to"},{"line_number":164,"context_line":"python clients to add the additional header when called, and the"},{"line_number":165,"context_line":"callers to pass the header value from the current context."},{"line_number":166,"context_line":""},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_8882f5c7","line":165,"updated":"2017-05-17 18:28:05.000000000","message":"The example paste configs above use different names for the middleware components that set up the request ID and context. Are they actually using the same class, or do we need to update the paste pipelines, too?","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"ddb1e4e128a9aa761bbd03d4e28d26ac1a198d7f","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"With the infrastructure above implemented it will be a small change to"},{"line_number":164,"context_line":"python clients to add the additional header when called, and the"},{"line_number":165,"context_line":"callers to pass the header value from the current context."},{"line_number":166,"context_line":""},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_8b278f65","line":165,"in_reply_to":"ff0f0b1f_8882f5c7","updated":"2017-05-17 19:15:22.000000000","message":"In most cases there is enough inheritance that it gets solved. This is mostly about the downcall.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"84bc202bfbbc84fb51bcacd69d1a8a8f9537224e","unresolved":false,"context_lines":[{"line_number":169,"context_line":"------------"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Log in the Caller"},{"line_number":172,"context_line":"~~~~~~~~~~~~~~~~~"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"There was a previous OpenStack cross project spec to completely handle"},{"line_number":175,"context_line":"this in the caller - https://review.openstack.org/#/c/156508/. That"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_084825ca","line":172,"updated":"2017-05-17 18:28:05.000000000","message":"You probably want a different underline style here, to give a different heading level. Maybe ~.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"ddb1e4e128a9aa761bbd03d4e28d26ac1a198d7f","unresolved":false,"context_lines":[{"line_number":169,"context_line":"------------"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"Log in the Caller"},{"line_number":172,"context_line":"~~~~~~~~~~~~~~~~~"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"There was a previous OpenStack cross project spec to completely handle"},{"line_number":175,"context_line":"this in the caller - https://review.openstack.org/#/c/156508/. That"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_0b6dbf97","line":172,"in_reply_to":"ff0f0b1f_084825ca","updated":"2017-05-17 19:15:22.000000000","message":"It is ~","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"84bc202bfbbc84fb51bcacd69d1a8a8f9537224e","unresolved":false,"context_lines":[{"line_number":187,"context_line":"tooling would need to be built."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"Impact on Existing APIs"},{"line_number":190,"context_line":"-----------------------"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"oslo.middleware request_id contract will change so that it accepts and"},{"line_number":193,"context_line":"inbound header, and sets a second env variable. Both are backwards"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_e844d1b9","line":190,"updated":"2017-05-17 18:28:05.000000000","message":"Ditto on format.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"0164a40c6f1c5745d5070469fe85876e64f922bf","unresolved":false,"context_lines":[{"line_number":189,"context_line":"Impact on Existing APIs"},{"line_number":190,"context_line":"-----------------------"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"oslo.middleware request_id contract will change so that it accepts and"},{"line_number":193,"context_line":"inbound header, and sets a second env variable. Both are backwards"},{"line_number":194,"context_line":"compatible."},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f013ff3_620c303b","line":192,"range":{"start_line":192,"start_character":67,"end_line":192,"end_character":70},"updated":"2017-05-16 14:55:06.000000000","message":"nit: s/and/an/","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"abbec99d467d3547361bc9257f0e24f8efef57bf","unresolved":false,"context_lines":[{"line_number":189,"context_line":"Impact on Existing APIs"},{"line_number":190,"context_line":"-----------------------"},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"oslo.middleware request_id contract will change so that it accepts and"},{"line_number":193,"context_line":"inbound header, and sets a second env variable. Both are backwards"},{"line_number":194,"context_line":"compatible."},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f013ff3_07f1fecd","line":192,"updated":"2017-05-16 14:39:01.000000000","message":"s/and/an/","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"bc6be8625cab0162886b890c750ccb42b6784d23","unresolved":false,"context_lines":[{"line_number":194,"context_line":"compatible."},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"oslo.context will accept a new local_request_id, and reset the"},{"line_number":197,"context_line":"request_id to local_request_id if it is appropriate. This requires"},{"line_number":198,"context_line":"plumbing local_request_id into all calls that take request_id. This"},{"line_number":199,"context_line":"looks fully backwards compatible."},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f013ff3_47b92fe7","line":197,"range":{"start_line":197,"start_character":31,"end_line":197,"end_character":51},"updated":"2017-05-17 06:16:18.000000000","message":"if it is NOT appropriate?\nIt is not consistent with line 44-46.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"0303f86bf42feb8a0cf2aeab7d8909c6fecd31b6","unresolved":false,"context_lines":[{"line_number":194,"context_line":"compatible."},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"oslo.context will accept a new local_request_id, and reset the"},{"line_number":197,"context_line":"request_id to local_request_id if it is appropriate. This requires"},{"line_number":198,"context_line":"plumbing local_request_id into all calls that take request_id. This"},{"line_number":199,"context_line":"looks fully backwards compatible."},{"line_number":200,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_032494c5","line":197,"range":{"start_line":197,"start_character":31,"end_line":197,"end_character":51},"in_reply_to":"1f013ff3_47b92fe7","updated":"2017-05-17 13:05:47.000000000","message":"I read this as, \"if it is appropriate to do so [i.e. appropriate to reset the request_id],\" but I can see how it could be interpreted as, \"if the request_id is appropriate,\" which would be inconsistent as you say.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"84bc202bfbbc84fb51bcacd69d1a8a8f9537224e","unresolved":false,"context_lines":[{"line_number":271,"context_line":".. note::"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"   Could definitely use help to get this through the gauntlet, there"},{"line_number":274,"context_line":"   are lots of little patches here to get right."},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"Milestones"},{"line_number":277,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_a8cb791c","line":274,"updated":"2017-05-17 18:28:05.000000000","message":"I can help with reviews.","commit_id":"97832eab101384c6f8cacd4d9a29e290482d1b11"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":48,"context_line":"---------------"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"In order to understand the flow its important to see how requests flow"},{"line_number":51,"context_line":"through the paste pipelines of services."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Neutron [#f1]_"},{"line_number":54,"context_line":"~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_4e0d053d","line":51,"updated":"2017-05-17 20:00:55.000000000","message":"This flow is far less of a confusing issue now that we\u0027ve killed the idea of auth and swapping ids around if they don\u0027t auth.\n\nIt might be sufficient to declare that the request id middleware is earlier in the stack, before logging context is established.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"47927b4afdc06910a8d1a3aada4260d9daa38e10","unresolved":false,"context_lines":[{"line_number":48,"context_line":"---------------"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"In order to understand the flow its important to see how requests flow"},{"line_number":51,"context_line":"through the paste pipelines of services."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Neutron [#f1]_"},{"line_number":54,"context_line":"~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_de802749","line":51,"in_reply_to":"ff0f0b1f_1c5ce749","updated":"2017-05-22 19:39:27.000000000","message":"+1 for keeping the info","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"408f44dca82e139256bf731af667613538fe3eba","unresolved":false,"context_lines":[{"line_number":48,"context_line":"---------------"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"In order to understand the flow its important to see how requests flow"},{"line_number":51,"context_line":"through the paste pipelines of services."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Neutron [#f1]_"},{"line_number":54,"context_line":"~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_1c5ce749","line":51,"in_reply_to":"ff0f0b1f_4e0d053d","updated":"2017-05-17 20:59:23.000000000","message":"it might be. I also feel like having gone and collected this information it is useful to keep it here as education about how all these paste flows work, especially as there might be implications if people change them in the future.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"47927b4afdc06910a8d1a3aada4260d9daa38e10","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"The returned X-OpenStack-Request-ID would be the"},{"line_number":116,"context_line":"``local_request_id``. This is like the parent process getting the"},{"line_number":117,"context_line":"child process id on a fork() call."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"oslo.context from_environ"},{"line_number":120,"context_line":"-------------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_7ee47b3c","line":117,"updated":"2017-05-22 19:39:27.000000000","message":"Given that we have a bunch of knowledge built up around the use of the term \"request id\" and that term is tied to the current behavior, I wonder if it makes sense to adopt a different term for the value that can be passed in to avoid confusion (\"The thing that used to be request id is now \u0027local request id\u0027 and the new request id is a global value\").\n\nMaybe just leave request ID as it is and call the new thing \"user request id\" or \"global request id\" to differentiate it?","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":119,"context_line":"oslo.context from_environ"},{"line_number":120,"context_line":"-------------------------"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"Fortunately for us most projects now user the oslo.context"},{"line_number":123,"context_line":"``from_environ`` constructor. This means that we can add content to"},{"line_number":124,"context_line":"the context, or adjust the context, without needed to change every"},{"line_number":125,"context_line":"project. For instance in Glance the context constructor looks like"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_d1fe5804","line":122,"updated":"2017-05-17 20:00:55.000000000","message":"use","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":121,"context_line":""},{"line_number":122,"context_line":"Fortunately for us most projects now user the oslo.context"},{"line_number":123,"context_line":"``from_environ`` constructor. This means that we can add content to"},{"line_number":124,"context_line":"the context, or adjust the context, without needed to change every"},{"line_number":125,"context_line":"project. For instance in Glance the context constructor looks like"},{"line_number":126,"context_line":"[#f5]_:"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_9108e028","line":124,"updated":"2017-05-17 20:00:55.000000000","message":"needing","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":145,"context_line":"--------"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"oslo.log would need to be changed to understand the local"},{"line_number":148,"context_line":"request_id. This is actually very straight forward once it exists in"},{"line_number":149,"context_line":"the context object."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"projects and clients"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_310fd42f","line":148,"updated":"2017-05-17 20:00:55.000000000","message":"s/actually very//","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":154,"context_line":"With the infrastructure above implemented it will be a small change to"},{"line_number":155,"context_line":"python clients to add the additional header when called, and the"},{"line_number":156,"context_line":"callers to pass the header value from the current context. For"},{"line_number":157,"context_line":"instance, Nova calling Neutron [#f6]_:"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":".. code-block:: python"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_3138f4d1","line":157,"updated":"2017-05-17 20:00:55.000000000","message":"Since this code sample doesn\u0027t actually show an example of the headers being adjusted, it doesn\u0027t really add very much value for the reader. It might be simpler to state that the context will be passed when constructing clients and clients will need to use the context as a source of header info.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"d25a12287f1c8755b54483f8579b860177f9743a","unresolved":false,"context_lines":[{"line_number":154,"context_line":"With the infrastructure above implemented it will be a small change to"},{"line_number":155,"context_line":"python clients to add the additional header when called, and the"},{"line_number":156,"context_line":"callers to pass the header value from the current context. For"},{"line_number":157,"context_line":"instance, Nova calling Neutron [#f6]_:"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":".. code-block:: python"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_fc75b3fb","line":157,"in_reply_to":"ff0f0b1f_3138f4d1","updated":"2017-05-17 20:57:13.000000000","message":"maybe, doug\u0027s last comment seemed to be confused about paste adjustments vs. caller adjustments.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"fafb46a5c37f0c965ad645fb54bfc61c9b1f92f1","unresolved":false,"context_lines":[{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Neutron client would need to be modified to be able to take the"},{"line_number":202,"context_line":"request_id on each function call, and then Nova will need to pass it"},{"line_number":203,"context_line":"on every call."},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Alternatives"},{"line_number":206,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_ee5059d7","line":203,"updated":"2017-05-17 19:25:51.000000000","message":"Why not just have neutron client get it from the global context through oslo.context?","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"47927b4afdc06910a8d1a3aada4260d9daa38e10","unresolved":false,"context_lines":[{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Neutron client would need to be modified to be able to take the"},{"line_number":202,"context_line":"request_id on each function call, and then Nova will need to pass it"},{"line_number":203,"context_line":"on every call."},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Alternatives"},{"line_number":206,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_7e00fbab","line":203,"in_reply_to":"ff0f0b1f_7cb76388","updated":"2017-05-22 19:39:27.000000000","message":"Why can\u0027t the client look at the current context every time it makes a request?","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"5c3dcb05aa9763b0609a4be48a41bbb708fcdd52","unresolved":false,"context_lines":[{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Neutron client would need to be modified to be able to take the"},{"line_number":202,"context_line":"request_id on each function call, and then Nova will need to pass it"},{"line_number":203,"context_line":"on every call."},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Alternatives"},{"line_number":206,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_ad1e52b8","line":203,"in_reply_to":"ff0f0b1f_7e00fbab","updated":"2017-05-23 11:07:13.000000000","message":"The calling code just doesn\u0027t work that way. We don\u0027t build a client from a context, really.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"d25a12287f1c8755b54483f8579b860177f9743a","unresolved":false,"context_lines":[{"line_number":200,"context_line":""},{"line_number":201,"context_line":"Neutron client would need to be modified to be able to take the"},{"line_number":202,"context_line":"request_id on each function call, and then Nova will need to pass it"},{"line_number":203,"context_line":"on every call."},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"Alternatives"},{"line_number":206,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_7cb76388","line":203,"in_reply_to":"ff0f0b1f_ee5059d7","updated":"2017-05-17 20:57:13.000000000","message":"Because clients might be long lived (some times they are, like in periodic jobs), and the constructor doesn\u0027t take a context directly (they expect keystone auth). \n\nYou really want to pass it per request.","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":229,"context_line":"A long time ago, in a galaxy far far away, in a summit room I was not"},{"line_number":230,"context_line":"in, I was told there was a concern about clients flooding this"},{"line_number":231,"context_line":"field. There has been no documented attack that seems feasable here if"},{"line_number":232,"context_line":"we strict validate the inbound data."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"There is a way we could use Service roles to validate trust here, but"},{"line_number":235,"context_line":"without a compelling case for why that is needed, we should do the"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_715b0c2e","line":232,"updated":"2017-05-17 20:00:55.000000000","message":"strictly","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3792f934180901c6601eca8e622bb693da4c18c3","unresolved":false,"context_lines":[{"line_number":261,"context_line":"Impact on Existing APIs"},{"line_number":262,"context_line":"-----------------------"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"oslo.middleware request_id contract will change so that it accepts and"},{"line_number":265,"context_line":"inbound header, and sets a second env variable. Both are backwards"},{"line_number":266,"context_line":"compatible."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff0f0b1f_916fc0c4","line":264,"updated":"2017-05-17 20:00:55.000000000","message":"an","commit_id":"f49d5ba2155aed592db0b07232ac32d2da317532"},{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"fd171f2dc98fd126179003c1a5e09016cf3c39f7","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Neutron and Glance (and possibly other services) to create a server on"},{"line_number":25,"context_line":"the network."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"It is extremely common for clouds to have an ELK (Elastic Search,"},{"line_number":28,"context_line":"Logstash, Kibana) infrastructure that is consuming their logs. The"},{"line_number":29,"context_line":"only way to query these flows is if there is a common identifier"},{"line_number":30,"context_line":"across all relevant messages. A global request-id immediately makes"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_c84b4d5d","line":27,"updated":"2017-05-26 00:50:24.000000000","message":"s/Elastic Search/Elasticsearch/","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"change_message_id":"e72d745c3887159e0b0e4f8ec4337d6102f88a38","unresolved":false,"context_lines":[{"line_number":37,"context_line":"later):"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"- accept an inbound X-OpenStack-Request-ID header on requests. Require"},{"line_number":40,"context_line":"  that it looks like a uuid to prevent injection issues. Set this to"},{"line_number":41,"context_line":"  the value of ``global_request_id``"},{"line_number":42,"context_line":"- Keep the auto generated existing request_id"},{"line_number":43,"context_line":"- update oslo.log to default also log ``global_request_id`` when it is"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_f4b52333","line":40,"updated":"2017-05-23 19:19:56.000000000","message":"uuid (with lower case alphanumeric)","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"fd171f2dc98fd126179003c1a5e09016cf3c39f7","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  that it looks like a uuid to prevent injection issues. Set this to"},{"line_number":41,"context_line":"  the value of ``global_request_id``"},{"line_number":42,"context_line":"- Keep the auto generated existing request_id"},{"line_number":43,"context_line":"- update oslo.log to default also log ``global_request_id`` when it is"},{"line_number":44,"context_line":"  in a context logging mode."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_c8746d9f","line":43,"updated":"2017-05-26 00:50:24.000000000","message":"Perhaps word it as, \"update oslo.log to also log by default the ``global_request_id`` when it is in a context logging mode\".","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"71d934b39dcb01d63e514322d9d2f074dfefea02","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"The processing of incoming requests happens piecemeal through the set"},{"line_number":51,"context_line":"of paste pipelines. These are mostly common between projects, but"},{"line_number":52,"context_line":"there are enough local variation to highlight what this looks like for"},{"line_number":53,"context_line":"the base IaaS services, which will be the initial targets of this spec."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Neutron [#f1]_"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_976a74ea","line":52,"range":{"start_line":52,"start_character":23,"end_line":52,"end_character":32},"updated":"2017-05-23 15:07:24.000000000","message":"variations","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"71d934b39dcb01d63e514322d9d2f074dfefea02","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"oslo.log defaults should include ``global_request_id`` during context"},{"line_number":150,"context_line":"logging. This is something which can be done late, as users can always"},{"line_number":151,"context_line":"override there context logging string format."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"projects and clients"},{"line_number":154,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_177e64ae","line":151,"range":{"start_line":151,"start_character":9,"end_line":151,"end_character":14},"updated":"2017-05-23 15:07:24.000000000","message":"their","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"fd171f2dc98fd126179003c1a5e09016cf3c39f7","unresolved":false,"context_lines":[{"line_number":228,"context_line":"It also requires some standard convention for writing these things out"},{"line_number":229,"context_line":"to logs on the caller side that is consistent between all services."},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"It also **does not** allow people to use Elastic Search to trace their"},{"line_number":232,"context_line":"logs (which all large sites have running). A custom piece of analysis"},{"line_number":233,"context_line":"tooling would need to be built."},{"line_number":234,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_88caf59e","line":231,"updated":"2017-05-26 00:50:24.000000000","message":"s/Elastic Search/Elasticsearch/","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"fd171f2dc98fd126179003c1a5e09016cf3c39f7","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"It also **does not** allow people to use Elastic Search to trace their"},{"line_number":232,"context_line":"logs (which all large sites have running). A custom piece of analysis"},{"line_number":233,"context_line":"tooling would need to be built."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"Verify trust in callers"},{"line_number":236,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_08bee5fe","line":233,"updated":"2017-05-26 00:50:24.000000000","message":"Is the custom piece of analysis tooling required a result of the issues listed on lines 224 - 229?","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"71d934b39dcb01d63e514322d9d2f074dfefea02","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"For reference Glance already accepts a user provided request-id of 64"},{"line_number":248,"context_line":"characters or less. This has existed there for a long time, with no"},{"line_number":249,"context_line":"reports as to yet for abuse. We could consider dropping the last"},{"line_number":250,"context_line":"constraint and not doing role validation."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_97115460","line":249,"range":{"start_line":249,"start_character":11,"end_line":249,"end_character":13},"updated":"2017-05-23 15:07:24.000000000","message":"strike","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"71d934b39dcb01d63e514322d9d2f074dfefea02","unresolved":false,"context_lines":[{"line_number":253,"context_line":"Swift multipart transaction id"},{"line_number":254,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":"Swift has a related approach where their transaction id, which is a"},{"line_number":257,"context_line":"multipart id that includes a piece generated by the server on inbound"},{"line_number":258,"context_line":"request, a timestamp piece, a fixed server piece (for tracking"},{"line_number":259,"context_line":"multiple clusters), and a user provided piece. Swift is not currently"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ff0f0b1f_da77f39f","line":256,"range":{"start_line":256,"start_character":55,"end_line":256,"end_character":62},"updated":"2017-05-23 15:07:24.000000000","message":"strike","commit_id":"70a11a49212cf1679420c058db01970fc04ef7cb"}]}
