Domain name should be checked for duplicate against maas_internal_domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Jack Lloyd-Walters |
Bug Description
When creating a domain or changing the name for an existing one, MAAS should include the maas_internal_
Original bug description:
-------
this feels related to this old bug: https:/
however, in this case, maas is just creating two references to my base named zone for my hosts:
```
$ head /var/snap/
include "/var/snap/
# Authoritative Zone declarations.
zone "internal.domain" {
type master;
file "/var/snap/
};
zone "internal.domain" {
type master;
file "/var/snap/
```
this of course causes bind9 not to start, and go into a tailspin constantly restarting itself. if I manually edit the config, then it'll start, but after a little while maas will overwrite it and the problem begins again. and unlike the old bug, it isn't caused by overlapping entries, there's only one zone defined in the dns config part of the interface, so I can't really figure out why it's injecting it twice into the bind config.
Related branches
- Anton Troyanov: Approve
- MAAS Lander: Approve
-
Diff: 70 lines (+28/-2)3 files modifiedsrc/maasserver/forms/settings.py (+4/-2)
src/maasserver/models/domain.py (+11/-0)
src/maasserver/models/tests/test_domain.py (+13/-0)
Changed in maas: | |
milestone: | none → 3.2 |
status: | Incomplete → Triaged |
importance: | Undecided → High |
milestone: | 3.2 → none |
status: | Triaged → New |
importance: | High → Undecided |
no longer affects: | maas/3.1 |
summary: |
- maas 3.1 creates duplicate named entries for primary maas zone + Domain name should be checked for duplicate against + maas_internal_domain |
description: | updated |
Changed in maas: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
milestone: | none → next |
Changed in maas: | |
milestone: | next → 3.3.0 |
Changed in maas: | |
assignee: | nobody → Jack Lloyd-Walters (lloydwaltersj) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Tessa,
right, this looks like a different issue, since no subnets are involved here.
Could you please provide the output of 'maas $profile domains read', as well as the MAAS logs (regiond.log, rackd.log and maas.log)?