Bug 1716908
Summary: | 'cannot set CPU affinity' error when starting guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Andrea Bolognani <abologna> |
Component: | libvirt | Assignee: | Andrea Bolognani <abologna> |
Status: | CLOSED ERRATA | QA Contact: | jiyan <jiyan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | jdenemar, jiyan, rbalakri, yalzhang |
Target Milestone: | rc | ||
Target Release: | 8.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-4.5.0-25.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-05 20:50:11 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: | 1716943 | ||
Bug Blocks: |
Description
Andrea Bolognani
2019-06-04 11:36:34 UTC
*** Bug 1724408 has been marked as a duplicate of this bug. *** Hi I am trying to reproduce this issue on libvirt-4.5.0-23.module+el8.1.0+2983+b2ae9c0a.x86_64 using the way in https://bugzilla.redhat.com/show_bug.cgi?id=1703661#c28 for many times. But I failed, could you please check whether this issue exists in this version? thank you. Version: libvirt-4.5.0-23.module+el8.1.0+2983+b2ae9c0a.x86_64 qemu-kvm-2.12.0-80.module+el8.1.0+3572+48154135.x86_64 kernel-4.18.0-109.el8.x86_64 Steps: # virsh domstate test shut off # virsh dumpxml test --inactive |grep "<vcpu" -A3 <vcpu placement='static'>1</vcpu> <numatune> <memory mode='strict' nodeset='1'/> </numatune> # cat /sys/devices/system/cpu/cpu1/online 0 # numactl --hard available: 2 nodes (0-1) node 0 cpus: 0 2 3 4 5 node 0 size: 15932 MB node 0 free: 15436 MB node 1 cpus: 6 7 8 9 10 11 node 1 size: 16101 MB node 1 free: 15560 MB node distances: node 0 1 0: 10 20 1: 20 10 # virsh start test Domain test started # virsh dumpxml test |grep "<vcpu" -A3 <vcpu placement='static'>1</vcpu> <numatune> <memory mode='strict' nodeset='1'/> </numatune> VM starts successfully here. (In reply to jiyan from comment #4) > Hi I am trying to reproduce this issue on > libvirt-4.5.0-23.module+el8.1.0+2983+b2ae9c0a.x86_64 using the way in > https://bugzilla.redhat.com/show_bug.cgi?id=1703661#c28 for many times. > But I failed, could you please check whether this issue exists in this > version? thank you. > > Version: > libvirt-4.5.0-23.module+el8.1.0+2983+b2ae9c0a.x86_64 > qemu-kvm-2.12.0-80.module+el8.1.0+3572+48154135.x86_64 > kernel-4.18.0-109.el8.x86_64 For RHEL 7, the issue was introduced in libvirt-4.5.0-13.el7 while addressing Bug 1695434, and subsequently fixed in libvirt-4.5.0-20.el7 (tracked by Bug 1703661): any libvirt version in between those two can be used to reproduce the incorrect behavior. For RHEL 8, the corresponding trackers are Bug 1716943 and Bug 1716908 respectively, both of which have been addressed in libvirt-4.5.0-25.el8, so there's no libvirt version you can use to reproduce the incorrect behavior. Hope that cleared up the situation! I agree it's pretty confusing, and in fact I had to do some digging of my own before I could confidently write the above :) Verified this bug on libvirt-4.5.0-28.module+el8.1.0+3531+2918145b.x86_64 Version: libvirt-4.5.0-28.module+el8.1.0+3531+2918145b.x86_64 qemu-kvm-2.12.0-80.module+el8.1.0+3572+48154135.x86_64 kernel-4.18.0-109.el8.x86_64 Steps: # numactl --hard available: 2 nodes (0-1) node 0 cpus: 0 2 3 4 5 node 0 size: 15932 MB node 0 free: 15241 MB node 1 cpus: 6 7 8 9 10 11 node 1 size: 16101 MB node 1 free: 15408 MB node distances: node 0 1 0: 10 20 1: 20 10 virsh domstate test shut off # virsh dumpxml test --inactive |grep "<vcpu" -A3 <vcpu placement='static'>1</vcpu> <numatune> <memory mode='strict' nodeset='1'/> </numatune> # echo 0 > /sys/devices/system/cpu/cpu1/online # cat /sys/devices/system/cpu/cpu1/online 0 # virsh start test Domain test started # virsh dumpxml test |grep "<vcpu" -A3 <vcpu placement='static'>1</vcpu> <numatune> <memory mode='strict' nodeset='1'/> </numatune> The test result is asexpected, move this bug to be verified. 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/RHSA-2019:3345 |