Bug 1121295
Summary: | Odd vCPU topology dropped by libvirt | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Amador Pahim <asegundo> | |
Component: | vdsm | Assignee: | Roy Golan <rgolan> | |
Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 3.4.0 | CC: | bazulay, ecohen, iheim, istein, jraju, lpeer, michal.skrivanek, ofrenkel, pagupta, sherold, yeylon | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | 3.5.0 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | virt | |||
Fixed In Version: | vt2.2 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, the number of sockets configured for a virtual machine exceeded the QEMU limits. This caused the virtual machine to fail to run. Now, VDSM sends a proper socket value number according to configured limits inside the Engine (MaxNumOfVmSockets), so the virtual machine runs with a proper CPU topology that meets the vCPU required.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1126797 (view as bug list) | Environment: | ||
Last Closed: | 2015-02-11 21:12:06 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: | 1070890 | |||
Bug Blocks: | 1126797, 1142923, 1156165 |
Description
Amador Pahim
2014-07-18 22:46:40 UTC
*** Bug 1122014 has been marked as a duplicate of this bug. *** How to verify (after speaking with rgolan): 1. Max VM vcpu cores should be 16 2. Max VM vcpu sockets should be 16 3. The product of vcpu sockets*cores*threads should be equal or smaller than 160. 4. Check in engine-config the values of max vcpu cores, and max vcpu sockets. 5. Check in vdsm.log, VM xml, that following start VM, after setting, for example: cores = 16, sockets = 8, threads = 1, that the maximum vcpu in xml = 124 (the product of these 3 params). Verified on vt6: 1. Max VM vcpu cores should be 16 - OK 2. Max VM vcpu sockets should be 16 - OK 3. The product of vcpu sockets*cores <=160 - OK 4. Check in engine-config the values of max vcpu cores, and max vcpu sockets. [root@dhcp160-207 ~]# engine-config -g MaxNumOfCpuPerSocket MaxNumOfCpuPerSocket: 16 version: 3.0 MaxNumOfCpuPerSocket: 16 version: 3.1 MaxNumOfCpuPerSocket: 16 version: 3.2 MaxNumOfCpuPerSocket: 16 version: 3.3 MaxNumOfCpuPerSocket: 16 version: 3.4 MaxNumOfCpuPerSocket: 16 version: 3.5 [root@dhcp160-207 ~]# engine-config -g MaxNumOfVmCpus MaxNumOfVmCpus: 160 version: 3.1 MaxNumOfVmCpus: 160 version: 3.2 MaxNumOfVmCpus: 160 version: 3.3 MaxNumOfVmCpus: 160 version: 3.4 MaxNumOfVmCpus: 160 version: 3.5 MaxNumOfVmCpus: 64 version: 3.0 5. Check in vdsm.log, VM xml, that following start VM, the maximum vcpu in xml = cores * sockets * threads 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-0159.html |