From 1eaa2233c11f04aebd1535f1a58ceca3e5cf6bab Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Mon, 22 Nov 2021 09:11:07 -0500 Subject: [PATCH] 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. --- zaza/openstack/utilities/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/utilities/openstack.py b/zaza/openstack/utilities/openstack.py index d34f838..5359992 100644 --- a/zaza/openstack/utilities/openstack.py +++ b/zaza/openstack/utilities/openstack.py @@ -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