summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-15 10:42:39 -0400
committerGitHub <noreply@github.com>2016-09-15 10:42:39 -0400
commit96fea5213069ffa702bde29f35dbc3da40fc0863 (patch)
tree45a912390c8d9b24915bd1d7f188a66556e64f31 /utils/src
parent5156f9e248374b8ca9f8f16f66e99429dd40a193 (diff)
parent522a069d21b6557821bd85aa77ecfee43cf7c549 (diff)
downloadopenshift-96fea5213069ffa702bde29f35dbc3da40fc0863.tar.gz
openshift-96fea5213069ffa702bde29f35dbc3da40fc0863.tar.bz2
openshift-96fea5213069ffa702bde29f35dbc3da40fc0863.tar.xz
openshift-96fea5213069ffa702bde29f35dbc3da40fc0863.zip
Merge pull request #2451 from smunilla/BZ1375946
a-o-i: Don't set unschedulable nodes as infra
Diffstat (limited to 'utils/src')
-rw-r--r--utils/src/ooinstall/cli_installer.py2
1 files changed, 1 insertions, 1 deletions
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: