Live migration does not update numa hugepages info in xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
High
|
Stephen Finucane |
Bug Description
Description
===========
Live migration is not update instance numa hugepages info in xml.
if the numa hugepages info of source host is different from the
numa hugepages info of destation host, then instance in destation
host can not start normally, result in the live-migration is failed.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue:
* There are two compute nodes(host1 and host2).
The two hosts have same numa topolopy and all have two numa nodes,
each numa node has eight cpus.
* I boot two instances(A and B) to the compute nodes, instance A
is located on host1 and instance B is located on host2.
The two instances are all dedicated cpu_policy and use hugepages.
Each instance has eight cpus. Instance A is located on the numa node1
of host1 and instance B is located on the numa node1 of host2.
* Then I live migrate the instance A, the scheduler selects the numa node2 of host2, but because of the numa hugepages info of xml is not updated, the instance in destation host starts error.
Expected result
===============
The live-migration of the instance is success.
Actual result
=============
The live-migration of the instance is failed and somthing resembling the following error is produced:
ERROR nova.virt.
ERROR nova.virt.
The reason is that the NUMA hugepages info of XML is not updated:
<numatune>
<memory mode='strict' nodeset='0'/>
<memnode cellid='0' mode='strict' nodeset='0'/>
</numatune>
In the above, numatune/
Environment
===========
1. Exact version of OpenStack
Mitaka
2. Which hypervisor did you use?
Libvirt + KVM
3. Which networking type did you use?
Neutron with OpenVSwitch
tags: | added: hugepages live-migration numa |
description: | updated |
description: | updated |
summary: |
- Live migraion is not update numa hugepages info in xml + Live migration does not update numa hugepages info in xml |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Stephen Finucane (stephenfinucane) → nobody |
Could you provide some logs demonstrating the errors that you receive?