Comment 2 for bug 1798671

Revision history for this message
Andres Rodriguez (andreserl) wrote :

A machine that failed to deploy still holds the IP addresses that were assigned to the machine. However, rescue mode and other ephemeral environments get network from the /dynamic/ range and not from the static network configuration because it could be the very same reason why it fails to deploy/configure/etc.

That said, I feel like this bug has already been previously filed. Either way, I have a couple quetsions:

1. As soon as the machine PXE booted of MAAS (before it even got to the OS), did the UI show the IP address the machine got at all ? If not, can you check?

2. The reason why I ask above is that MAAS can only know what IP address it has if, and only if, the DHCP notifies MAAS of the IP the machine has received. There's a bug in cloud-init-ramfs or related tools where they copy the config the initrams into the ephemeral environment and the machine won't renew the IP address, hence it gets automatically removed. So in your case, the UI may have been updated correctly, but you didn't see it because the lease expired and wasn't renewed, but the machine already owned that IP.