Bug 797999

Summary: ConcurrentModificationException after re-inventorying resource
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Agent, Core ServerAssignee: Charles Crouch <ccrouch>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3CC: hbrock, hrupp, theute
Target Milestone: ---   
Target Release: RHQ 4.3.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 09:55:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server log none

Description Libor Zoubek 2012-02-27 18:56:45 UTC
Created attachment 566119 [details]
server log

Description of problem: When I do inventory/uninventory of any resource I get ConcurrentModificationException in server's log.


Version-Release number of selected component (if applicable):
Version: 4.3.0-SNAPSHOT
Build Number: 3d0d044

How reproducible: always


Steps to Reproduce:
1.have some resource (I have EAP6 ER1 standalone server) under platform in discovery queue
2.inventory it
3.uninventory it
4.run manual autodiscovery
5.inventory it again
  
Actual results: There is an exception in log (see attachement). Not sure if it happens in step 3 or 5. 


Expected results:


Additional info:If I run autodiscovery on agent afther this exception was fired, it becomes 'In progress' for unusual amount of time, afer that whole platform and all resources become down. It does not seem to be related to EAP6 plugin, it happens for each resource.

Comment 1 Charles Crouch 2012-02-27 21:51:02 UTC
I'm wondering if this is related to https://bugzilla.redhat.com/show_bug.cgi?id=794790

Comment 2 Ian Springer 2012-03-05 17:31:16 UTC
Fixed in master:

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=98149c5

Comment 3 Libor Zoubek 2012-03-09 16:35:02 UTC
verified on Version: 4.4.0-SNAPSHOT Build Number: f02a5b9