Comment 16 for bug 1907775

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/918650
Committed: https://opendev.org/openstack/nova/commit/994358d582e8e8d98a3e8e91ceb77ae354c1e275
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 994358d582e8e8d98a3e8e91ceb77ae354c1e275
Author: Balazs Gibizer <email address hidden>
Date: Fri Dec 10 17:53:30 2021 +0100

    Reject AZ changes during aggregate add / remove host

    After this patch nova rejects the add host to aggregate API action
    if the host has instances and the new aggregate for the host would
    mean that these instances need to move from one AZ (even from the
    default one) to another. Such AZ change is not implemented in nova
    and currently leads to stuck instances.

    Similarly nova will reject remove host from aggregate API action if the
    host has instances and the aggregate removal would mean that the
    instances need to change AZ.

    Depends-On: https://review.opendev.org/c/openstack/tempest/+/821732

    Change-Id: I19c4c6d34aa2cc1f32d81e8c1a52762fa3a18580
    Closes-Bug: #1907775
    (cherry picked from commit 3c0eadae0b9ec48586087ea6c0c4e9176f0aa3bc)