Comment 15 for bug 1348663

Revision history for this message
Michael Foord (mfoord) wrote :

As far as I can tell we don't release DHCP leases even in the graceful shutdown cases (neither remove-machine on a container nor a destroy-environment without force). The MAAS DHCPLease database seems to still contain all dhcp leases.

The new "addressable containers" in 1.23 (behind a feature flag) will address this for containers by explicitly acquiring IP addresses from the provider and releasing them. Any reason for the machine agent in the container not to call release on graceful shutdown in the meantime? (In 1.23 / 1.24.)