Bug 924304 - Agent's operation 'Update All Plugins' is not blocking, subsequent operation fails because the Plugin container is still in shutdown process.
Summary: Agent's operation 'Update All Plugins' is not blocking, subsequent operation ...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent, CLI, Operations
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-21 14:21 UTC by Filip Brychta
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Filip Brychta 2013-03-21 14:21:00 UTC
Description of problem:
We have the following scenario in our CLI automation:
1- invoke 'Update All Plugins' operation
2- wait for operation result (wait for Success)
3- invoke another operation

Result:
Operation from step 3 fails because of bug 924281. So event though 'Update All Plugins' operation is successfully finished, subsequent operation fails because the Plugin container is still in shutdown process.

Expected result:
When the result of 'Update All Plugins' operation is Success, plugin container is in correct state and subsequent operation doesn't fail.

Version-Release number of selected component (if applicable):
Version: 4.7.0-SNAPSHOT
Build Number: 6a32fb9

How reproducible:
last 4 CLI automation runs failed because of this


Additional info:
Another consequence of this is that ConfigurationManager.getLiveResourceConfiguration(agent.id,false); 
returns null.

Similar scenario:
1- invoke 'Update All Plugins' operation
2- wait for operation result (wait for Success)
3- var conf = ConfigurationManager.getLiveResourceConfiguration(agent.id,false);

Result: 
conf is null


Note You need to log in before you can comment on or make changes to this bug.