summaryrefslogtreecommitdiff
path: root/nova/volume
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2017-05-26 06:46:00 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2017-05-26 09:36:47 -0400
commit5d3a533b47975348dc7a6414083aa1412c285250 (patch)
tree633bfef3859f30b907ceb02e687432787360264e /nova/volume
parent0d3003405da2b5eaae2e3b1cdda7afb49ac7be18 (diff)
downloadnova-5d3a533b47975348dc7a6414083aa1412c285250.tar.gz
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
Diffstat (limited to 'nova/volume')
-rw-r--r--nova/volume/cinder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py
index c374680ecc..c5469ed359 100644
--- a/nova/volume/cinder.py
+++ b/nova/volume/cinder.py
@@ -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)