Description of problem: Deleting a snapshot while the VM is running results in the VM lock being released twice. Version-Release number of selected component (if applicable): 4.2 How reproducible: Steps to Reproduce: 1. Create a VM snapshot 2. Run the VM 3. Delete the snapshot Actual results: Warning message in logs about lock being released which has already been released 2018-04-17 14:32:50,233-04 WARN [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (EE-ManagedThreadFactory-engineScheduled-Thread-98) [346c1aeb-bbf5-4ba8-b661-c58f940c3b59] Trying to release exclusive lock which does not exist, lock key: 'd69cf8da-f93b-48e7-a178-deb991a45909VM' Expected results: No warning message
Setting priority to high, because other flow can step in and perform action during the time between child command releases the lock and parent command finishes its execution and try to release the lock again (locks acquired in parent command cannot be released in child commands).
*** This bug has been marked as a duplicate of bug 1581158 ***