Description of problem:
The front-end, because of a bug, might send the back-end the same parameters multiple times and the engine doesn't filter them which might produce invalid situations.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. In the webadmin, duplicate the run-vm it send to the engine
2. From the webadmin run a VM
3.
Actual results:
The engine tried to run the VM twice (the second will fail because it can't acquire the lock)
Expected results:
The engine should filter duplicate requests and in this case, run the VM only once
Additional info:
Verified in rhevm-3.6.3.3-0.1.el6.
Code change, regression tests passed. There was no observation of double-triggered action in UI during starting, suspending or shutting down a VM.