Comment 17 for bug 2056613

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

Reviewed: https://review.opendev.org/c/openstack/nova/+/913227
Committed: https://opendev.org/openstack/nova/commit/c6e1b44134d4c82c81b34e90cdb68644c7485f08
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit c6e1b44134d4c82c81b34e90cdb68644c7485f08
Author: Artom Lifshitz <email address hidden>
Date: Wed Feb 21 19:58:32 2024 -0500

    pwr mgmt: handle live migrations correctly

    Previously, live migrations completely ignored CPU power management.
    This patch makes sure that we correctly:

    * Power up the cores on the destination during pre_live_migration, as
      we need them powered up before the instance starts on the
      destination.
    * If the live migration is successful, power down the vacated cores on
      the source.
    * In case of a rollback, power down the cores previously powered up on
      pre_live_migration.

    Closes-bug: 2056613
    Change-Id: I787bd7807950370cd865f29b95989d489d4826d0
    (cherry picked from commit c1ccc1a3165ec1556c605b3b036274e992b0a09d)
    (cherry picked from commit c5a73e6c7227f199bfa0b66c6ef0c2730d70c3b2)