Browse Source

Merge pull request #1425 from smunilla/BZ1308440

a-o-i: Change method for counting master_lb as installed
Brenton Leanhardt 9 years ago
parent
commit
fa241cc95a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/src/ooinstall/cli_installer.py

+ 1 - 1
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