Red Hat Bugzilla – Bug 830996
plugin container's OperationManager needs to support concurrent operations for different resources
Last modified: 2013-09-01 06:12:57 EDT
The plugin container can support running operations on different resources concurrently. If you ask to invoke 2 or more operations on the same resource, those execute serially, but if you invoke an operation on resource 1 and another operation on resource 2, they can theoretically be allowed to run concurrently.
The PC doesn't do that.
Need to fix the OperationManager and write a unit test to show that this works.
git master commit: 04b75f0
the operation manager thread pool configuration needed to be adjusted. commited new unit test ParallelOperationsTest to test this.
I tested this using the attached scripts. It hung before the fix and works after the fix.
Created attachment 591030 [details]
This one just calls rhq-cli.bat
Created attachment 591031 [details]
This is the CLI script that runs
Test Notes: Tte attached scripts would need to be updated for your environment. Basically script-op.bat is the one which is the Script resource. It invokes the CLI, which connects back to the server and executes an operation on RHQ Agent, via the second attachement - the CLI script.
Non critical fix - retargeting at rhq4.5
*** Bug 718091 has been marked as a duplicate of this bug. ***
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.