[1.9] DNS records flap for a machine with several interfaces (DHCP) in the same network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
After migrating MAAS from 1.5 to 1.9, I have a group of servers deployed using the dynamic ip pool (with the interfaces set to DHCP). Those servers have multiple interfaces in the same network (for future bonding), and I'm observing the DNS entry change between those interfaces every time I deploy a new node in the cluster. These are the steps that trigger the change:
If a machine has been deployed with IPs 1.1.1.1 and 1.1.1.2 with the DNS entry (A record) pointing to 1.1.1.1, and at a certain point, the 1.1.1.2 interface asks for a renewal, it will create a lease entry with that IP and the same client-hostname of the node in the dhcp.leases file. Then, when a machine is deployed, the DNS zone file will be rebuilt using the latest lease assigned to every client-hostname, triggering a change in the DNS entry making it point to 1.1.1.2 instead of 1.1.1.1.
If the migration from dynamic to static assignments is not possible without redeploying: would it be possible to make the DNS entry point just the PXE boot interface (ignoring the other interfaces leases), or maybe backport the "<interface>
Changed in maas: | |
importance: | Undecided → High |
importance: | High → Critical |
tags: | added: internal |
Hi Victor,
the <interface>.<fqnd> is a feature that is not backportable to 1.9 and is only available to 2.0+.
That said, can you be more specific as to which record gets created ? Do you have examples? Can you attach config files and log files ?
MAAS should only be creating a DNS record for the PXE interface.