Removing staticly assigned IP addresses


#1

So I have a lot of ‘unused’ IP addresses that I cannot reuse. How can I remove these addresses, and why isnt there a button for removing them within the subnet page?
Every time I fail a commission (which happens a lot, due to a laundry list of bugs) the interface loses its settings, and wants a new address. I would love to just delete most of the IP addresses so I can reuse them.


#2

Hi there,

You can release IP address with:

maas ipaddresses release ip= <force=True>

That said, do you happen to know who owned those IP addresses? Because it looks strange to me that those wouldn’t get auto-released.


#3

they were owned by 2 machines who when failed commissioning would reset their interface settings.

Thanks for the answer!