Comment 8 for bug 1898715

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

Reviewed: https://review.opendev.org/758760
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=45a4110d20a574d0c43431a4b87497920c9cbe06
Submitter: Zuul
Branch: stable/victoria

commit 45a4110d20a574d0c43431a4b87497920c9cbe06
Author: Andrew Bonney <email address hidden>
Date: Tue Oct 6 14:42:38 2020 +0100

    Handle disabled CPU features to fix live migration failures

    When performing a live migration between hypervisors running
    libvirt, where one or more CPU features are disabled, nova does
    not take account of these. This results in migration failures
    as none of the available hypervisor targets appear compatible.

    This patch ensures that the libvirt 'disable' poicy is taken
    account of, at least in a basic sense, by explicitly ignoring
    items flagged in this way when enumerating CPU features.

    Closes-Bug: #1898715
    Change-Id: Iaf14ca97cfac99dd280d1114123f2d4bb6292b63
    (cherry picked from commit eeeca4ceff576beaa8558360c8a6a165d716f996)