summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-23 12:06:12 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-23 12:06:12 -0500
commit09de9a99702ab3b883ed4ede919194a21aed1db3 (patch)
treee18958879638aebe2797056be6882f5a9956855d /utils
parent3ee897a78b52519693cd6652feb5bbafcc036895 (diff)
parentfdc252fac0210baa7328918ff9fd6af42ee79925 (diff)
downloadopenshift-09de9a99702ab3b883ed4ede919194a21aed1db3.tar.gz
openshift-09de9a99702ab3b883ed4ede919194a21aed1db3.tar.bz2
openshift-09de9a99702ab3b883ed4ede919194a21aed1db3.tar.xz
openshift-09de9a99702ab3b883ed4ede919194a21aed1db3.zip
Merge pull request #1480 from brenton/master
a-o-i: Exception checking around master_lb
Diffstat (limited to 'utils')
-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 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