Comment 7 for bug 1854126

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

Reviewed: https://review.opendev.org/701525
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7d7a3ba70a36f05b07ee471490f1b587663348f8
Submitter: Zuul
Branch: stable/train

commit 7d7a3ba70a36f05b07ee471490f1b587663348f8
Author: jichenjc <email address hidden>
Date: Wed Dec 4 03:34:23 2019 +0000

    libvirt: avoid cpu check at s390x arch

    nova compute will call check_can_live_migrate_destination when doing
    live migration and it will compare cpu model, however, following info
    indicated that cpu compare is not supported at s390x arch.

    URI qemu:///system does not support full set of host capabilities: this
    function is not supported by the connection driver:
    cannot compute baseline CPU of s390x architecture

    https://www.libvirt.org/news.html has the info
    v5.9.0 has Improvements part indicated the compare was added at 5.9

    so the workaround is to avoid the check and let the migration proceed.

    Change-Id: I253f4f305ecf8b5331212be87caef41f2ebb747e
    Closes-Bug: 1854126
    (cherry picked from commit 011cce6adb30c50737b45ec02e161fd71ab5b3e3)