libvirt CPU power management does not support live migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Unassigned |
Bug Description
Description
===========
libvirt CPU power management does not support live migration
Steps to reproduce
==================
1. Turn on libvirt CPU power management
2. Boot an instance with hw:cpu_
3. Live migrate the instance
Expected result
===============
Live migration succeeds.
Actual result
=============
Live migration fails with the following libvirt error in the source nova-compute logs:
[instance: afdd5e62-
Feb 21 19:21:15.045216 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Feb 21 19:21:15.045387 np0036828692 nova-compute[
Environment
===========
This was originally noticed in a whitebox CI job [1] on devstack master.
Additional info
===============
Regardless of whether NUMA live migration has changed the underlying CPU pinnings, it's necessary to make sure the cores are powered up on the destination, otherwise libvirt attempts to pin the instance to an offline core. Nova doesn't handle that. With some refactoring to the code itself, it's possible to observe the cores not being powered on in functional tests.
[1] https:/
Changed in nova: | |
importance: | Undecided → Critical |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Critical → High |
Seems to me that without live migration, libvirt CPU power management if of very limited use, so setting this to critical.