[2.2, HA] MAAS dhcp does not offer up multiple domains to search
Bug #1696485 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
My MAAS is managing two domains - 'maas' and 'mallards'. However, machines that get DHCP from MAAS are only told to search the 'maas' domain. Since machine names are unique across domains I would have thought they would get told to search both.
This corresponds to DHCP Option 119 according to https:/
MAAS should use this option to list all the domains it manages so that clients search all of them. The order may be material (in terms of performance) and if so, then MAAS should allow editing of the order of the domains it manages, then use that order.
---
Note: The primary domain for the machine MUST come first.
Related branches
~mpontillo/maas:add-dhcp-search-list--bug-1696485
Merged
into
maas:master
- Blake Rouse (community): Approve
-
Diff: 531 lines (+161/-18)12 files modifiedcontrib/pycharm/maas.iml (+1/-0)
src/maasserver/dhcp.py (+21/-7)
src/maasserver/preseed_network.py (+3/-1)
src/maasserver/tests/test_dhcp.py (+30/-6)
src/provisioningserver/dhcp/config.py (+11/-0)
src/provisioningserver/dhcp/testing/config.py (+3/-1)
src/provisioningserver/dhcp/tests/test_config.py (+28/-0)
src/provisioningserver/rpc/cluster.py (+2/-0)
src/provisioningserver/templates/dhcp/dhcpd.conf.template (+4/-1)
src/provisioningserver/templates/dhcp/dhcpd6.conf.template (+4/-0)
src/provisioningserver/utils/tests/test_text.py (+43/-0)
src/provisioningserver/utils/text.py (+11/-2)
Changed in maas: | |
milestone: | none → 2.3.0 |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- MAAS dhcp does not offer up multiple domains to search + [2.2, HA] MAAS dhcp does not offer up multiple domains to search |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0beta2 |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
Changed in maas: | |
milestone: | 2.3.0beta2 → 2.3.0beta3 |
description: | updated |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | maas/2.2 |
To post a comment you must log in.