Public bug reported:
I am unable to configure the IPMI/BMC hostname on 2 of my nodes. And magically
I see 2 hosts in the DNS records page on MAAS gui with the same hostname called
'BMC dhcp' with a space in it. Does MAAS add these hostnames when they are
empty?
Of course BIND will crash when it sees a space in the domain name.. is there a
way to remove the dns records on the UI, or it could be better if maas fixed
these before saving it in the zone file. I tried to remove the entries in the
zone files but they are populating again from the db I think. And because bind
cannot restart whole the DNS system is down, cannot apt-get update etc..
// output syslog
Nov 21 00:03:11 maas named[9775]: configuring command channel from
'/etc/bind/rndc.key'
Nov 21 00:03:11 maas named[9775]: reloading configuration succeeded
Nov 21 00:03:11 maas named[9775]: reloading zones succeeded
Nov 21 00:03:11 maas named[9775]: /etc/bind/maas/zone.maas:16: unknown RR type
'dhcp'
Nov 21 00:03:11 maas named[9775]: zone maas/IN: loading from master file
/etc/bind/maas/zone.maas failed: unknown class/type
Nov 21 00:03:11 maas named[9775]: zone maas/IN: not loaded due to errors.
Nov 21 00:03:11 maas named[9775]: dns_rdata_fromtext:
/etc/bind/maas/zone.1.1.10.in-addr.arpa:19: near 'dhcp.maas.': extra input text
Nov 21 00:03:11 maas named[9775]: zone 1.1.10.in-addr.arpa/IN: loading from
master file /etc/bind/maas/zone.1.1.10.in-addr.arpa failed: extra input text
Nov 21 00:03:11 maas named[9775]: zone 1.1.10.in-addr.arpa/IN: not loaded due
to errors.
Nov 21 00:03:11 maas named[9775]: zone 1.16.172.in-addr.arpa/IN: loaded serial
9595
Nov 21 00:03:11 maas named[9775]: all zones loaded
Nov 21 00:03:11 maas named[9775]: running
// bind zone file
Zone file modified: 2016-11-21 00:03:11.802998.
$TTL 30
@ IN SOA maas. nobody.example.com. (
0000009595 ; serial
600 ; Refresh
1800 ; Retry
604800 ; Expire
30 ; NXTTL
)
30 IN NS maas.
$GENERATE 101-200 $.1.1.10.in-addr.arpa. IN PTR 10-1-1-$.maas.
105 30 IN PTR huge-swift.maas.
120 30 IN PTR ILOCZC9167KNZ.maas.
128 30 IN PTR ILOCZC749209S.maas.
100 30 IN PTR enp3s1.maas.maas.
107 30 IN PTR pe2950bmc.maas.
124 30 IN PTR ILOGB8714BBX4.maas.
117 30 IN PTR BMC dhcp.maas. <======== HERE
119 30 IN PTR BMC dhcp.maas. <======== AND HERE
106 30 IN PTR supermicro4disks.maas.
132 30 IN PTR enp5s0f1.huge-swift.maas.
125 30 IN PTR ILOCZC7300PQ6.maas.
// Information
Ubuntu 16.04.1 LTS
Maas 2.1.1 (edge)
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1643377
Title:
Maas dhcp hostname with spaces
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1643377/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs