Description of problem:
After previewing snapshot, all the I/O changes will be write to a temporary volume.
In case of undo the previewed snapshot, this temporary volume removed and all the write operations will be on the Active volume.
In this case all the changes that occurs between the preview and the undo, will be ignored.
The flow is as follow:
* write file to disk
* take snapshot
* preview the snapshot
* delete the file
* undo the previewed snapshot
--> The file should be visible on the vm's disk.
** Also NICs that removed in time that the vm was in preview mode weren't restored after undo.
Version-Release number of selected component (if applicable):
ovirt-engine-3.5.0-0.0.master.20140715172116.git4687dc1.el6.noarch
How reproducible:
100%
Steps to Reproduce:
1.
2.
3.
Actual results:
explained above
Expected results:
All the files that were created/removed in preview mode should be removed/restored after undo
Additional info:
Nothing in engine/vdsm logs
Tried to reproduce the described scenario on latest build - works fine.
@Raz - Which vdsm version are you using? Is it reproducible in previous build as well? Is it 100% reproducible on both file and block domains?
(In reply to ratamir from comment #4)
> * vdsm - vdsm-4.16.0-27.git00146ed.el6.x86_64
> * Tried to reproduce on 3.4.1 and it works fine (Undo works)
> * Tried only on block
Thanks Raz. Closing as WORKSFORME, please reopen if reproduced.