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/701526 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=21642202ffe 834a8086d428dd5 00bf09413bc002
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 21642202ffe834a 8086d428dd500bf 09413bc002
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) b07ee471490f1b5 87663348f8)
Closes-Bug: 1854126
(cherry picked from commit 011cce6adb30c50
(cherry picked from commit 7d7a3ba70a36f05