Configuring the DNS zone on a cluster with '.' as the last character, breaks DNS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Critical
|
Unassigned |
Bug Description
THe Cluster Controller was configured with a DNS Zone as follows that contained a '.' at the end of the zone name:
'cluster.one.' instead of 'cluster.one'
when using the '.' at the end of the zone, we would see the following issue:
2015-03-18 13:53:03 [maas.dns] ERROR: Reloading BIND zone u'cluster.
rndc: 'reload' failed: empty label
2015-03-18 13:53:03 [HTTPChannel,
Traceback (most recent call last):
File "/usr/lib/
response = self.get_
File "/usr/lib/
response = get_response(
File "/usr/lib/
return django_
File "/usr/lib/
response = self.handle_
--- <exception caught here> ---
File "/usr/lib/
response = middleware_
File "/usr/lib/
self.
exceptions.
After removing the '.', things worked again.
MAAS should allow the inclusion of the last '.' and deal with it gracefully, as this is how domains are referred to.
Changed in maas: | |
importance: | Undecided → Critical |