[2.0] The IP of a Machine's BMC is not listed on the subnet details page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
A BMC has an ip such: 192.168.122.2
The Subnet details page does not list it:
192.168.122.1 Static unleashed virbr0 Rack and region controller MAAS Wed, 24 Aug. 2016 11:39:14
192.168.122.190 Observed node03 eth0 Machine MAAS Wed, 24 Aug. 2016 11:39:12
192.168.122.191 Observed node02 eth1 Machine MAAS Wed, 24 Aug. 2016 11:39:12
192.168.122.192 Observed node01 eth0 Machine MAAS Wed, 24 Aug. 2016 11:39:15
So, I tried to add a device in MAAS with the IP above, and the result was:
2016-08-24 11:40:55 [-] Error on request (88) device.create: IP address is already in use.
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
"IP address is already in use.")
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 496 lines (+223/-38)12 files modifiedsrc/maasserver/api/subnets.py (+11/-3)
src/maasserver/api/tests/test_subnets.py (+29/-6)
src/maasserver/models/staticipaddress.py (+29/-2)
src/maasserver/models/subnet.py (+10/-2)
src/maasserver/models/tests/test_staticipaddress.py (+3/-3)
src/maasserver/models/tests/test_subnet.py (+76/-2)
src/maasserver/static/js/angular/controllers/subnet_details.js (+15/-6)
src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js (+31/-7)
src/maasserver/static/partials/subnet-details.html (+1/-1)
src/maasserver/testing/factory.py (+16/-4)
src/maasserver/websockets/handlers/subnet.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_subnet.py (+1/-1)
no longer affects: | maas/2.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
As of MAAS 2.2, these are actually listed on the subnet details page, but they show up as "Unknown".
We could do a better job indicating the usage of each IP address.