Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1077539

Summary: CPU unplug fails but the number of CPUs is decreased
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: ovirt-engineAssignee: Roy Golan <rgolan>
Status: CLOSED DUPLICATE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, gklein, iheim, lpeer, michal.skrivanek, ofrenkel, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-24 09:12:52 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:

Description Ilanit Stein 2014-03-18 08:29:03 UTC
Description of problem:
Though cpu unplug fail (4->2 for example), the cpu number in the edit VM is kept as defined for the unplug (2)

Unplug Error (Please also fix typo "Message: Faild..."):
2014-03-17 13:26:57,140 INFO  [org.ovirt.engine.core.bll.HotSetNumberOfCpusCommand] (ajp-/127.0.0.1:8702-6) [3b311017] Running command: HotSetNumberOfCpusCommand internal: true. Entities affected :  ID: 45ea6762-d757-4878-a582-0fed0134da21 Type: VM
2014-03-17 13:26:57,142 INFO  [org.ovirt.engine.core.vdsbroker.SetNumberOfCpusVDSCommand] (ajp-/127.0.0.1:8702-6) [3b311017] START, SetNumberOfCpusVDSCommand(HostName = lilach-vdsb.tlv.redhat.com, HostId = e265dd29-6f62-4bb2-8474-168e4950f3db, vmId=45ea6762-d757-4878-a582-0fed0134da21), log id: 151c679b
2014-03-17 13:26:57,162 ERROR [org.ovirt.engine.core.vdsbroker.SetNumberOfCpusVDSCommand] (ajp-/127.0.0.1:8702-6) [3b311017] Command SetNumberOfCpusVDSCommand(HostName = lilach-vdsb.tlv.redhat.com, HostId = e265dd29-6f62-4bb2-8474-168e4950f3db, vmId=45ea6762-d757-4878-a582-0fed0134da21) execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to SetNumberOfCpusVDS, error = Operation not supported: qemu didn't unplug the vCPUs properly
2014-03-17 13:26:57,162 INFO  [org.ovirt.engine.core.vdsbroker.SetNumberOfCpusVDSCommand] (ajp-/127.0.0.1:8702-6) [3b311017] FINISH, SetNumberOfCpusVDSCommand, log id: 151c679b
2014-03-17 13:26:57,170 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-6) [3b311017] Correlation ID: 3b311017, Call Stack: null, Custom Event ID: -1, Message: Faild to hot set number of CPUS to VM rhel. Underlying error message: Operation not supported: qemu didn't unplug the vCPUs properly
2014-03-17 13:26:57,187 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-6) [3b311017] Correlation ID: 7c68f442, Job ID: df52084b-87f6-4896-a190-4673f762a455, Call Stack: null, Custom Event ID: -1, Message: VM rhel configuration was updated by admin.


Version-Release number of selected component (if applicable):
av2

Comment 1 Omer Frenkel 2014-03-19 08:11:01 UTC
there is a known issue with hot-unplug, we are probably going to disable this until we have proper support for unplug

Comment 2 Michal Skrivanek 2014-03-24 09:12:52 UTC
we're going with disabling the hotplug in 3.4

*** This bug has been marked as a duplicate of bug 1077515 ***