MAAS allows to reserve IP range which includes IPs that are in the list of Used IP addresses
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-
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.
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.
Changed in maas: | |
status: | New → Incomplete |
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?