From d655ca05116081f8d7dfdebd0df81ff5d9bce58d Mon Sep 17 00:00:00 2001 From: beierlm Date: Wed, 19 Jan 2022 21:08:16 -0500 Subject: [PATCH] Bug 1842: LTS Support Update Cinder client to version 3 as required by python update Change-Id: I93f20cff9413ca8518ae5ef57a395f45607a67c7 Signed-off-by: beierlm --- osm_mon/collector/infra_collectors/base_osinfra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_mon/collector/infra_collectors/base_osinfra.py b/osm_mon/collector/infra_collectors/base_osinfra.py index 74ad095..7ea453d 100644 --- a/osm_mon/collector/infra_collectors/base_osinfra.py +++ b/osm_mon/collector/infra_collectors/base_osinfra.py @@ -181,7 +181,7 @@ class BaseOpenStackInfraCollector(BaseVimInfraCollector): def _build_cinder_client(self, vim_account: dict) -> cinder_client.Client: sess = OpenstackUtils.get_session(vim_account) - return cinder_client.Client("2", session=sess, timeout=10) + return cinder_client.Client("3", session=sess, timeout=10) def _build_neutron_client(self, vim_account: dict) -> tuple: sess = OpenstackUtils.get_session(vim_account) -- 2.25.1