Description of problem: When executing commands using the COCO infrastructure and failing during the command execute() method the command will reach the end method immediately although it might have running child commands Actual results: endAction() is executed before all the child commands ends Expected results: endAction() should be executed only after the child commands has ended Additional info:
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
After discussing offline with Liron, targeting this to 4.1.
Can you provide reproduction steps for this?
Sure..it might be bit tricky though 1. Add a VM with 2 disks 2. Create a VM snapshot with both disks and cause it to fail on the 2nd disk createVolume() vds execution. 3. See that CreateAllSnapshotsFromVmCommand.endAction() is executed only after the 1st disk operation ends and not immediately.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Verified on ovirt-engine-4.1.1-0.0.master.20170201124236.git503df00.el7.centos.noarch