Created attachment 1128943 [details] engine and vdsm logs Description of problem: After restoring a previewed snapshot that contain only subset ov the vm's disks, the vm state will stuck in 'image locked'. Setup: VM + 1 disk Create a snapshot and after, create a new disk. After the second disk s created, create second snapshot. Preview the first snapshot and choose the option: "Include in the previewed VM only the disks that are included in the snapshot." Restore the previewed snapshot and wait for the vm state to change to 'image locked'. Version-Release number of selected component (if applicable): rhevm-3.6.3-0.1.el6.noarch vdsm-4.17.21-0.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Create vm + 1 disk 2. Create snapshot from the vm 3. Create second disk + second snapshot containing both disks 4. preview the first snapshot (step 2) and choose the option to "previewed VM only the disks that are included in the snapshot" 5. commit Actual results: The vm state will stuck on 'image locked' Expected results: Additional info:
Daniel, can you please take a look at this ASAP?
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Hi Raz, The issue doesn't seem to reproduce on my local env (latest build). In which build did you reproduce it? Can you please attach a screencast with the exact steps (just in case I didn't follow it accurately). Thanks!
Hi Daniel, I use rhevm-3.6.3-0.1.el6.noarch on my environment. 1) Create vm 2) Add disk to vm 3) create snapshot 4) Add disk to vm 5) create snapshot 6) Preview the first snapshot (step 2) and choose the option to "previewed VM only the disks that are included in the snapshot" 7) Commit
Commit snapshot gets completed successfully after the following: 1. Create vm + 1 disk 2. Create snapshot from the vm 3. Create second disk + second snapshot containing both disks 4. preview the first snapshot (step 2) and choose the option to "previewed VM only the disks that are included in the snapshot" 5. commit VM and its attached images get unlocked once commit snapshot is finished. Used: rhevm-3.6.4-0.1.el6.noarch vdsm-4.17.23.1-0.el7ev.noarch