MAAS 1.8rc3 broken bind's zone files

Bug #1467213 reported by Ante Karamatić
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
Critical
Unassigned

Bug Description

Upon successful commissioning and (almost) successful 'juju bootstrap', I noticed that nodes can't resolve their own hostnames. Quick look at MAAS's bind files revealed source of the problem. I'm attaching both zone files.

I will try to reproduce it. So far it happened in one out of one attempts.

Tags: dns cpec
Revision history for this message
Ante Karamatić (ivoks) wrote :
Revision history for this message
Ante Karamatić (ivoks) wrote :
tags: added: cpec
Revision history for this message
Ante Karamatić (ivoks) wrote :

On the second attempt, it generated hostname in zonefile just fine.

Revision history for this message
Ante Karamatić (ivoks) wrote :

I've managed to reproduce this. It looks like there's a race condition. I destroyed juju environment with hundreds of nodes, MAAS started moving those nodes from Deployed into Ready state. While it was doing that, I've started another juju bootstrap (I had plenty of nodes in Ready state already) and zone file was being updated all along (probably because nodes were being released). It looks like it wrote a state of the zone file as if I didn't bootstrap again (as if there are no atomic bind updates).

Revision history for this message
Gavin Panella (allenap) wrote :

Ante, thanks for that update. Given what I can remember about the DNS writers, that scenario is plausible.

We may want to do what we've long threatened to do: move the DNS service into maas-regiond. Keep BIND around, but only as a caching forwarder.

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
tags: added: dns
Revision history for this message
Ante Karamatić (ivoks) wrote :

It's also wort nothing that I reproduced this behavior only when I didn't had 'static pool' defined.

Changed in maas:
importance: Critical → High
Changed in maas:
importance: High → Critical
Changed in maas:
status: Triaged → Won't Fix
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.