Created attachment 923633 [details]
logs + table data
Description of problem:
Task placeholders aren't being cleared on failure to execute a command
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)
2. Fail during the execution of one of it's child commands
The placeholder for the failed child command will be cleared, the other child command placeholders aren't cleared.
All placeholders should be cleared
*** Bug 1126205 has been marked as a duplicate of this bug. ***
please provide exact steps for verification, thank you
I manually threw an exception in the execution of one of the child commands. Adding need info on Liron Aravot for ideas how to test this. I would consider this a code change.
We can manually cause to exception in the execute phase, for example, move image folder in the storage manually which will cause to an error when trying to copy it.
tested while creating a vm from template and the template's disk dir on storage domain was renamed, no async task after failure.
rhev 3.5.0 was released. closing.