Comment 2 for bug 1499571

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

Ok, I think I have it. When a new machine is created (in this case the bootstrap machine) a new record is created using State.machineDocForTemplates. This *does not* set any preferred addresses - so PreferredPublicAddress (and Private) will return "no address" error until the first time SetMachineAddresses or SetProviderAddresses is called. I can update the creation of new machines to also set the preferred addresses.