Comment 2 for bug 1769445

Revision history for this message
Blake Rouse (blake-rouse) wrote : Re: Unable to delete controller for no good reason

At the moment we have enabled only manual HA for isc-dhcp-server. This requires the user to manually change the primary and secondary rack controllers for a DHCP server. The lease state is synchronized between each DHCP server, switching those dynamically can cause loss of leases and duplicate IP address assignments. That is one of the reasons we always made the selection of the primary and secondary isc-dhcp-server a manual choice.

MAAS DHCP also is in 100/0 mode for isc-dhcp-server. Meaning the primary rack controller serves all DHCP requests, the secondary is only used when the primary goes down. Removing the primary rack controller of a VLAN and switching the secondary to primary might not be something the administrator was aware would occur from deleting the rack controller.

On the VLAN details page you can switch the rack controller from being the primary of the VLAN so you can delete the rack controller.

On the VLAN details page it does provide a list of rack controllers that have access to that VLAN. Any one of this rack controllers can manage DHCP for that VLAN. As for ranking any rack controller could manage the DHCP server, we currently leave that up to an administrator to make that choice. In the future MAAS could use more information like the link speed, location in the rack (relative to the machines connected to the VLAN), MAAS being on the switch, etc. to determine a ranking of which rack controllers could better manage the VLAN.