Authenticate with cinder v3 endpoint by default

The v3 endpoint has been supported by the charms since Pike,
and the V2 endpoint was removed in Xena, therefore it makes
to use the v3 endpoint by default at this point.
This commit is contained in:
Corey Bryant
2021-11-22 09:11:07 -05:00
parent c9834315f9
commit 1eaa2233c1

View File

@@ -407,7 +407,7 @@ def get_heat_session_client(session, version=1):
return heatclient.Client(session=session, version=version)
def get_cinder_session_client(session, version=2):
def get_cinder_session_client(session, version=3):
"""Return cinderclient authenticated by keystone session.
:param session: Keystone session object