Summary: | Per-node memory binding lost when 'auto' vcpu placement without <memory> placement | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jincheng Miao <jmiao> |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | dyuan, honzhang, lhuang, mzhan, rbalakri |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.13-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-19 06:08:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: |
Description
Jincheng Miao
2015-01-27 09:52:49 UTC
Fixed upstream: commit 638e3d270fc4b1ebeab0d139c2b4e54f590eb8b5 Author: Peter Krempa <pkrempa> Date: Thu Feb 12 16:04:45 2015 +0100 conf: numa: Refactor logic in virDomainNumatuneParseXML Shuffling around the logic will allow to simplify the code quite a bit. As an additional bonus the change in the logic now reports an error if automatic placement is selected and individual placement is configured. v1.2.12-174-g638e3d2 I can reproduce this issue with libvirt-1.2.8-16.el7.x86_64: 1. add <memnode> in numatune settings: # virsh edit test3 ... <vcpu placement='auto'>4</vcpu> <numatune> <memnode cellid="0" mode="strict" nodeset="1"/> <memnode cellid="1" mode="preferred" nodeset="0"/> </numatune> ... 2. recheck the xml: # virsh dumpxml test3 ... <vcpu placement='auto' current='1'>2</vcpu> <numatune> <memory mode='strict' placement='auto'/> </numatune> ... And verify this bug with libvirt-1.2.15-2.el7.x86_64: 1. try to add <memnode> in numatune settings and set numa placement is auto: # virsh edit test3 <vcpu placement='auto'>4</vcpu> <numatune> <memnode cellid="0" mode="strict" nodeset="1"/> <memnode cellid="1" mode="preferred" nodeset="0"/> </numatune> error: unsupported configuration: Per-node binding is not compatible with automatic NUMA placement. Failed. Try again? [y,n,i,f,?]: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2202.html |