Comment 5 for bug 2009805

Revision history for this message
Björn Tillenius (bjornt) wrote : Re: [3.3.1 rc] machine deploy install_kvm=True fails

The problem is in _get_ip_address_for_vmhost(). It gets any IP that's associated with the boot interface and any of its parents, and then return one of it.

We need to check what kind of IPs they are, so that we return one that MAAS configured the machine to have. What happens now it is that sometimes the right IP is returned, sometimes the machine it used while commissioning.

FWIW, deploying a second time made it work for me. It's only when I deploy right after commissioning the machine that I see this problem.