JON resource group operation fails for available members when one or more agents for resource members are down
Issue
- Group operation stops if 2 group members' operations throw an error
- Group Availability Scan operation is failing
- Group operation stops and returns overall failure when a single member cannot be reached
- If some agents fail the group operation fails for all group members
-
Receive error:
Failed to submit invocation request. resource=[12104], operation=[executeAvailabilityScan], jobId=[rhq-resource-12104-773381133-1399554114351_=_rhq-group-10637_=_1399554114361] -
Server log contains the following error:
ERROR [org.rhq.enterprise.server.operation.GroupOperationJob] Failed to execute scheduled operation [GroupOperationSchedule: group=[ResourceGroup[id=10001, name=All Agents, category=COMPATIBLE, type=RHQ Agent, isDynaGroup=false, isClusterGroup=false]], execution-order=[[Resource[id=10002, uuid=ad943ba6-04cc-4a08-be58-e45f50fc10ba, type={RHQAgent}RHQ Agent, key=Agent 01 on jboss-01.example.com RHQ Agent, name=RHQ Agent, version=4.4.0.JON312GA], Resource[id=10005, uuid=5e9c648c-b4ad-4b03-a8f3-1895b181d1aa, type={RHQAgent}RHQ Agent, key=Agent 02 on jboss-02.example.com RHQ Agent, name=RHQ Agent, version=4.4.0.JON312GA], Resource[id=10012, uuid=f497ca3f-5204-48ea-874a-cf80763f7f27, type={RHQAgent}RHQ Agent, key=Agent 03 on jboss-03.example.com RHQ Agent, name=RHQ Agent, version=4.4.0.JON312GA], Resource[id=10015, uuid=1363a659-eeb2-4d7b-b93d-0c4c2eb9c649, type={RHQAgent}RHQ Agent, key=Agent 04 on jboss-04.example.com RHQ Agent, name=RHQ Agent, version=4.4.0.JON312GA]]], halt-on-failure=[false],job-name=[rhq-group-10001-773381133-1401898634149], job-group=[rhq-group-10001], operation-name=[executeAvailabilityScan], subject=[Subject[id=2,name=rhqadmin]], description=[null]] javax.ejb.EJBException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.rhq.core.domain.operation.GroupOperationHistory.resourceOperationHistories, no session or session was closed -
Resource operation status is stuck In Progress
Environment
- Red Hat JBoss Operations Network (ON) 3.1
- Compatible resource group containing 3 or more resources
- Invocation of an operation on the resource group
- The agent for two or more resource group members is unavailable
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
