MAAS allows to reserve IP range which includes IPs that are in the list of Used IP addresses

Bug #2036996 reported by Anna Savchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Undecided
Unassigned

Bug Description

MAAS allows reserving IP range despite of the fact that these two IPs are in the list of Used IP addresses. This results in IP collision.

$ snap list maas
Name Version Rev Tracking Publisher Notes
maas 3.2.9-12055-g.c3d5597a7 29774 3.2/stable canonical✓ -

MAAS UI was used to reproduce the issue.

How to reproduce the issue:

1. Go to subnets and click on the subnet in which you want to reserve IP range.

2. Search for IPs that you want to use (for bug reproduction) in the list of Used IP addresses.
E.g.
IP addresses - 10.131.16.61
Type - Automatic
Node - juju-3.canonical.com
Interface - ens4
Usage - Machine
Owner - root
Last Seen - Mon, 03 Jul. 2023 14:56:53

3. Click on Reserve Range button.
Start IP address - 10.131.16.61
End IP address -10.131.16.62
Purpose - test

Then click on Reserve.

MAAS will not complain that 10.131.16.61 is used by node juju-3.canonical.com.

Revision history for this message
Jacopo Rota (r00ta) wrote :

Hi Anna,

I'm unsure about this. I think it's fine to allow the user to set a reserved range from X to Y and assign a static IP to a machine within this range for example. The other way around should be valid as well. wdyt?

Jacopo Rota (r00ta)
Changed in maas:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
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.