From 5959c93436ec38c1fb513adfbccaf0c9ede542c1 Mon Sep 17 00:00:00 2001 From: Benjamin Diaz Date: Tue, 4 Jun 2019 10:55:18 -0300 Subject: [PATCH] Changes openstack vim status check to use nova to allow non admin users in config Change-Id: I1cdfeac879580a61e0211e869785c737763cd310 Signed-off-by: Benjamin Diaz --- 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 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!") -- 2.25.1