Using MAAS 2.9.2 deb, deploying a machine - physical or virtual - is no longer working. It pops back to
Failed to allocate the required AUTO IP addresses. There are about 100 IPs available. Logs show this:
Next IP address to allocate from '22.214.171.124/23' has been observed previously: 126.96.36.199 was last claimed by e4:1f:13:81:6e:7c via ens3 (physical) on maas-nimbus-rackd at 2019-06-29 06:23:02.807641.
File "/usr/lib/python3/dist-packages/maasserver/models/node.py", line 4515, in _claim_auto_ips raise StaticIPAddressExhaustion( maasserver.exceptions.StaticIPAddressExhaustion: Failed to allocate the required AUTO IP addresses
This looks a bit like https://bugs.launchpad.net/maas/+bug/1904810
I found 188.8.131.52 in the database,
2227 2019-02-05 01:53:23.261001+00 2019-06-29 06:23:02.807641+00 184.108.40.206 1561789382 \N 137 e4:1f:13:81:6e:7c 6370
I deleted that entry, and got the same error but without the “has been observed previously” mention.
Some part of the subnet are allocated to Dynamic pools to support old nodes deployed with DHCP, which we are phasing out as we redeploy everything to Auto assign. The last time I got this error, I deleted a Dynamic range, and it started working again.
Can anyone suggest what to do next?