DNS forward zone ends up with nonsensical entries
Bug #1070765 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin | ||
1.2 |
Fix Released
|
Critical
|
Raphaël Badin | ||
maas (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
Example:
192-168-123-103 IN CNAME 192-168-123-102
This happens because maas-enlist sends the hostname that it found from the DNS server, which is the auto-generated name that MAAS made for the zone. When the IP address changes later, the node's hostname is very misleading!
Related branches
lp:~rvb/maas/bug-1070765-hostname
- Jeroen T. Vermeulen (community): Approve
-
Diff: 240 lines (+73/-23)8 files modifiedsrc/maasserver/api.py (+2/-1)
src/maasserver/forms.py (+14/-1)
src/maasserver/models/dhcplease.py (+1/-5)
src/maasserver/tests/test_api.py (+19/-0)
src/maasserver/tests/test_dhcplease.py (+0/-15)
src/maasserver/tests/test_forms.py (+16/-1)
src/maasserver/utils/__init__.py (+6/-0)
src/maasserver/utils/tests/test_utils.py (+15/-0)
lp:~rvb/maas/bug-1070765-hostname-1.2
- Raphaël Badin (community): Approve
-
Diff: 507 lines (+236/-31)11 files modifiedsrc/maasserver/api.py (+19/-2)
src/maasserver/forms.py (+14/-1)
src/maasserver/models/dhcplease.py (+1/-5)
src/maasserver/models/node.py (+25/-2)
src/maasserver/models/nodegroup.py (+7/-5)
src/maasserver/tests/test_api.py (+107/-0)
src/maasserver/tests/test_dhcplease.py (+0/-15)
src/maasserver/tests/test_forms.py (+16/-1)
src/maasserver/tests/test_node.py (+26/-0)
src/maasserver/utils/__init__.py (+6/-0)
src/maasserver/utils/tests/test_utils.py (+15/-0)
lp:~rvb/maas/add-fqdn
- Jeroen T. Vermeulen (community): Approve
-
Diff: 86 lines (+50/-1)2 files modifiedsrc/maasserver/models/node.py (+24/-1)
src/maasserver/tests/test_node.py (+26/-0)
lp:~rvb/maas/use-fqdn
- Julian Edwards (community): Approve
- Jeroen T. Vermeulen: Pending requested
-
Diff: 194 lines (+113/-7)4 files modifiedsrc/maasserver/api.py (+17/-1)
src/maasserver/models/node.py (+1/-1)
src/maasserver/models/nodegroup.py (+7/-5)
src/maasserver/tests/test_api.py (+88/-0)
lp:~rvb/maas/ui-update-fqdn
- Julian Edwards (community): Approve
-
Diff: 219 lines (+67/-22)8 files modifiedsrc/maasserver/forms.py (+9/-0)
src/maasserver/templates/maasserver/node_edit.html (+2/-0)
src/maasserver/templates/maasserver/node_view.html (+4/-4)
src/maasserver/templates/maasserver/nodes_listing.html (+24/-12)
src/maasserver/tests/test_views_nodes.py (+17/-0)
src/maasserver/tests/test_views_tags.py (+4/-4)
src/maasserver/views/nodes.py (+3/-1)
src/maasserver/views/tags.py (+4/-1)
lp:~rvb/maas/ui-update-fqdn-1.2
- Raphaël Badin (community): Approve
-
Diff: 881 lines (+505/-58)18 files modifiedsrc/maasserver/forms.py (+9/-0)
src/maasserver/migrations/0043_unique_hostname_preparation.py (+218/-0)
src/maasserver/migrations/0044_node_hostname_unique.py (+201/-0)
src/maasserver/models/node.py (+2/-1)
src/maasserver/templates/maasserver/node_edit.html (+2/-0)
src/maasserver/templates/maasserver/node_view.html (+4/-4)
src/maasserver/templates/maasserver/nodes_listing.html (+9/-6)
src/maasserver/testing/factory.py (+3/-3)
src/maasserver/tests/test_api.py (+15/-7)
src/maasserver/tests/test_dhcplease.py (+3/-3)
src/maasserver/tests/test_dns.py (+1/-1)
src/maasserver/tests/test_forms.py (+0/-12)
src/maasserver/tests/test_node.py (+2/-3)
src/maasserver/tests/test_node_constraint_filter.py (+2/-2)
src/maasserver/tests/test_views_nodes.py (+18/-1)
src/maasserver/tests/test_views_tags.py (+10/-14)
src/maasserver/views/nodes.py (+2/-0)
src/maasserver/views/tags.py (+4/-1)
lp:~andreserl/maas/quantal_update_changelog
- Andres Rodriguez (community): Approve
-
Diff: 31 lines (+23/-1)1 file modifieddebian/changelog (+23/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 12.10-stabilization |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 12.10-stabilization → none |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas (Ubuntu Quantal): | |
status: | New → Triaged |
Changed in maas (Ubuntu Raring): | |
status: | New → Triaged |
Changed in maas (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The fix is to check if MAAS is managing DNS in the enlist() API call. If it is, then it should generate a unique hostname.