yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85050
[Bug 1898715] Re: Live migration fails despite matching CPUs
** Changed in: nova/ussuri
Status: New => Fix Committed
** Also affects: nova/train
Importance: Undecided
Status: New
** Changed in: nova/train
Status: New => In Progress
** Changed in: nova
Importance: Undecided => High
** Changed in: nova/ussuri
Importance: Undecided => High
** Changed in: nova/train
Importance: Undecided => High
** Changed in: nova/victoria
Importance: Undecided => High
** Changed in: nova/train
Assignee: (unassigned) => Stephen Finucane (stephenfinucane)
** Changed in: nova/ussuri
Assignee: (unassigned) => Stephen Finucane (stephenfinucane)
** Changed in: nova/victoria
Assignee: (unassigned) => Stephen Finucane (stephenfinucane)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1898715
Title:
Live migration fails despite matching CPUs
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) train series:
In Progress
Status in OpenStack Compute (nova) ussuri series:
Fix Committed
Status in OpenStack Compute (nova) victoria series:
Fix Released
Bug description:
Having upgraded to Ussuri, we've noted that live migrations now always
fail across our hosts with newer Intel CPUs (identified by libvirt as
Cascadelake-Server-noTSX).
When processing the CPU's features, the calls made by Nova to libvirt
appear to result in an XML segment which includes 'policy' keys for
each feature which may be set to 'disable'. When Nova interprets this
(see
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/host.py#L699
and
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/config.py#L670)
the 'policy' key does not appear to be handled, resulting in more CPU
features being recorded against the hypervisor than it really has.
When a live migration is scheduled, these additional feature
requirements are then passed to the remote host which compares with
its running features and identifies they are incompatible, despite the
CPUs being identical. As a result we're currently unable to live
migrate any VMs between hosts which use these CPUs.
Further debug output is included in
http://paste.openstack.org/show/798740/
Nova stable/ussuri 7d556106bfd3e64860dc26226d364876e8bce43c
Ubuntu 18.04
libvirt 6.0.0-0ubuntu8.2~cloud0
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1898715/+subscriptions
References