Comment 16 for bug 1821755

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/798717
Committed: https://opendev.org/openstack/nova/commit/a22d1b04de9e6ebc33b5ab9871b86f8e4022e7a9
Submitter: "Zuul (22348)"
Branch: stable/train

commit a22d1b04de9e6ebc33b5ab9871b86f8e4022e7a9
Author: Rodrigo Barbieri <email address hidden>
Date: Wed Mar 31 11:06:49 2021 -0300

    Error anti-affinity violation on migrations

    Error-out the migrations (cold and live) whenever the
    anti-affinity policy is violated. This addresses
    violations when multiple concurrent migrations are
    requested.

    Added detection on:
    - prep_resize
    - check_can_live_migration_destination
    - pre_live_migration

    The improved method of detection now locks based on group_id
    and considers other migrations in-progress as well.

    Closes-bug: #1821755
    Change-Id: I32e6214568bb57f7613ddeba2c2c46da0320fabc
    (cherry picked from commit 33c8af1f8c46c9c37fcc28fb3409fbd3a78ae39f)
    (cherry picked from commit 8b62a4ec9bf617dfb2da046c25a9f76b33516508)
    (cherry picked from commit 6ede6df7f41db809de19e124d3d4994180598f19)
    (cherry picked from commit bf90a1e06181f6b328b967124e538c6e2579b2e5)