Created attachment 647643 [details] logs Description of problem: I tried changing the monitor from vnc to spice during vm hibernation. although the change was made to db and engine log shows that RunVm is sent with spice, the vdsm runs createVm with vnc which crashes spice when we try to open the monitor. Version-Release number of selected component (if applicable): si24.2 vdsm-4.9.6-43.0.el6_3.x86_64 How reproducible: 100% Steps to Reproduce: 1. in two hosts cluster run a vm with vnc monitor 2. hibernate the vm 3. change monitor to spice 4. restore vm 5. try to open spice monitor Actual results: we fail to open monitor. vdsm and libvirt show that the vm is run with vnc and engine log and db shows that we changed vnc to spice Expected results: we should change monitor in vdsm as well. Additional info: logs tested on these 3 vm's: [root@gold-vdsd ~]# vdsClient -s 0 list table 77e21637-42a9-4ab5-aa20-de75b9b33c2c 23828 XP Up b8419107-a4a2-48b9-b82a-6d9a2fc50add 23410 RHEL6 Up 8d33face-b5f1-42b3-8540-7879441a4e49 27081 hateya Up
What should be blocked is the option to change VM configuration while it is hibernated. Hibernate is save state to file, this means the VM must be started with the same configuration it had before the hibernate, or the inconsistent state may cause unpredictable behavior. Please move this to engine to block the change.
changed to engine
https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;h=aba13e111a3dc1769f9adb583fac9558e2f1ace2
Error: LinuxPool-1: Failed updating the properties of the VM. This may be caused either by: 1. The values selected are not appropriate for the VM; or 2. Its values cannot be updated while the VM is in UP state (Please shut down the VM in order to modify properties such as CPU or cluster). Verified sf7
3.2 has been released