diff --git a/cinderclient/client.py b/cinderclient/client.py index 75cd210b6..92a119f4e 100644 --- a/cinderclient/client.py +++ b/cinderclient/client.py @@ -478,7 +478,8 @@ def _construct_http_client(username=None, password=None, project_id=None, auth=None, **kwargs): - if session: + # Don't use sessions if third party plugin is used + if session and not auth_plugin: kwargs.setdefault('user_agent', 'python-cinderclient') kwargs.setdefault('interface', endpoint_type) return SessionClient(session=session,