From: beierlm Date: Thu, 20 Jan 2022 02:08:16 +0000 (-0500) Subject: Bug 1842: LTS Support X-Git-Tag: v12.0.0rc1~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d655ca05116081f8d7dfdebd0df81ff5d9bce58d;p=osm%2FMON.git Bug 1842: LTS Support Update Cinder client to version 3 as required by python update Change-Id: I93f20cff9413ca8518ae5ef57a395f45607a67c7 Signed-off-by: beierlm --- 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)