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)
Reviewed: https:/ /review. opendev. org/758760 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=45a4110d20a 574d0c43431a4b8 7497920c9cbe06
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit 45a4110d20a574d 0c43431a4b87497 920c9cbe06
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 dd280d1114123f2 d4bb6292b63 aa8558360c8a6a1 65d716f996)
Change-Id: Iaf14ca97cfac99
(cherry picked from commit eeeca4ceff576be