summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-02-17 09:39:27 -0500
committerSamuel Munilla <smunilla@redhat.com>2016-02-17 10:26:09 -0500
commit7f41da4e45aa991aa967889619568e07afb36fe0 (patch)
tree1004a5922de8fd9b936c1f34d579e00a8652d736
parentd135ccbbdd2f055a25ff168c6b140add0e8f5d73 (diff)
downloadopenshift-7f41da4e45aa991aa967889619568e07afb36fe0.tar.gz
openshift-7f41da4e45aa991aa967889619568e07afb36fe0.tar.bz2
openshift-7f41da4e45aa991aa967889619568e07afb36fe0.tar.xz
openshift-7f41da4e45aa991aa967889619568e07afb36fe0.zip
a-o-i: Change method for counting master_lb as installed
-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 9839bf447..6428b295a 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -532,7 +532,7 @@ def get_installed_hosts(hosts, callback_facts):
callback_facts[host.connect_to]['common'].get('version', '') != 'None') \
or
('master' in callback_facts[host.connect_to].keys() and
- callback_facts[host.connect_to]['master'].get('cluster_method', '') == 'native')
+ callback_facts[host.connect_to]['master'].get('cluster_hostname', '') == host.connect_to)
):
installed_hosts.append(host)
return installed_hosts