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):
Steps to Reproduce:
All the files that were created/removed in preview mode should be removed/restored after undo
Nothing in engine/vdsm logs
Raz, can you attach engine and VDSM logs please?
Created attachment 920041 [details]
vdsm and engine logs
Sure - logs attached
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?
* 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
(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.