MAAS assigns IP addresses on unmanaged subnets without consideration for some addresses known to be in use
Bug #1519077 reported by
Mike Pontillo
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
1.9 |
Fix Released
|
High
|
Unassigned |
Bug Description
When MAAS assigns IP addresses on unmanaged subnets, it does not consider the following classes of IP addresses (which can be known-to-be-in-use, per the range usage code):
- Cluster IP addresses
- Gateway IP addresses
- DNS servers
- BMC addresses*
* not currently implemented
When MAAS assigns or validates IP new static addresses, it must exclude these addresses.
Related branches
lp://staging/~mpontillo/maas/ip-allocation-bugs-1.9
- Blake Rouse (community): Approve
-
Diff: 935 lines (+533/-60)13 files modified.idea/encodings.xml (+3/-1)
.idea/vcs.xml (+0/-6)
src/maasserver/api/devices.py (+17/-7)
src/maasserver/api/tests/test_devices.py (+125/-11)
src/maasserver/models/interface.py (+96/-18)
src/maasserver/models/node.py (+5/-1)
src/maasserver/models/nodegroupinterface.py (+37/-3)
src/maasserver/models/staticipaddress.py (+9/-4)
src/maasserver/models/subnet.py (+8/-1)
src/maasserver/models/tests/test_interface.py (+114/-4)
src/maasserver/models/tests/test_nodegroupinterface.py (+35/-0)
src/maasserver/testing/factory.py (+14/-4)
utilities/remote-reinstall (+70/-0)
lp://staging/~mpontillo/maas/ip-allocation-fixes-trunk
- Blake Rouse (community): Approve
-
Diff: 982 lines (+548/-54)15 files modified.idea/encodings.xml (+3/-1)
.idea/maas.iml (+1/-1)
.idea/misc.xml (+1/-1)
.idea/vcs.xml (+0/-6)
src/maasserver/api/devices.py (+17/-7)
src/maasserver/api/tests/test_devices.py (+133/-0)
src/maasserver/models/interface.py (+98/-20)
src/maasserver/models/node.py (+5/-1)
src/maasserver/models/nodegroupinterface.py (+37/-3)
src/maasserver/models/staticipaddress.py (+9/-4)
src/maasserver/models/subnet.py (+8/-1)
src/maasserver/models/tests/test_interface.py (+115/-5)
src/maasserver/models/tests/test_nodegroupinterface.py (+35/-0)
src/maasserver/testing/factory.py (+14/-4)
utilities/remote-reinstall (+72/-0)
To post a comment you must log in.
Is this fixed in MAAS 1.9 in the stable PPA?