Comment 8 for bug 1788115

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/594050
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=690f91b5c7f7e84a4e6d351b27c05818d947cce1
Submitter: Zuul
Branch: master

commit 690f91b5c7f7e84a4e6d351b27c05818d947cce1
Author: Jiří Suchomel <email address hidden>
Date: Tue Aug 21 09:10:07 2018 +0200

    Filter out instances without a host when populating AZ

    It could happen that instance does not have a host set, e.g.
    when its creation failed before it was scheduled.
    During online_migration, populate_missing_availability_zones tries to
    add missing AZs to all instances. However for instances without a host
    there's no reasonable value for AZ (we can't use a logic that bases
    the value on a host) so let's skip this kind of instances completely.

    Change-Id: Ic6060beaa08af5ea70e5e54fffb94eea58aa7bbf
    Closes-Bug: #1788115