diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-02-23 11:47:22 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-02-23 11:47:22 -0500 |
commit | 6c0078c7e0c711906d48aefafc8c51e326414889 (patch) | |
tree | 36d3e235c9a02afdac9a44724139e0f8bc4add65 | |
parent | 2140f3d05e09c102a5940dec4a502b45084a0bac (diff) | |
parent | 5cc71c364963c52eb73b89a7599e422ff42b959f (diff) | |
download | openshift-6c0078c7e0c711906d48aefafc8c51e326414889.tar.gz openshift-6c0078c7e0c711906d48aefafc8c51e326414889.tar.bz2 openshift-6c0078c7e0c711906d48aefafc8c51e326414889.tar.xz openshift-6c0078c7e0c711906d48aefafc8c51e326414889.zip |
Merge branch 'BZ1308440' of https://github.com/smunilla/openshift-ansible
-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 f09f90288..7a97de4e6 100644 --- a/utils/src/ooinstall/cli_installer.py +++ b/utils/src/ooinstall/cli_installer.py @@ -535,7 +535,7 @@ def get_installed_hosts(hosts, callback_facts): lb_hostname = callback_facts[first_master.connect_to]['master'].get('cluster_hostname', '') lb_host = next(host for host in hosts if host.connect_to == lb_hostname) installed_hosts.append(lb_host) - except KeyError: + except (KeyError, StopIteration): pass |