Bug 1251962
Summary: | kvm-setup.service should include Before=libvirtd.service | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrea Bolognani <abologna> |
Component: | qemu-kvm-rhev | Assignee: | Laurent Vivier <lvivier> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | knoel, lvivier, michen, mrezanin, ngu, qzhang, shuyu, virt-maint, xuhan, zhengtli |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.3.0-18.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-04 16:53:46 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
Andrea Bolognani
2015-08-10 12:13:00 UTC
Fix included in qemu-kvm-rhev-2.3.0-18.el7 Reproduce this issue with "qemu-kvm-rhev-2.3.0-16.el7.ppc64le" Steps: 1.Boot the system 2.[root@ibm-p8-rhevm-11 ~]# virsh capabilities 3.[root@ibm-p8-rhevm-11 ~]#systemctl cat kvm-setup.service Actual result: After step2: [root@ibm-p8-rhevm-11 ~]# virsh capabilities <cpus num='40'> <cpu id='120' socket_id='17' core_id='2208' siblings='120'/> <cpu id='121'/> <cpu id='122'/> <cpu id='123'/> <cpu id='124'/> <cpu id='125'/> <cpu id='126'/> <cpu id='127'/> <cpu id='128' socket_id='17' core_id='2216' siblings='128'/> <cpu id='129'/> <cpu id='130'/> <cpu id='131'/> <cpu id='132'/> <cpu id='133'/> <cpu id='134'/> <cpu id='135'/> <cpu id='136' socket_id='17' core_id='2224' siblings='136'/> <cpu id='137'/> <cpu id='138'/> <cpu id='139'/> <cpu id='140'/> <cpu id='141'/> <cpu id='142'/> <cpu id='143'/> <cpu id='144' socket_id='17' core_id='2272' siblings='144'/> <cpu id='145'/> <cpu id='146'/> <cpu id='147'/> <cpu id='148'/> <cpu id='149'/> <cpu id='150'/> <cpu id='151'/> <cpu id='152' socket_id='17' core_id='2288' siblings='152'/> <cpu id='153'/> <cpu id='154'/> <cpu id='155'/> <cpu id='156'/> <cpu id='157'/> <cpu id='158'/> <cpu id='159'/> </cpus> After step3: [root@ibm-p8-rhevm-11 ~]#systemctl cat kvm-setup.service # /usr/lib/systemd/system/kvm-setup.service [Unit] Description=Perform system configuration to prepare system to run KVM guests # Offlining CPUs can cause irqbalance to throw warnings if it's running Before=irqbalance.service [Service] Type=oneshot EnvironmentFile=-/etc/sysconfig/kvm ExecStart=/usr/lib/systemd/kvm-setup [Install] WantedBy=multi-user.target Verify this bug with "qemu-kvm-rhev-2.3.0-18.el7.ppc64le" Steps: 1.Boot the system 2.[root@ibm-p8-rhevm-11 ~]# virsh capabilities 3.[root@ibm-p8-rhevm-11 ~]#systemctl cat kvm-setup.service Actual result: After step2: [root@ibm-p8-rhevm-11 ~]# virsh capabilities <cpus num='5'> <cpu id='80' socket_id='16' core_id='2080' siblings='80'/> <cpu id='88' socket_id='16' core_id='2096' siblings='88'/> <cpu id='96' socket_id='16' core_id='2144' siblings='96'/> <cpu id='104' socket_id='16' core_id='2152' siblings='104'/> <cpu id='112' socket_id='16' core_id='2160' siblings='112'/> </cpus> After step3: [root@ibm-p8-rhevm-11 ~]#systemctl cat kvm-setup.service # /usr/lib/systemd/system/kvm-setup.service [Unit] Description=Perform system configuration to prepare system to run KVM guests # Offlining CPUs can cause irqbalance to throw warnings if it's running Before=irqbalance.service # libvirtd reads CPU topology at startup, so change it before Before=libvirtd.service [Service] Type=oneshot EnvironmentFile=-/etc/sysconfig/kvm ExecStart=/usr/lib/systemd/kvm-setup [Install] WantedBy=multi-user.target 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-2546.html |