PXE configuration for dhcpv6 is wrong
Bug #1718209 reported by
Witold Krecicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
2.2 |
Fix Released
|
High
|
Unassigned |
Bug Description
DHCP config generator in provisioning server generates config for v6 as:
if client-arch-type = 00:00 {
filename = "...";
} elsif client-arch-type = 00:07 {
filename = "...";
} else {
filename = "final";
}
This is wrong (although it parses correctly it'd always end up with the 'final' filename, confirmed with isc-dhcp team), the correct way to define this kind of switch would be:
if exists dhcp6.client-
...
} elsif exists dhcp6.client-
...
}...
Related branches
~andreserl/maas:2.2_lp1718209
- Andres Rodriguez (community): Approve
-
Diff: 40 lines (+5/-2)3 files modifieddocs/changelog.rst (+2/-0)
src/provisioningserver/dhcp/config.py (+2/-1)
src/provisioningserver/templates/dhcp/dhcpd6.conf.template (+1/-1)
~andreserl/maas:lp1718209
Merged
into
maas:master
- Mike Pontillo (community): Approve
-
Diff: 27 lines (+3/-2)2 files modifiedsrc/provisioningserver/dhcp/config.py (+2/-1)
src/provisioningserver/templates/dhcp/dhcpd6.conf.template (+1/-1)
Changed in maas: | |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas: | |
status: | Incomplete → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Can you provide any references to bugs or similar where this is being shown ? We have enabled and tested the MAAS configuration against ipv6 clients and was proven to work correctly. The work was done, and the configuration reviewed by one of the maintainers of isc-dhcp at the time.