Merge "Support MAAS having dead rack controllers"
This commit is contained in:
commit
eb28cf3aec
@ -720,6 +720,8 @@ class CreateNetworkTemplate(BaseMaasAction):
|
|||||||
dhcp_config_set = False
|
dhcp_config_set = False
|
||||||
|
|
||||||
for r in rack_ctlrs:
|
for r in rack_ctlrs:
|
||||||
|
if not r.is_healthy():
|
||||||
|
continue
|
||||||
if n.dhcp_relay_upstream_target is not None:
|
if n.dhcp_relay_upstream_target is not None:
|
||||||
if r.interface_for_ip(
|
if r.interface_for_ip(
|
||||||
n.dhcp_relay_upstream_target):
|
n.dhcp_relay_upstream_target):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user