commit | 86c84cc697838753816b3dec26e231b5d383e85d | [log] [tgz] |
---|---|---|
author | kairat_kushaev <kkushaev@mirantis.com> | Thu Jul 05 16:24:53 2018 +0400 |
committer | Kairat Kushaev <kkushaev@mirantis.com> | Thu Jul 05 12:36:01 2018 +0000 |
tree | 135bdc5eba7c903c87a5e682f7fb663da70b3ae5 | |
parent | a23bc6e3d7176c5f0869bf4e6b20d4202315eed4 [diff] |
remove explicit version specification from cinder formula We don't need to specify version explicitly, it is extracted from service url, before queens it had not led to any problems but since [1] has been merged we need to delete explicit specification. 1. https://github.com/openstack/os-client-config/commit/b2f7ceadb1a99bd0f5fb17b9298c6f962414aa9f Change-Id: I3e153c7fccfb7972a6385757fda459fe46f2bc15
diff --git a/_modules/cinderv3/common.py b/_modules/cinderv3/common.py index 93477a3..a7e6220 100644 --- a/_modules/cinderv3/common.py +++ b/_modules/cinderv3/common.py
@@ -15,7 +15,6 @@ config = os_client_config.OpenStackConfig() cloud = config.get_one_cloud(cloud_name) adapter = cloud.get_session_client(SERVICE_KEY) - adapter.version = '3' try: access_info = adapter.session.auth.get_access(adapter.session) endpoints = access_info.service_catalog.get_endpoints()