Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1168373

Summary: [BPMS 6] The original product type discovered for this server was EAP, but the server is now reporting its product type is [BPM Suite]
Product: [Retired] JBoss BPMS Platform 6 Reporter: David Murphy <dmurphy>
Component: JON PluginAssignee: Thomas Heute <theute>
Status: CLOSED EOL QA Contact: Tomas Schlosser <tschloss>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.3CC: ajuricic, fbrychta, jkandasa, jshaughn, kverlaen, loleary, mbaluch, mwinkler, pyadav, spinder, theute, tschloss
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1144489
: 1205312 (view as bug list) Environment:
Last Closed: 2020-03-27 20:10:57 UTC 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:
Bug Depends On: 1144489, 1231374    
Bug Blocks: 1210125, 1210360    

Description David Murphy 2014-11-26 17:52:14 UTC
This issue is the exact same problem as 1144489, except for BPM Suite instead of BRMS.



+++ This bug was initially created as a clone of Bug #1144489 +++

Description of problem:


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


How reproducible: always


Steps to Reproduce:
1. install BRMS 6
2. import it and set credentials

Actual results: plugin is unable to manage BRMS (Server seems DOWN reporting invalid plugin configuration), in agent logs there are: 

2014-09-19 16:08:05,884 WARN  [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=10004, uuid=b56243da-cee2-4b85-b672-0f5c62f1ad30, type={JBossAS7}JBossAS7 Standalone Server, key=hostConfig: /data/jboss/brms/jboss-eap-6.1/standalone/configuration/standalone.xml, name=EAP (127.0.0.1:9990), parent=localhost.localdomain, version=EAP 6.1.1.GA], availability will be reported as DOWN, reason=Failed to start component for Resource[id=10004, uuid=b56243da-cee2-4b85-b672-0f5c62f1ad30, type={JBossAS7}JBossAS7 Standalone Server, key=hostConfig: /data/jboss/brms/jboss-eap-6.1/standalone/configuration/standalone.xml, name=EAP (127.0.0.1:9990), parent=localhost.localdomain, version=EAP 6.1.1.GA] - The original product type discovered for this server was EAP, but the server is now reporting its product type is [BRMS]


Expected results: BRMS resource becomes UP and managable


Additional info:

--- Additional comment from Larry O'Leary on 2014-09-23 11:18:23 EDT ---

This appears to be a bug in the JBoss EAP 6 plug-in as BRMS/BPMS does not extend the AS plug-ins.

--- Additional comment from Libor Zoubek on 2014-09-25 09:23:23 EDT ---

I've set the component to BRMS 5, because there's nothing for BRMS 6 plugin.

But you're right, it's AS7 plugin issue.

--- Additional comment from Libor Zoubek on 2014-09-25 11:21:30 EDT ---

branch:  master
link:    https://github.com/rhq-project/rhq/commit/d6f0bcbad
time:    2014-09-25 17:21:07 +0200
commit:  d6f0bcbad0b47af065035ed62f50b44071c9dc81
author:  Libor Zoubek - lzoubek
message: Bug 1144489 - [BRMS 6] The original product type discovered for this
         server was EAP, but the server is now reporting its product
         type is [BRMS]
         Adding BRMS into set of known AS7 based products

--- Additional comment from Libor Zoubek on 2014-09-25 11:54:18 EDT ---



--- Additional comment from Jirka Kremser on 2014-09-26 09:29:05 EDT ---

branch:  release/jon3.3.x
link:    https://github.com/rhq-project/rhq/commit/daabd1589
time:    2014-09-26 15:28:02 +0200
commit:  daabd1589419b55291e15c3986e9352814b73808
author:  Libor Zoubek - lzoubek
message: Bug 1144489 - [BRMS 6] The original product type discovered for this
         server was EAP, but the server is now reporting its product
         type is [BRMS]

         Adding BRMS into set of known AS7 based products

         (cherry picked from commit
         d6f0bcbad0b47af065035ed62f50b44071c9dc81) Signed-off-by: Jirka
         Kremser <jkremser>

--- Additional comment from Simeon Pinder on 2014-10-01 17:33:12 EDT ---

Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959

--- Additional comment from Jeeva Kandasamy on 2014-10-09 05:01:25 EDT ---

Imported successfully. Also available in CSP. Verified screen shot is attached

Version: 
JBoss Operations Network
Version : 3.3.0.ER04
Build Number : 99d2107:d7c537e
GWT Version : 2.5.0
SmartGWT Version : 3.0p

Comment 2 Edson Tirelli 2014-11-27 15:11:16 UTC
Reading the dependent (original) ticket, it seems this is a problem in the JON side, not the BRMS/BPMS side.

Assigning to Libor, that fixed the original ticket.

Comment 3 Libor Zoubek 2014-12-02 08:29:14 UTC
Yes, and it has been fixed in JON 3.3.0.ER04. Edson, could you please move this BZ to ON_QA or close - I am not sure in setting proper target release and milestone.

Comment 4 David Murphy 2014-12-02 11:38:49 UTC
This BZ exists in JON 3.3.0.GA

BZ 1144489 fixed the problem for BRMS. Unfortunately, BPM Suite has a different product name, and an additional entry in JBossProductType.java will be required to support it.

Comment 5 Libor Zoubek 2014-12-02 12:38:31 UTC
Then maybe BPM Suite plugin should extend AS7 plugin and implement DiscoveryCallback, which will allow to override JBossProductType.java

Comment 6 David Murphy 2014-12-08 19:05:10 UTC
(In reply to Libor Zoubek from comment #5)
> Then maybe BPM Suite plugin should extend AS7 plugin and implement
> DiscoveryCallback, which will allow to override JBossProductType.java

A worthy suggestion IMO. Though, today there's no "BPM Suite Plugin" that I'm aware of. Just the kie plugin which requires a JMX Server parent, and thus can't be used OOTB with BPM Suite on EAP anyway.

I do note that all of the other layered platforms are supported in the as7 plugin, and it might make sense to be consistent with this one as well, as we work towards the superior solution of having separate plugins extending it for derivative platforms.

I've created PR 151 [https://github.com/rhq-project/rhq/pull/151] in case that's the road you want to take. Feel free to disregard otherwise.

Comment 9 Larry O'Leary 2015-04-09 01:14:55 UTC
*** Bug 1205312 has been marked as a duplicate of this bug. ***

Comment 10 Filip Brychta 2015-04-09 14:29:54 UTC
*** Bug 1209409 has been marked as a duplicate of this bug. ***

Comment 13 Pavel Kralik 2015-06-17 10:11:53 UTC
Verified JON 3.3.2 / jon-plugin-pack-eap-3.3.0.GA-update-01.zip