Send request_id on cinder calls
This changes the constructor so that cinder calls will carry forward the request_id to the cinder service. ``global_id`` is a magic property on new oslo.context which is either set to the global_request_id sent into Nova, or the local request id if it's not set. Depends-On: I527026c1c685e5156c410a2b84b2c19cebc71a49 oslo spec I65de8261746b25d45e105394f4eeb95b9cb3bd42 Change-Id: Ic5ee9161cd1174a2dd32b7f155194a7110cc5219
This commit is contained in:
parent
0d3003405d
commit
5d3a533b47
@ -102,6 +102,7 @@ def cinderclient(context):
|
||||
auth=auth,
|
||||
endpoint_override=endpoint_override,
|
||||
connect_retries=CONF.cinder.http_retries,
|
||||
global_request_id=context.global_id,
|
||||
**service_parameters)
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ Babel!=2.4.0,>=2.3.4 # BSD
|
||||
enum34;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
|
||||
iso8601>=0.1.11 # MIT
|
||||
jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
|
||||
python-cinderclient>=2.0.1 # Apache-2.0
|
||||
python-cinderclient>=2.1.0 # Apache-2.0
|
||||
keystoneauth1>=2.20.0 # Apache-2.0
|
||||
python-neutronclient>=5.1.0 # Apache-2.0
|
||||
python-glanceclient>=2.5.0 # Apache-2.0
|
||||
@ -36,7 +36,7 @@ websockify>=0.8.0 # LGPLv3
|
||||
oslo.cache>=1.5.0 # Apache-2.0
|
||||
oslo.concurrency>=3.8.0 # Apache-2.0
|
||||
oslo.config>=3.22.0 # Apache-2.0
|
||||
oslo.context>=2.12.0 # Apache-2.0
|
||||
oslo.context>=2.14.0 # Apache-2.0
|
||||
oslo.log>=3.22.0 # Apache-2.0
|
||||
oslo.reports>=0.6.0 # Apache-2.0
|
||||
oslo.serialization>=1.10.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user