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
Reviewed: https:/ /review. opendev. org/701525 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7d7a3ba70a3 6f05b07ee471490 f1b587663348f8
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 7d7a3ba70a36f05 b07ee471490f1b5 87663348f8
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: I253f4f305ecf8b 5331212be87caef 41f2ebb747e 737b45ec02e161f d71ab5b3e3)
Closes-Bug: 1854126
(cherry picked from commit 011cce6adb30c50