[2.0b5,1.9] DNS record added for non-boot interface IP when no address of that family exists on the boot interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
LaMont Jones | ||
1.9 |
Fix Released
|
Critical
|
LaMont Jones |
Bug Description
MAAS Version 1.9.1+bzr4543-
We got a situation where IPv6 was being used in a MAAS 1.9 subnet and the node failed to get a FQDN for its hostname.
Specifically, the call that failed was pyton's socket.
ubuntu@
rectangular-
ubuntu@
Traceback (most recent call last):
File "<string>", line 1, in <module>
socket.herror: [Errno 1] Unknown host
ubuntu@
A DNS traffic capture showed this:
146 2.859261 192.168.120.8 -> 198.18.173.40 DNS 88 Standard query 0x0e2a AAAA rectangular-
147 2.859422 198.18.173.40 -> 192.168.120.8 DNS 146 Standard query response 0x0e2a AAAA rectangular-
149 2.859831 192.168.120.8 -> 198.18.173.40 DNS 134 Standard query 0xd332 PTR c.6.b.4.
150 2.860065 198.18.173.40 -> 192.168.120.8 DNS 196 Standard query response 0xd332 No such name PTR c.6.b.4.
We can see that the PTR for the IPv6 address does not exist. Looking at /etc/bind in the MAAS node, that's confirmed:
$ grep rectangular -r etc/
etc/bind/
etc/bind/
etc/bind/
I found it curious that MAAS would have the AAAA record, but not the corresponding PTR one, so I decided to file this bug about it.
Related branches
- Gavin Panella (community): Approve
-
Diff: 140 lines (+73/-8)3 files modifiedsrc/maasserver/models/staticipaddress.py (+29/-6)
src/maasserver/models/tests/test_staticipaddress.py (+43/-1)
src/maasserver/tests/test_forms_vlan.py (+1/-1)
- Gavin Panella (community): Approve
-
Diff: 130 lines (+66/-6)2 files modifiedsrc/maasserver/models/staticipaddress.py (+26/-5)
src/maasserver/models/tests/test_staticipaddress.py (+40/-1)
tags: | removed: kanban-cross-team |
Changed in maas: | |
assignee: | nobody → LaMont Jones (lamont) |
summary: |
- Missing PTR record for IPv6 address + [2.0b5,1.9] DNS record created against IPv6 address when it is not on + the PXE interface |
summary: |
- [2.0b5,1.9] DNS record created against IPv6 address when it is not on - the PXE interface + [1.9] DNS record created against IPv6 address when it is not on the PXE + interface |
Changed in maas: | |
milestone: | none → 1.9.4 |
summary: |
- [1.9] DNS record created against IPv6 address when it is not on the PXE - interface + [2.0b5,1.9] DNS record added for non-boot interface when no address of + that family exists on the boot interface |
summary: |
- [2.0b5,1.9] DNS record added for non-boot interface when no address of - that family exists on the boot interface + [2.0b5,1.9] DNS record added for non-boot interface IP when no address + of that family exists on the boot interface |
no longer affects: | maas/2.0 |
Changed in maas: | |
milestone: | 1.9.4 → 2.0.0 |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
rectangular- structure node