Description of problem: After successful live merge, if during host goes down after completion of live merge but before calling 'syncDbRecords', flow fails because 'syncDbRecords' calls vdsm to get image info. This bug is to make sure we remove the call to vdsm outside of 'syncDbRecords'. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. (Lively) remove a snapshot 2. After/before DESTROY_IMAGE_CHECK completes, take shutdown host 3. Update the db fails Actual results: Db update fails Expected results: Db to be updated with the correct data regarding live merge Additional info:
*** Bug 1309293 has been marked as a duplicate of this bug. ***
This patch should be backported to the ovirt-engine-3.6 branch. Setting the status back to POST.
Tested the following on 2 builds: rhevm-3.6.3-0.1.el6.noarch - doesn't contain the fix rhevm-3.6.5-0.1.el6.noarch - contains the fix 1. Remove a snapshot lively 2. After DESTROY_IMAGE_CHECK completes, stopped vdsm On the older build, the volume became Illegal and on the latest it got removed.