Merge "Support MAAS having dead rack controllers"

This commit is contained in:
Zuul 2019-05-30 20:01:01 +00:00 committed by Gerrit Code Review
commit eb28cf3aec
1 changed files with 2 additions and 0 deletions

View File

@ -720,6 +720,8 @@ class CreateNetworkTemplate(BaseMaasAction):
dhcp_config_set = False
for r in rack_ctlrs:
if not r.is_healthy():
continue
if n.dhcp_relay_upstream_target is not None:
if r.interface_for_ip(
n.dhcp_relay_upstream_target):