Comment 5 for bug 1933690

Revision history for this message
Ian Booth (wallyworld) wrote : Re: openstack : juju doesn't distribute units across AZs

In investigating this bug, I have found a related issue. To allocate machines across AZs, the provisioner worker maintains a list of the AZs and how many machines are in each one. But, this list is reset any time the controller agent restarts, so after an upgrade for example, all the known machine allocations are set back to 0 and Juju makes poor decisions from that point about how to allocate the machines. So this makes the issue as one that needs fixing.