From: Benjamin Diaz Date: Tue, 4 Jun 2019 13:55:18 +0000 (-0300) Subject: Changes openstack vim status check to use nova to allow non admin users in config X-Git-Tag: v6.0.0~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=5959c93436ec38c1fb513adfbccaf0c9ede542c1;p=osm%2FMON.git Changes openstack vim status check to use nova to allow non admin users in config Change-Id: I1cdfeac879580a61e0211e869785c737763cd310 Signed-off-by: Benjamin Diaz --- diff --git a/osm_mon/collector/infra_collectors/base_osinfra.py b/osm_mon/collector/infra_collectors/base_osinfra.py index 278cc20..afbf245 100644 --- a/osm_mon/collector/infra_collectors/base_osinfra.py +++ b/osm_mon/collector/infra_collectors/base_osinfra.py @@ -76,7 +76,7 @@ class BaseOpenStackInfraCollector(BaseVimInfraCollector): def is_vim_ok(self) -> bool: try: - self.keystone.projects.list() + self.nova.servers.list() return True except Exception: log.exception("VIM status is not OK!")