Bug 1124957

Summary: Plugin update job UpdatePluginsOnAgentsJob can abort when one agent is unreachable
Product: [Other] RHQ Project Reporter: Elias Ross <genman>
Component: Core ServerAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elias Ross 2014-07-30 17:50:41 UTC
Description of problem:

17:46:54,473 ERROR [org.quartz.core.JobRunShell] (RHQScheduler_Worker-1) Job org.rhq.enterprise.server.resource.metadata.UpdatePluginsOnAgentsJob.b6318772-1766-4990-9389-166e158f1580 threw an unhandled Exception: : org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://17.176.208.171:16163/?backlog=200&clientMaxPoolSize=304&enableTcpNoDelay=true&maxPoolSize=303&numAcceptThreads=1&rhq.communications.connector.rhqtype=agent&socketTimeout=60000]

When this occurs, then the update job in total fails.



Version-Release number of selected component (if applicable): 4.12


How reproducible: Always


Steps to Reproduce:
1. Create multiple agents
2. Have one agent be host unreachable
3. Run the job

Actual results: Exception, some agents updated


Expected results: Exception is okay, but all agents available should be updated.