Bug 1356568 - VM CPU hot plug along with memory hot add, leave VM pending SOUND change.
Summary: VM CPU hot plug along with memory hot add, leave VM pending SOUND change.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.5
: 4.0.5
Assignee: Shmuel Melamud
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-14 11:58 UTC by Ilanit Stein
Modified: 2017-01-18 07:36 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:36:35 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 61039 0 master MERGED webadmin: Look for sound device by general type 2016-08-21 06:21:52 UTC
oVirt gerrit 63293 0 ovirt-engine-4.0 MERGED webadmin: Look for sound device by general type 2016-09-06 08:43:12 UTC

Description Ilanit Stein 2016-07-14 11:58:37 UTC
Description of problem:
When configuring both memory hot add, and CPU hot plug (Cores 1->2),
From CFME, these changes reach the VM, and the VM is configured correctly, but the VM is marked with a delta sign. Edit VM, and press OK, show:
 
"Changes that require Virtual Machine restart:
 SOUND"
Though this parameter was not touched.

Version-Release number of selected component (if applicable):
RHEVM-3.6.6.2-0.1.el6

Expected results:
SOUND parameter should not appear as Pending VM changes.

Comment 1 Michal Skrivanek 2016-07-15 06:20:22 UTC
I suppose this doesn't reproduce from RHEV UI, then it is a CFME bug. Please confirm (also might want to use latest 3.6.8 instead of 3.6.6)

Comment 2 Ilanit Stein 2016-07-17 10:17:33 UTC
This reproduce from RHEV UI.
Moved to RHEVM-3.6.8-2, and still see it.

Narrowed the bug, as followed: 

* For a running VM, with Other OS (also has disk with no OS installed), 

Memory hot add, and CPU hot plug 
(Do not choose apply later for memory/cpu changes), 
press OK -> VM marked with a Delta.
Edit VM & Press OK,   
Open this dialog:
"Changes that require Virtual Machine restart:
 SOUND"

* For a VM, (named cfme_additional") that has a disk installed with RHEL-7.2,

Memory hot add (8192->8448 MB), and CPU hot plug (Cores: 1->2, while sockets=1),  
(Do not choose apply later for memory/cpu changes), 
press OK -> VM marked with a Delta.
Edit VM (see that Memory/CPU updated with the new values) & Press OK,   

VM has these events, following this Edit VM:

VM cfme_additional CFME_downstream_20160615_Disk1 disk was updated by admin@internal.

VM cfme_additional configuration was updated by admin@internal.

On VM's general tab found this info:
Number of CPU Cores:
1 (1:1:1 Sockets:Cores/S.:Threads/C.)

Comment 3 Michal Skrivanek 2016-07-18 12:56:01 UTC
Shmuel, thoughts?

Comment 4 Shmuel Melamud 2016-07-19 11:27:01 UTC
I can reproduce this on 3.6 and on master also. Additional requirement to reproduce: sound card must be enabled before the first step.

Seems to be a bug in the frontend.

Comment 5 Sandro Bonazzola 2016-08-31 12:39:51 UTC
Moving back to POST since there's no backport to 4.0.z branches in gerrit.
Please be sure to keep the bug in consistent state.

Comment 6 Tomas Jelinek 2016-09-09 06:41:57 UTC
it was not backported to 4.0.4 - moving to 4.0.5 as modified.

Comment 7 Israel Pinto 2016-10-05 11:40:25 UTC
Verify with:
Engine Version: 4.0.5-0.1.el7ev
Host: 
OS Version:RHEL - 7.3 - 6.el7
OS Description:Red Hat Enterprise Linux Server 7.3 Beta (Maipo)
Kernel Version:3.10.0 - 510.el7.x86_64
KVM Version:2.6.0 - 27.el7
LIBVIRT Version:libvirt-2.0.0-10.el7
VDSM Version:vdsm-4.18.13-1.el7ev
SPICE Version:0.12.4 - 19.el7

Steps:
1. Create VM with 1 GB memory and 1 CPU.
2. Start VM
3. Hotplug Memory with 1GB and CPU with to 2 CPU
4. Hotplug Memory with 256M and CPU with to 4 CPU

Results:
Memory and CPU are updated, and in the next run dialog the sound card not appear any more.


Note You need to log in before you can comment on or make changes to this bug.