[2.2] Static addresses can be allocated in dynamic range
Bug #1677573 reported by
Gavin Panella
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
2.1 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I was able to create a new device on my home MAAS installation:
$ maas madness devices create mac_addresses=
then allocate multiple addresses to it:
$ while maas madness interface link-subnet \
> r8k6xa eth0 mode=STATIC subnet=1; do sleep 1; done
Before the non-reserved ranges were exhausted this allocated two
addresses in a dynamic range. See the attached screenshot for details.
Related branches
lp://staging/~mpontillo/maas/ip-allocation-from-incorrect-range--bug-1677507--2.1
- Mike Pontillo (community): Approve
-
Diff: 71 lines (+37/-2)3 files modifieddocs/changelog.rst (+9/-0)
src/maasserver/models/subnet.py (+11/-2)
src/maasserver/models/tests/test_subnet.py (+17/-0)
lp://staging/~mpontillo/maas/ip-allocation-from-incorrect-range--bug-1677507
- Blake Rouse (community): Approve
-
Diff: 73 lines (+50/-2)2 files modifiedsrc/maasserver/models/subnet.py (+11/-2)
src/maasserver/models/tests/test_subnet.py (+39/-0)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Gavin,
Did your devices DHCP'd from MAAS with these IP addresses?