Use keystone_session in _get_raw_client

We're bypassing our local session object when we construct the adapter
and instead getting a raw one from occ. This becomes aparent when we try
to do things to our local one and they don't show up in the one used by
the adapter.

Change-Id: I91673527ebe1e1446dfc6efb8c495694a4a65c6b
This commit is contained in:
Monty Taylor
2017-04-13 09:06:39 -05:00
parent d5982e8ffd
commit 9cd5bf9004

View File

@@ -353,7 +353,7 @@ class OpenStackCloud(_normalize.Normalizer):
def _get_raw_client(self, service_key):
return _adapter.ShadeAdapter(
manager=self.manager,
session=self.cloud_config.get_session(),
session=self.keystone_session,
service_type=self.cloud_config.get_service_type(service_key),
service_name=self.cloud_config.get_service_name(service_key),
interface=self.cloud_config.get_interface(service_key),