Bug 1371882

Summary: Editing description of running VM in 3.5 compat version cluster expects a VM restart
Product: Red Hat Enterprise Virtualization Manager Reporter: Julio Entrena Perez <jentrena>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.5CC: gklein, jentrena, lsurette, rbalakri, Rhev-m-bugs, srevivo, tjelinek, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-01 12:26:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Comment 1 Julio Entrena Perez 2016-08-31 10:56:42 UTC
Description of problem:
Editing the description field of a running VM in a 3.5 DC/Cluster on RHEV-M 3.6 results in a pop-up dialogue highlighting that the VM needs to be restarted due to unrelated fake changes.

Version-Release number of selected component (if applicable):
rhevm-3.6.5.3-0.1.el6

How reproducible:
Always

Steps to Reproduce:
1. Have a VM running on a 3.5 compatibility version DC/Cluster managed by RHEV-M 3.6.
2. Edit the VM, alter the "Description" field and click "OK".
3.

Actual results:
- A pop-up dialogue shows up:

"Changes that require Virtual Machine restart:
 spiceFileTransferEnabled"

- The following is logged in engine.log:

2016-08-24 15:41:40,591 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'spiceFileTransferEnabled' can not be updated when status is 'Up'
2016-08-24 15:41:40,591 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] ObjectIdentityChecker.IsUpdateValid:: Not updatable field 'spiceFileTransferEnabled' was updated
2016-08-24 15:41:40,594 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'balloonEnabled' can not be updated when status is 'Up'
2016-08-24 15:41:40,595 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'rngDevice' can not be updated when status is 'Up'
2016-08-24 15:41:40,596 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'soundDeviceEnabled' can not be updated when status is 'Up'
2016-08-24 15:41:40,596 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'consoleEnabled' can not be updated when status is 'Up'
2016-08-24 15:41:40,596 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'virtioScsiEnabled' can not be updated when status is 'Up'
2016-08-24 15:41:40,597 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [51b1a0a] Field 'graphicsDevices' can not be updated when status is 'Up'
2016-08-24 15:41:40,639 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-2) [51b1a0a] Correlation ID: 51b1a0a, Job ID: 8777d887-52d2-4990-bdd7-be6940075523, Call Stack: null, Custom Event ID: -1, Message: VM vm-name configuration was updated by user.

Expected results:

- No pop-up dialogue.
- No errors in engine.log.
- "Description" field (or any other update that does not require the VM to be restarted) is updated.

Additional info:
RHEV-M was upgraded from 3.5.8 to 3.6.4 and then from 3.6.4 to 3.6.5.
This does not reproduce on 3.6 compatibility version DC/Cluster.

Comment 7 Julio Entrena Perez 2016-09-01 12:26:46 UTC
Does not reproduce on 3.6.8.