[2.0] dhcp6 configuration is broken: expects CIDR not netmask
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
LaMont Jones |
Bug Description
When a dhcp-enabled ipv6 subnet exists, dhcpd complains thusly:
Apr 1 05:46:10 kohlrabi dhcpd[25894]: Copyright 2004-2015 Internet Systems Consortium.
Apr 1 05:46:10 kohlrabi dhcpd[25894]: All rights reserved.
Apr 1 05:46:10 kohlrabi dhcpd[25894]: For info, please visit https:/
Apr 1 05:46:10 kohlrabi dhcpd[25894]: /var/lib/
Apr 1 05:46:10 kohlrabi sh[25894]: /var/lib/
Apr 1 05:46:10 kohlrabi sh[25894]: subnet6 2601:282:
Apr 1 05:46:10 kohlrabi sh[25894]: ^
Apr 1 05:46:10 kohlrabi sh[25894]: /var/lib/
Apr 1 05:46:10 kohlrabi sh[25894]: }
Apr 1 05:46:10 kohlrabi sh[25894]: ^
Apr 1 05:46:10 kohlrabi dhcpd[25894]: subnet6 2601:282:
Apr 1 05:46:10 kohlrabi systemd[1]: maas-dhcpd6.
Apr 1 05:46:10 kohlrabi sh[25894]: Configuration file errors encountered -- exiting
The configuration of subnet6 expects a CIDR, rather than network and netmask.
Related branches
- Blake Rouse (community): Approve
-
Diff: 275 lines (+63/-38)3 files modifiedsrc/provisioningserver/dhcp/testing/config.py (+13/-6)
src/provisioningserver/dhcp/tests/test_config.py (+49/-31)
src/provisioningserver/templates/dhcp/dhcpd6.conf.template (+1/-1)
summary: |
- dhcp6 configuration is broken: expects CIDR not netmask + [2.0] dhcp6 configuration is broken: expects CIDR not netmask |
Changed in maas: | |
importance: | Undecided → Critical |
assignee: | nobody → LaMont Jones (lamont) |
Changed in maas: | |
milestone: | none → 2.0.0 |
Changed in maas: | |
status: | New → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |