Internal server error when configuring dynamic range to have fewer than 2 addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
LaMont Jones |
Bug Description
1. Edit a cluster interface.
2. Set "DHCP dynamic IP range low value" and "DHCP dynamic IP range high
value" to the same address.
3. Click "Save interface".
4. Blank page with "Internal server error".
regiond.log contains:
Traceback (most recent call last):
File ".../twisted/
appIterator = self.applicatio
File ".../django/
response = self.get_
File ".../maasserver
response = get_response(
File ".../maasserver
request, get_resolver(None), sys.exc_info())
--- <exception caught here> ---
File ".../maasserver
return django_
File ".../maasserver
self.fire()
File ".../provisioni
return func(*args, **kwargs)
File ".../maasserver
self.
File ".../crochet/
result.
File "<string>", line 2, in raiseException
exceptions.
This problem should have been discovered during form validation and
rendered as such.
Configuring a dynamic range to contain only a single IP address is a
fairly pathological thing to do, and as such I don't think this is a
particularly serious bug.
Related branches
- Mike Pontillo (community): Approve
-
Diff: 97 lines (+41/-7)2 files modifiedsrc/maasserver/forms.py (+15/-7)
src/maasserver/tests/test_forms_nodegroupinterface.py (+26/-0)
Changed in maas: | |
assignee: | nobody → LaMont Jones (lamont) |
Changed in maas: | |
status: | Triaged → Invalid |
status: | Invalid → Fix Released |