Skip to content

Commit

Permalink
a-o-i: Don't set unschedulable nodes as infra
Browse files Browse the repository at this point in the history
Make sure we don't set an unschedulable node as infra as that can cause problems.

Fixes: Bug 1375946
  • Loading branch information
smunilla committed Sep 14, 2016
1 parent 872aafb commit 522a069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/ooinstall/cli_installer.py
Expand Up @@ -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:
Expand Down

0 comments on commit 522a069

Please sign in to comment.