MAAS fails to add a DHCP snippet with "subnet6 statement is only supported in DHCPv6 mode."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
On a fresh install of MAAS on 16.04 MAAS cannot add ANY snippet, even a comment. It always fails with:
{"value": ["subnet6 statement is only supported in DHCPv6 mode."]}
I have tried from the UI and the command line.
Here's the exception:
2016-05-25 15:02:31 [-] Error on request (17) dhcpsnippet.create: {"value": ["subnet6 statement is only supported in DHCPv6 mode."]}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
return super()
File "/usr/lib/
raise HandlerValidati
maasserver.
MAAS Packages:
student@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.0.0~beta3+
ii maas-cli 2.0.0~beta3+
un maas-cluster-
ii maas-common 2.0.0~beta3+
ii maas-dhcp 2.0.0~beta3+
ii maas-dns 2.0.0~beta3+
ii maas-proxy 2.0.0~beta3+
ii maas-rack-
ii maas-region-api 2.0.0~beta3+
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.0.0~beta3+
ii python3-maas-client 2.0.0~beta3+
ii python3-
Logs attached.
Related branches
- Newell Jensen (community): Approve
-
Diff: 74 lines (+17/-6)2 files modifiedsrc/provisioningserver/rpc/dhcp.py (+6/-2)
src/provisioningserver/rpc/tests/test_dhcp.py (+11/-4)
Changed in maas: | |
milestone: | none → 2.5.0beta2 |
assignee: | nobody → Lee Trager (ltrager) |
tags: | added: sprint track |
Changed in maas: | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello!
The problem went away after I DELETED all of my IPv6 networks. I need them going forward!