[2.1, 2.0 UI] Error when using dhcp range with pre-existing dynamic reservation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Newell Jensen | ||
2.0 |
Fix Released
|
Critical
|
Newell Jensen |
Bug Description
I installed MAAS 2.0.0~rc3+
After importing images, I went to the subnet page and started configuring my network (DNS, gateway). I saw a "Reserved" section with a "dynamic range" button and reserved that.
I also reserved two other static ranges, since I was there, to experiment with. In the end I had this (see screenshot):
10.245.201.1 10.245.201.255 MAAS Dynamic Dynamic
10.245.202.1 10.245.202.255 admin Reserved Static range
10.245.203.1 10.245.207.254 admin Reserved Floating IP
The network is 10.245.
I then went to the default vlan page and tried to provide dhcp. The form that was presented had the dynamic range already filled in, but with incorrect values:
start: 10.245.205.255
end: 10.245.207.254
I changed them to be start=10.245.201.1 and end=10.245.201.255, just like the range I had defined earlier, but that gives me an error in the UI when I try to apply it:
The IPRange could not be created because the data didn't validate
And this backtrace in regiond.log (http://
2016-08-01 10:44:32 [-] Error on request (30) vlan.configure_
Traceback (most recent call last):
File "/usr/lib/
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/
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/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
" validate." % (opts.object_name, fail_message))
Related branches
- Blake Rouse (community): Approve
-
Diff: 273 lines (+186/-6)5 files modifiedsrc/maasserver/static/js/angular/controllers/subnet_details.js (+0/-2)
src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js (+0/-4)
src/maasserver/triggers/tests/test_websocket.py (+3/-0)
src/maasserver/triggers/tests/test_websocket_listener.py (+122/-0)
src/maasserver/triggers/websocket.py (+61/-0)
- Newell Jensen (community): Approve
-
Diff: 273 lines (+186/-6)5 files modifiedsrc/maasserver/static/js/angular/controllers/subnet_details.js (+0/-2)
src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js (+0/-4)
src/maasserver/triggers/tests/test_websocket.py (+3/-0)
src/maasserver/triggers/tests/test_websocket_listener.py (+122/-0)
src/maasserver/triggers/websocket.py (+61/-0)
tags: | removed: kanban-cross-team |
summary: |
- Error when using dhcp range with pre-existing dynamic reservation + [2.1, 2.0 UI] Error when using dhcp range with pre-existing dynamic + reservation |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello Andreas, or anyone else affected,
Accepted maas into yakkety-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ maas/2. 1.0+bzr5480- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!