Bug 746322

Summary: [AS7 plugin] EAP6 instances never turn 'online'
Product: [Other] RHQ Project Reporter: Jan Martiska <jmartisk>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED DUPLICATE QA Contact: Jan Martiska <jmartisk>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.1CC: 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: 2011-10-20 10:59:55 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:
Bug Depends On:    
Bug Blocks: 707223, 734807    

Description Jan Martiska 2011-10-14 18:45:09 UTC
Description of problem:
EAP instances don't go 'online', they stay red.

Version-Release number of selected component (if applicable):
RHQ
Version: 4.1.0-SNAPSHOT
Build Number: dc2eeb6 (October 14 2011)

JBoss EAP
Version: 6.0.0.DR4 (http://porkchop.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-DR4/)

Steps to Reproduce:
1. Start an RHQ server with an agent+EAP plugin
2. Run an EAP 6.0.0.DR4 instance, wait for discovery (or use manual autodiscovery)
3. Import EAP into your inventory
  
Actual results:
The EAP instance stays offline.

Expected results:
The EAP instance should be 'online' if it is currently running.

Additional info:
- this applies to both standalone and managed instances and also to Host Controllers.

in EAP server log, the following lines appear (repeatedly):
14:01:39,884 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 1) Operation ("read-children-names") failed - address: ([]) - failure description: "No known child type named host"
14:01:40,853 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 1) Operation ("read-children-names") failed - address: ([]) - failure description: "No known child type named profile"
14:01:40,897 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 1) Operation ("read-children-names") failed - address: ([]) - failure description: "No known child type named server-group"

I was unable to find any other related errors in logs.

Comment 1 Heiko W. Rupp 2011-10-19 15:04:06 UTC
Can you check if this is coming from https://bugzilla.redhat.com/show_bug.cgi?id=738642 ?

Comment 2 Heiko W. Rupp 2011-10-20 10:49:52 UTC
Works for me with 73862 applied ( beta 3 only ?)

Takes a while, but the server comes up with its subsystems.

> avail
Availability Report from 20.10.2011 12:46:38
Resources in report: 364
Includes Only Changed Resources: false
[..]
UP:     en0
UP:     /Users/hrupp/downloads/jboss-eap-6.0.0.Alpha2

Comment 3 Jan Martiska 2011-10-20 10:59:55 UTC
Yes, with the latest version (with patch from #738642) it works now, all instances are online. I guess these problems were indeed closely related, so I will close this as a duplicate and only perform verification of 738642.

*** This bug has been marked as a duplicate of bug 738642 ***