Red Hat Bugzilla – Bug 1293135
starting on 3.6 a vm snapshot taken with 3.5 fails
Last modified: 2016-02-10 14:24:56 EST
Description of problem:
Starting of a vm from a previewed snapshot taken on 3.5 fails.
Version-Release number of selected component (if applicable):
Always, on current setup
Steps to Reproduce:
1. Have a 3.5 engine, create a vm, take a snapshot of it with memory
2. Upgrade engine to 3.6
3. Try to preview the snapshot and start it
In web ui:
Error while executing action Run VM: Internal Engine Error
execution failed: VDSGenericException: VDSErrorException: Failed to CreateVDS, error = Missing required parameter display, code = 11
API::204::vds::(create) Missing required parameter display
vdsm was not upgraded, vdsm-4.16.27-1
Aharon, did your team reproduce this?
We didn't test upgrade,
Maybe Nikolai will be able to answer this question better.
in general this needs to be blocked when everythin is upgraded to 3.6, see bug 1292398
but in this case of 3.5 cluster this should work just fine
engine.log is missing teh VM creation. Please attach correct log
(In reply to Michal Skrivanek from comment #6)
> engine.log is missing teh VM creation. Please attach correct log
1)I've tried to perform the live snapshot with memory for the 3.6 VM running on our RHEV3 and failed, RHEV3 is running on Red Hat Enterprise Virtualization Manager Version: 126.96.36.199-0.1.el6ev.
2)Personally I did not tested this scenario, need to ask Kevin as snapshots are part of the storage sanity, we'll retest if not covered and provide more info later in this bug.
Now tried restoring the snapshot without memory, and it still fails with same error. Attaching engine log.
Guessing based on the error message, I tried editing the VM and change console type from spice to vnc. Tried both with and without restoring memory, both worked. Attaching log again.
Did another test - restored with memory, edited console from spice to vnc, then edited again from vnc to spice, started - worked. Attaching logs.
(In reply to Nikolai Sednev from comment #9)
> 1)I've tried to perform the live snapshot with memory for the 3.6 VM running
> on our RHEV3 and failed, RHEV3 is running on Red Hat Enterprise
> Virtualization Manager Version: 188.8.131.52-0.1.el6ev.
> 2)Personally I did not tested this scenario, need to ask Kevin as snapshots
> are part of the storage sanity, we'll retest if not covered and provide more
> info later in this bug.
As discussed in my mail, I did not check this scenario. It is not part of the sanity test plan that we do. I can add it and test it in the next upgrade.
The end result of this bug is different than this of bz 1293299 - here the VM is not created while in bz 1293299 the VM is created but the user cannot connect to it with a console. The reason for that is probably the VDSM version - VDSM 4.16.27 fails to run VM when not specifying 'display' and newer VDSM versions manage to run it.
The addition of default graphics device when reading OVF is supposed to fix the problem of not setting 'display' when restoring a snapshot from a version lower than 3.6.
*** This bug has been marked as a duplicate of bug 1293299 ***