Static IP range can be changed with no checks that it would exclude currently allocated IPs

Bug #1338402 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Graham Binns

Bug Description

There are no validation checks on the static range other than to make sure it's inside the interface's network.

There needs to be another check to make sure any changes don't leave currently allocated IPs in limbo outside of the new range.

Tags: qa-ok

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 1.6.0
Graham Binns (gmb)
Changed in maas:
assignee: nobody → Graham Binns (gmb)
status: Triaged → In Progress
Graham Binns (gmb)
Changed in maas:
status: In Progress → Fix Committed
tags: added: needs-qa
Revision history for this message
Julian Edwards (julian-edwards) wrote :

I just played with this and set the lower or upper bound to the same as my allocated IP, and it failed verification. If I moved one beyond that on either bound, it was OK.

The new range should not require me to move one beyond the allocated address.

tags: added: qa-bad
removed: needs-qa
tags: added: qa-ok
removed: qa-bad
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.