Created attachment 923633[details]
logs + table data
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)
2. Fail during the execution of one of it's child commands
Actual results:
The placeholder for the failed child command will be cleared, the other child command placeholders aren't cleared.
Expected results:
All placeholders should be cleared
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.
ok, rhevm-backend-3.5.0-0.11.beta.el6ev.noarch
tested while creating a vm from template and the template's disk dir on storage domain was renamed, no async task after failure.
Created attachment 923633 [details] logs + table data 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) 2. Fail during the execution of one of it's child commands Actual results: The placeholder for the failed child command will be cleared, the other child command placeholders aren't cleared. Expected results: All placeholders should be cleared