Comment 16 for bug 1412621

Revision history for this message
Matt Rae (mattrae) wrote :

I tested setting the default domain name to something other than 'maas', but bootstrap still fails without saving the cluster controller to update the zone file.

It appears that by the time bootstrap is finished the zone is missing record for the host

Zone prior to bootstrap:

root@maas:~# cat /etc/bind/maas/zone.matt
; Zone file modified: 2015-08-18 05:58:44.763249.
; Note that the modification time of this file doesn't reflect
; the actual modification time. MAAS controls the modification time
; of this file to be able to force the zone to be reloaded by BIND.
$TTL 300
@ IN SOA matt. nobody.example.com. (
              0000000056 ; serial
              600 ; Refresh
              1800 ; Retry
              604800 ; Expire
              300 ; TTL
              )

    IN NS matt.
$GENERATE 11-200 10-20-0-$ IN A 10.20.0.$
matt. IN A 10.20.0.10
limping-crow IN A 10.20.0.11

Zone right after bootstrap fails

cat /etc/bind/maas/zone.matt
; Zone file modified: 2015-08-18 06:16:38.099978.
; Note that the modification time of this file doesn't reflect
; the actual modification time. MAAS controls the modification time
; of this file to be able to force the zone to be reloaded by BIND.
$TTL 300
@ IN SOA matt. nobody.example.com. (
              0000000057 ; serial
              600 ; Refresh
              1800 ; Retry
              604800 ; Expire
              300 ; TTL
              )

    IN NS matt.
$GENERATE 11-200 10-20-0-$ IN A 10.20.0.$
matt. IN A 10.20.0.10