Bug 1456793
| Summary: | virsh nodecpumap shows wrong cpus present output | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Krempa <pkrempa> |
| Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
| Status: | CLOSED ERRATA | QA Contact: | Luyao Huang <lhuang> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.4 | CC: | bugproxy, dyuan, hannsj_uhl, jkachuck, lhuang, libvirt-maint, mzhan, pkrempa, rbalakri, xuzhang, yalzhang |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | 7.4 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-3.2.0-7.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-02 01:34:35 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1446211 | ||
|
Description
Peter Krempa
2017-05-30 11:41:15 UTC
I can reproduce this issue on libvirt-3.2.0-6.el7.x86_64: # virsh nodecpumap CPUs present: 16 CPUs online: 16 CPU map: yyyyyyyyyyyyyyyy # echo 0 > /sys/devices/system/cpu/cpu15/online # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-14 Off-line CPU(s) list: 15 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 2 NUMA node(s): 4 Vendor ID: AuthenticAMD CPU family: 21 Model: 2 Model name: AMD Opteron(tm) Processor 6320 Stepping: 0 CPU MHz: 2800.000 CPU max MHz: 2800.0000 CPU min MHz: 1400.0000 BogoMIPS: 5586.17 Virtualization: AMD-V L1d cache: 16K L1i cache: 64K L2 cache: 2048K L3 cache: 6144K NUMA node0 CPU(s): 0,2,4,6 NUMA node1 CPU(s): 8,10,12,14 NUMA node2 CPU(s): 1,3,5,7 NUMA node3 CPU(s): 9,11,13 # virsh nodecpumap CPUs present: 15 CPUs online: 15 CPU map: yyyyyyyyyyyyyyy And verify this issue on libvirt-3.2.0-7.el7.x86_64: 1. # echo 0 > /sys/devices/system/cpu/cpu15/online 2. # virsh nodecpumap CPUs present: 16 CPUs online: 15 CPU map: yyyyyyyyyyyyyyy- *** Bug 1459050 has been marked as a duplicate of this bug. *** ------- Comment From satheera.com 2017-07-14 00:39 EDT------- Verified on libvirt-3.2.0-15.el7a.ppc64le and working fine. Closing. # virsh nodecpumap --pretty CPUs online: 16 CPU map: 0-15 [root@ltc-boston8 ~]# virsh nodecpumap --pretty CPUs present: 16 CPU map: 0-14 #echo 1 > /sys/devices/system/cpu/cpu15/online # virsh nodecpumap --pretty CPUs present: 16 CPUs online: 16 CPU map: 0-15 # rpm -qa|grep libvirt-[0-9] libvirt-3.2.0-15.el7a.ppc64le 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://access.redhat.com/errata/RHEA-2017:1846 |