VIP failovers do not update the IPs named is listening on

Bug #1896282 reported by Andrea Ieri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
3.3
Triaged
Low
Unassigned

Bug Description

I am experiencing intermittent DNS resolution failures throughout a cloud. This appears to be due to:
* deployed machines are told to use as DNSs all three physical maas addresses, plus the maas and pgsql VIPs (this can be overridden in the subnet configuration, but this appears to be the default)
* maas generates a listen-on option in /etc/bind/named.conf.options depending on where the VIPs are
* if a failover causes one or more VIPs to move, named.conf.options is not rewritten

I'm not sure what the rationale is behind listening on VIPs, but I think this could be solved by either having all maas nodes listen on all VIPs, regardless of whether the addresses are currently present or not on a given node, or by having deployed machines only use physical maas addresses by default.

I have worked around this by manually editing /etc/bind/named.conf.options on all maas nodes, but if the VIPs move I will hit this bug again.

Revision history for this message
Alberto Donato (ack) wrote :

MAAS currently configures bind to listen on all interfaces.

It should probably only have it listen on interfaces for which dns is active in maas, although that's a bit trickier in deb installs, as there could be external additional config.

Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → next
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Resolving this issue requires changing how MAAS sets up DNS and when it updates the DNS configuration in HA type of set-up.

Changed in maas:
importance: Medium → Low
milestone: next → 3.3.0
Changed in maas:
milestone: 3.3.0 → 3.4.0
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.