Red Hat Bugzilla – Bug 833787
ovirt-engine-backend: we are able to add a disk during create snapshot
Last modified: 2016-02-10 12:14:32 EST
Created attachment 593180 [details]
Description of problem:
since snapshot is on entire vm and not just the disks, and we cancelled the image lock on vm during snapshot we should add a CanDoAction on add disk while disk images are locked due to snapshot to prevent possible races which will cause image corruption.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a snapshot
2. create a new disk
vm is not locked only disk images and there is no CanDoAction -> new disk will be created while a snapshot is taken.
we should add CanDoAction to add disk if the disk images are locked due to snapshot.
Additional info:backend log
I was still able to create the disk while snapshot was created.
Created attachment 594196 [details]
I don't see any problm at logs, just clog for creating disk
recheck at si8, I suppose the fix was not there
verified on si8