[2.0] dhcp6 configuration is broken: expects CIDR not netmask

Bug #1564925 reported by LaMont Jones
6
This bug affects 1 person
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://www.isc.org/software/dhcp/
Apr 1 05:46:10 kohlrabi dhcpd[25894]: /var/lib/maas/dhcpd6.conf line 36: Expecting a '/'.
Apr 1 05:46:10 kohlrabi sh[25894]: /var/lib/maas/dhcpd6.conf line 36: Expecting a '/'.
Apr 1 05:46:10 kohlrabi sh[25894]: subnet6 2601:282:8100:3580:: netmask
Apr 1 05:46:10 kohlrabi sh[25894]: ^
Apr 1 05:46:10 kohlrabi sh[25894]: /var/lib/maas/dhcpd6.conf line 54: empty shared-network decl
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:8100:3580:: netmask
Apr 1 05:46:10 kohlrabi systemd[1]: maas-dhcpd6.service: Main process exited, code=exited, status=1/FAILURE
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

LaMont Jones (lamont)
summary: - dhcp6 configuration is broken: expects CIDR not netmask
+ [2.0] dhcp6 configuration is broken: expects CIDR not netmask
LaMont Jones (lamont)
Changed in maas:
importance: Undecided → Critical
assignee: nobody → LaMont Jones (lamont)
Changed in maas:
milestone: none → 2.0.0
LaMont Jones (lamont)
Changed in maas:
status: New → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.