Merge "Handle nodes with no ctlplane IP's during deny list handling"

This commit is contained in:
Zuul 2021-04-29 23:01:18 +00:00 committed by Gerrit Code Review
commit 51026cbfc0
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ def get_overcloud_hosts(stack, ssh_network):
# for each blacklisted ctlplane ip, remove the corresponding
# ssh_network ip at that same index in the net_ips list
for bcip in blacklisted_ctlplane_ips:
if not bcip:
continue
index = ctlplane_ips.index(bcip)
ctlplane_ips.pop(index)
net_ips.pop(index)