MAAS IP addr is being enforced as a DNS server for deployed machine when using v1 curtin network config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
One of our customers are asking for a way to completely get rid of the MAAS DNS usage, so based on that - machines should use DHCP-provided nameservers instead of having IPs of region controllers in netplan or resolv.conf (depends on target OS).
Here is a get-curtin-config output from machine, configured to be present in a single subnet without any DNS servers specified in subnet config: https:/
Subnet config: https:/
Machine config: https:/
I can enforce required servers to be present by putting them as a "dns_servers" in subnet config, but is there an option to leave this option as "empty" and let machine gather its DNS config via DHCP, like it does already with the rest of the networking parameters?
Is this possible at all?
Related branches
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 925 lines (+402/-78)12 files modifiedsrc/maasserver/api/discoveries.py (+1/-3)
src/maasserver/api/tests/test_tag.py (+2/-0)
src/maasserver/dhcp.py (+8/-8)
src/maasserver/models/node.py (+44/-4)
src/maasserver/models/tests/test_node.py (+26/-4)
src/maasserver/preseed_network.py (+48/-12)
src/maasserver/testing/factory.py (+25/-19)
src/maasserver/tests/test_dhcp.py (+127/-17)
src/maasserver/tests/test_preseed_network.py (+76/-8)
src/maasserver/triggers/system.py (+3/-2)
src/maasserver/triggers/tests/test_system_listener.py (+39/-1)
src/maasserver/websockets/handlers/tests/test_controller.py (+3/-0)
- Lee Trager (community): Approve
-
Diff: 258 lines (+157/-16)6 files modifiedsrc/maasserver/dns/tests/test_zonegenerator.py (+12/-1)
src/maasserver/dns/zonegenerator.py (+17/-5)
src/maasserver/models/node.py (+18/-3)
src/maasserver/models/tests/test_node.py (+6/-0)
src/maasserver/preseed_network.py (+12/-7)
src/maasserver/tests/test_preseed_network.py (+92/-0)
- Blake Rouse (community): Approve
- MAAS Lander: Approve
-
Diff: 252 lines (+151/-15)6 files modifiedsrc/maasserver/dns/tests/test_zonegenerator.py (+12/-1)
src/maasserver/dns/zonegenerator.py (+17/-5)
src/maasserver/models/node.py (+16/-2)
src/maasserver/models/tests/test_node.py (+6/-0)
src/maasserver/preseed_network.py (+8/-7)
src/maasserver/tests/test_preseed_network.py (+92/-0)
description: | updated |
description: | updated |
summary: |
- MAAS IP addr is being enforced as a DNS server for deployed machine + MAAS IP addr is being enforced as a DNS server for deployed machine when + using v1 curtin network config |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | none → next |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | In Progress → Fix Committed |
no longer affects: | maas/2.6 |
Changed in maas: | |
milestone: | next → 2.7.0b1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
tags: | added: dns-modeling |
I'm not sure if this is a bug or a feature request, so I'm marking this as a ~field-high - but if I'm wrong, please let me know so I could remove a wrong tag.