+++ This bug was initially created as a clone of Bug #1126204 +++ Description of problem: Task placeholders aren't being cleared on failure to execute a command How reproducible: Always Steps to Reproduce: 1. Execute a command which creates async task placeholders for it's child commands when more than one child commands is supposed to be executed (for example - AddVmTemplate for vm with more than one disk) Actual results: The task placeholder record in the async_tasks table contains a different command id for each task placeholder (it's the id of the child command) which can cause to multiple execution of the parent command end method, makes it very hard to perform rca of issues as this command id is never logged. Expected results: All placeholders should have the same command id of the parent command. logs are attached to the original bug.
endAction is throwing constructor not error resulting in the endAction method being called multiple times. In normal execution the endAction is called only once. This can be marked as duplicate of 1126204 *** This bug has been marked as a duplicate of bug 1126204 ***