Discoveries are never forgoten
Bug #1671520 reported by
Ante Karamatić
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
On MAAS 2.2b2 I see lots of discovered machine:
ubuntu@maas:~$ maas maas discoveries read | grep resource_uri | wc -l
231
But those machines have not been on the network for extensive time. With the exception of one, all of those machines were even managed by MAAS and deleted within MAAS. This is combination of bare metal machines and LXDs that have been running on those machines, deployed with juju. I don't know if MAAS keeps track of those IPs and, maybe, refuses to issue those IPs to new nodes?
Expectation was that MAAS will not 'discover' nodes that it manages?
Changed in maas: | |
milestone: | none → next |
tags: | added: fff |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
I think it's actually useful that MAAS "discover" things that it manages. It's like double-entry accounting that, yes, the machine is using the IP and MAC we thought it would use.
Note that in your case you can clear out all your discoveries and start fresh with:
maas maas discoveries clear
You can also filter the list of discoveries so that they only include unknown IPs and MACs, like what is shown in the dashboard:
maas maas discoveries by-unknown- ip-and- mac