From 9767ddfb17669b917b43466cfc67fe3e306383b2 Mon Sep 17 00:00:00 2001 From: pengdake <19921207pq@gmail.com> Date: Fri, 26 Aug 2016 15:59:58 +0800 Subject: [PATCH] [tools][doctor][cls] redmine 7710 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 通过只返回一个controller节点的关于集群检测信息,达到减少重复的检测信息的目的 Signed-off-by: pengdake <19921207pq@gmail.com> --- eayunstack_tools/doctor/cls_func.py | 1 + 1 file changed, 1 insertion(+) diff --git a/eayunstack_tools/doctor/cls_func.py b/eayunstack_tools/doctor/cls_func.py index 2321e18..71a404e 100644 --- a/eayunstack_tools/doctor/cls_func.py +++ b/eayunstack_tools/doctor/cls_func.py @@ -119,6 +119,7 @@ def check_all_nodes(check_obj): result = run_doctor_on_nodes(nodes, check_cmd) for res in result: LOG.info(res, remote=True) + break def get_crm_resource_list(): resource_list = []