Bug 1035955
| Summary: | Need better error message for NUMA memory tuning | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jincheng Miao <jmiao> |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | CC: | acathrow, dyuan, gsun, honzhang, mzhan, zhwang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-1.1.1-15.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 10:24:08 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: | |
| Embargoed: | |||
Patch proposed upstream: https://www.redhat.com/archives/libvir-list/2013-December/msg00210.html Moving to POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-December/msg00230.html This fix is verified on libvirt-1.1.1-15.el7:
# virsh edit virt-tests-vm1
...
<vcpu placement='static'>3</vcpu>
<numatune>
<memory mode='preferred' nodeset='2-3'/>
</numatune>
...
# virsh start virt-tests-vm1
error: Failed to start domain virt-tests-vm1
error: internal error: Process exited prior to exec: libvirt: error : internal error: Nodeset is out of range, host cannot support NUMA node bigger than 3
So I change the status to VERIFIED.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |
Description of problem: It needs a better error message when detecting a error for NUMA memory tuning. Version-Release number of selected component (if applicable): libvirt-1.1.1-13.el7.x86_64 qemu-kvm-rhev-1.5.3-20.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. define a guest with two preferred nodes, as we known it is wrong: # virsh edit kvm-rhel6.5-x86_64-qcow2-virtio ... <vcpu placement='static'>3</vcpu> <numatune> <memory mode='preferred' nodeset='2-3'/> </numatune> ... 2. start it, we cann't see the real error # virsh start kvm-rhel6.5-x86_64-qcow2-virtio error: Failed to start domain kvm-rhel6.5-x86_64-qcow2-virtio error: Child quit during startup handshake: Input/output error 3. check out qemu.log # tail /var/log/libvirt/qemu/kvm-rhel6.5-x86_64-qcow2-virtio.log libvirt: error : internal error: NUMA memory tuning in 'preferred' mode only supports single node Actual results: error message is hide in qemu.log Expected results: show error message when virsh return.