Description of problem: Generation support is used to enhance error handling for jobs on non-responsive hosts and decide about job status: started, didn't start, failed or completed. Based on generation and volume lease, we could decide whether to fence the job. Steps to Reproduce: 1. Start cold merge 2. Stop Vdsm during merge step (watch the log to see when merge starts) 3. Try again
Tested with the following code: ----------------------------------------------- ovirt-engine-4.1.1-0.1.el7.noarch rhevm-4.1.1-0.1.el7.noarch vdsm-4.19.5-1.el7ev.x86_64 Verified with the following scenario: ---------------------------------------------- Create VM with disks on system with 2 hosts Stop the VM Start a cold merge and stop the vdsm on the Performing HSM during the cold merge The 2nd HSM continues the job successfully Start the previously stopped vdsm on second host >>>>> no attempt is made to continue the previous job Moving to VERIFIED!