[2.2] Static addresses can be allocated in dynamic range

Bug #1677573 reported by Gavin Panella
32
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=34:45:23:76:ab:dc

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.

Tags: networking

Related branches

Revision history for this message
Gavin Panella (allenap) wrote :
Changed in maas:
status: New → Triaged
importance: Undecided → Critical
tags: added: networking
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Gavin,

Did your devices DHCP'd from MAAS with these IP addresses?

Changed in maas:
milestone: none → 2.2.0rc1
Revision history for this message
Gavin Panella (allenap) wrote :

> Did your devices DHCP'd from MAAS with these IP addresses?

This device was fictional; the MAC was made up.

Changed in maas:
status: Triaged → Fix Committed
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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