diff options
author | Samuel Munilla <smunilla@redhat.com> | 2016-09-14 14:15:11 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-09-14 14:19:02 -0400 |
commit | 522a069d21b6557821bd85aa77ecfee43cf7c549 (patch) | |
tree | e771a0d7939a41c3d9d63a7b98a2ff5146afb69f /utils | |
parent | 872aafbe7a65388c473d125095ae60fc9ae915a4 (diff) | |
download | openshift-522a069d21b6557821bd85aa77ecfee43cf7c549.tar.gz openshift-522a069d21b6557821bd85aa77ecfee43cf7c549.tar.bz2 openshift-522a069d21b6557821bd85aa77ecfee43cf7c549.tar.xz openshift-522a069d21b6557821bd85aa77ecfee43cf7c549.zip |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/src/ooinstall/cli_installer.py | 2 |
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: |