From 522a069d21b6557821bd85aa77ecfee43cf7c549 Mon Sep 17 00:00:00 2001 From: Samuel Munilla Date: Wed, 14 Sep 2016 14:15:11 -0400 Subject: a-o-i: Don't set unschedulable nodes as infra Make sure we don't set an unschedulable node as infra as that can cause problems. Fixes: Bug 1375946 --- utils/src/ooinstall/cli_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py index dd17fbf89..2ec2b4137 100644 --- a/utils/src/ooinstall/cli_installer.py +++ b/utils/src/ooinstall/cli_installer.py @@ -791,7 +791,7 @@ def set_infra_nodes(hosts): if all(host.is_master() for host in hosts): infra_list = hosts else: - nodes_list = [host for host in hosts if host.is_node()] + nodes_list = [host for host in hosts if host.is_schedulable_node(hosts)] infra_list = nodes_list[:2] for host in infra_list: -- cgit v1.2.3