Bug 1842: LTS Support 34/11534/1
authorbeierlm <mark.beierl@canonical.com>
Thu, 20 Jan 2022 02:08:16 +0000 (21:08 -0500)
committerbeierlm <mark.beierl@canonical.com>
Thu, 20 Jan 2022 02:08:16 +0000 (21:08 -0500)
Update Cinder client to version 3 as required by
python update

Change-Id: I93f20cff9413ca8518ae5ef57a395f45607a67c7
Signed-off-by: beierlm <mark.beierl@canonical.com>
osm_mon/collector/infra_collectors/base_osinfra.py

index 74ad095..7ea453d 100644 (file)
@@ -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)