Merge "Send context.global_id on neutron calls"
This commit is contained in:
commit
968033d9da
|
@ -178,7 +178,7 @@ def get_client(context, admin=False):
|
|||
session = _get_session()
|
||||
client_args = dict(session=session,
|
||||
auth=auth_plugin,
|
||||
global_request_id=context.global_request_id)
|
||||
global_request_id=context.global_id)
|
||||
|
||||
if CONF.neutron.url:
|
||||
# TODO(efried): Remove in Rocky
|
||||
|
|
|
@ -139,6 +139,9 @@ class TestNeutronClient(test.NoDBTestCase):
|
|||
self.assertEqual(['internal', 'public'], cl.httpclient.interface)
|
||||
self.assertIsNone(cl.httpclient.region_name)
|
||||
self.assertIsNone(cl.httpclient.endpoint_override)
|
||||
self.assertIsNotNone(cl.httpclient.global_request_id)
|
||||
self.assertEqual(my_context.global_id,
|
||||
cl.httpclient.global_request_id)
|
||||
|
||||
def test_ksa_adapter_loading(self):
|
||||
"""Test ksa loading path with specified values."""
|
||||
|
|
Loading…
Reference in New Issue