<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/nova.git/nova/api/compute_req_id.py, branch master</title>
<subtitle>opendev.org: openstack/nova.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/'/>
<entry>
<title>Migrate to oslo request_id middleware - mv 2.46</title>
<updated>2017-05-27T10:11:44+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sean@dague.net</email>
</author>
<published>2017-05-25T11:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=99c690f57e92c9e157113b58ccb85d6b1f0f70f5'/>
<id>99c690f57e92c9e157113b58ccb85d6b1f0f70f5</id>
<content type='text'>
In order to support cross project request_id tracking, we need to be
on oslo.middleware for request_id. This makes that change now that
oslo middleware can support compat headers.

api-ref is not updated yet because x-compute-request-id was apparently
never documented there, and the timing on landing this is narrow
because the moment a requirements update happens we'll have this new
behavior.

Part of bp:oslo-middleware-request-id

Change-Id: I4d9f91b01de12cd0a676fc649953f98473b6b416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to support cross project request_id tracking, we need to be
on oslo.middleware for request_id. This makes that change now that
oslo middleware can support compat headers.

api-ref is not updated yet because x-compute-request-id was apparently
never documented there, and the timing on landing this is narrow
because the moment a requirements update happens we'll have this new
behavior.

Part of bp:oslo-middleware-request-id

Change-Id: I4d9f91b01de12cd0a676fc649953f98473b6b416
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove 'v3' from comments in Nova API code</title>
<updated>2015-09-14T14:10:58+00:00</updated>
<author>
<name>He Jie Xu</name>
<email>hejie.xu@intel.com</email>
</author>
<published>2015-09-14T11:48:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=9807af60159b5032ca31a20d92c398d7928b5b40'/>
<id>9807af60159b5032ca31a20d92c398d7928b5b40</id>
<content type='text'>
This patch cleans up 'v3' in the comments, by replacing 'v3' with 'v2.1'.

Co-Authored-By: Ed Leafe &lt;ed@leafe.com&gt;
Partial-Bug: #1462901
Change-Id: Ia665115e4c8c94b8d7557060201469ea10673558
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch cleans up 'v3' in the comments, by replacing 'v3' with 'v2.1'.

Co-Authored-By: Ed Leafe &lt;ed@leafe.com&gt;
Partial-Bug: #1462901
Change-Id: Ia665115e4c8c94b8d7557060201469ea10673558
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace oslo-incubator with oslo_context</title>
<updated>2015-02-13T19:42:15+00:00</updated>
<author>
<name>Tomofumi Hayashi</name>
<email>s1061123@gmail.com</email>
</author>
<published>2015-02-13T19:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=24fd271994907f669ad9f38e7c1de5bc0ce6c52a'/>
<id>24fd271994907f669ad9f38e7c1de5bc0ce6c52a</id>
<content type='text'>
openstack.common.context is currently moved out of the incubator
to a standalone project, hence replace it with oslo_context in nova.

Change-Id: I6cbf5d719f33072a5a871c250760512a439a7daf
Closes-Bug: #1210261
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
openstack.common.context is currently moved out of the incubator
to a standalone project, hence replace it with oslo_context in nova.

Change-Id: I6cbf5d719f33072a5a871c250760512a439a7daf
Closes-Bug: #1210261
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to using oslo_* instead of oslo.*</title>
<updated>2015-02-06T11:03:10+00:00</updated>
<author>
<name>Davanum Srinivas</name>
<email>dims@linux.vnet.ibm.com</email>
</author>
<published>2015-01-11T03:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=af2d6c9576b1ac5f3b3768870bb15d9b5cf1610b'/>
<id>af2d6c9576b1ac5f3b3768870bb15d9b5cf1610b</id>
<content type='text'>
The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries. Updating the hacking
rule to include a check to prevent oslo.* import from
creeping back in.

This commit includes:
- using oslo_utils instead of oslo.utils
- using oslo_serialization instead of oslo.serialization
- using oslo_db instead of oslo.db
- using oslo_i18n instead of oslo.i18n
- using oslo_middleware instead of oslo.middleware
- using oslo_config instead of oslo.config
- using oslo_messaging instead of "from oslo import messaging"
- using oslo_vmware instead of oslo.vmware

Change-Id: I3e2eb147b321ce3e928817b62abcb7d023c5f13f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries. Updating the hacking
rule to include a check to prevent oslo.* import from
creeping back in.

This commit includes:
- using oslo_utils instead of oslo.utils
- using oslo_serialization instead of oslo.serialization
- using oslo_db instead of oslo.db
- using oslo_i18n instead of oslo.i18n
- using oslo_middleware instead of oslo.middleware
- using oslo_config instead of oslo.config
- using oslo_messaging instead of "from oslo import messaging"
- using oslo_vmware instead of oslo.vmware

Change-Id: I3e2eb147b321ce3e928817b62abcb7d023c5f13f
</pre>
</div>
</content>
</entry>
<entry>
<title>Use oslo.middleware</title>
<updated>2014-10-30T22:27:20+00:00</updated>
<author>
<name>Eugeniya Kudryashova</name>
<email>ekudryashova@mirantis.com</email>
</author>
<published>2014-10-24T12:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=4e63a3b34dbfdfd25ad573d1d94baf6eb28cba51'/>
<id>4e63a3b34dbfdfd25ad573d1d94baf6eb28cba51</id>
<content type='text'>
Remove outdated code and replace its usages by usages of oslo.middleware
library

Sync latest request_id middleware from oslo-incubator(only to allow
grenade jobs pass)

4ffc4c8 Add middleware.request_id shim for Kilo
4504e4f Remove middleware

Co-Authored-By: Abhishek Chanda &lt;abhishek@cloudscaling.com&gt;
Co-Authored-By: Davanum Srinivas &lt;dims@linux.vnet.ibm.com&gt;

Change-Id: I89ef3df1b8d3b2c6e391d04e89e35f2ee974a3cc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove outdated code and replace its usages by usages of oslo.middleware
library

Sync latest request_id middleware from oslo-incubator(only to allow
grenade jobs pass)

4ffc4c8 Add middleware.request_id shim for Kilo
4504e4f Remove middleware

Co-Authored-By: Abhishek Chanda &lt;abhishek@cloudscaling.com&gt;
Co-Authored-By: Davanum Srinivas &lt;dims@linux.vnet.ibm.com&gt;

Change-Id: I89ef3df1b8d3b2c6e391d04e89e35f2ee974a3cc
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Replace outdated oslo-incubator middleware"</title>
<updated>2014-10-21T15:00:29+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>joe.gordon0@gmail.com</email>
</author>
<published>2014-10-21T14:51:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=7f7cfc2dc6baa53adbea431aba840cd88eea8040'/>
<id>7f7cfc2dc6baa53adbea431aba840cd88eea8040</id>
<content type='text'>
This is breaking the Juno -&gt; master grenade path. As we are using the old
api-paste.ini file which requires the oslo-incubator copy of request_id

This breakage didn't happen from Icehouse -&gt; master since the icehouse
api-paste.ini didn't have request_id as a middleware. request_id is only
used as middleware in the V21/V3 API and not the V2 API.

Closes-Bug: #1383757
This reverts commit 641de5666f38532252e91735a1cd2611d96c489a.

Change-Id: I1ca6bddf9d9370529e999efcc7eae60622e19e6f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is breaking the Juno -&gt; master grenade path. As we are using the old
api-paste.ini file which requires the oslo-incubator copy of request_id

This breakage didn't happen from Icehouse -&gt; master since the icehouse
api-paste.ini didn't have request_id as a middleware. request_id is only
used as middleware in the V21/V3 API and not the V2 API.

Closes-Bug: #1383757
This reverts commit 641de5666f38532252e91735a1cd2611d96c489a.

Change-Id: I1ca6bddf9d9370529e999efcc7eae60622e19e6f
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace outdated oslo-incubator middleware</title>
<updated>2014-10-15T14:48:40+00:00</updated>
<author>
<name>Abhishek Chanda</name>
<email>abhishek@cloudscaling.com</email>
</author>
<published>2014-10-08T22:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=641de5666f38532252e91735a1cd2611d96c489a'/>
<id>641de5666f38532252e91735a1cd2611d96c489a</id>
<content type='text'>
It has graduated to oslo-middleware

DocImpact

Change-Id: I6dbf77ee56b8008ed286e1b7c367a8a94f005498
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It has graduated to oslo-middleware

DocImpact

Change-Id: I6dbf77ee56b8008ed286e1b7c367a8a94f005498
</pre>
</div>
</content>
</entry>
<entry>
<title>Add x-openstack-request-id to nova v3 responses</title>
<updated>2014-04-28T21:03:38+00:00</updated>
<author>
<name>Chris Buccella</name>
<email>buccella@linux.vnet.ibm.com</email>
</author>
<published>2014-01-15T06:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/nova.git/commit/?id=49d83e356afd6197fc95277f0d18723bdfa11652'/>
<id>49d83e356afd6197fc95277f0d18723bdfa11652</id>
<content type='text'>
x-openstack-request-id is the common header name for request ID going
forward. Nova, cinder, and neutron return this header. Using the
request_id middleware is a convenient way to ensure this header is in
the response. We will also be using the middleware to generate the
request ID.

The ID will be generated by the middleware and is inserted into the
request environment. The current code generates the request ID in the
constructor of RequestContext; with this change, the ID is generated
beforehand and passed in to the RequestContext constructor. Not much
different here: a request ID is generated and is available for use in
the handling of the request.

On the response end, the middleware is again used, this time to
attach the x-openstack-request-id header, using the value of the
generated request ID.

For v3, we will be using the request_id middleware provided in oslo.
For v2, nova-specific middleware (compute_request_id.py) is used.
Therefore, v3 responses will have the header x-openstack-request-id,
and v2 responses will have the header x-compute-request-id (no
change). It is necessary to move the existing code out into
middleware, so that the old header is not attached to v3 responses.

UpgradeImpact: api-paste.ini is modified

DocImpact: v3 responses of the API will only include x-openstack-request-id

Implements: blueprint cross-service-request-id
Change-Id: I5e370fd3de5ee2f8a8d13553015d88910ff5ea87
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
x-openstack-request-id is the common header name for request ID going
forward. Nova, cinder, and neutron return this header. Using the
request_id middleware is a convenient way to ensure this header is in
the response. We will also be using the middleware to generate the
request ID.

The ID will be generated by the middleware and is inserted into the
request environment. The current code generates the request ID in the
constructor of RequestContext; with this change, the ID is generated
beforehand and passed in to the RequestContext constructor. Not much
different here: a request ID is generated and is available for use in
the handling of the request.

On the response end, the middleware is again used, this time to
attach the x-openstack-request-id header, using the value of the
generated request ID.

For v3, we will be using the request_id middleware provided in oslo.
For v2, nova-specific middleware (compute_request_id.py) is used.
Therefore, v3 responses will have the header x-openstack-request-id,
and v2 responses will have the header x-compute-request-id (no
change). It is necessary to move the existing code out into
middleware, so that the old header is not attached to v3 responses.

UpgradeImpact: api-paste.ini is modified

DocImpact: v3 responses of the API will only include x-openstack-request-id

Implements: blueprint cross-service-request-id
Change-Id: I5e370fd3de5ee2f8a8d13553015d88910ff5ea87
</pre>
</div>
</content>
</entry>
</feed>
