Bug 1311695

Summary: EAP7 (insecure, standalone) is discovered incorrectly by agent using old plugin ( 6 != 7 )
Product: [JBoss] JBoss Operations Network Reporter: vsorokin <vsorokin>
Component: Plugin -- JBoss EAP 6Assignee: Simeon Pinder <spinder>
Status: CLOSED WONTFIX QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: high    
Version: JON 3.3.5CC: fbrychta, loleary, mfoley, miburman
Target Milestone: DR02Keywords: Triaged
Target Release: One-off release   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1313209 1313213 (view as bug list) Environment:
Last Closed: 2016-03-07 17:35:34 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:

Description vsorokin 2016-02-24 18:37:02 UTC
Description of problem:

EAP7 is discovered incorrectly by agent using old plugin (update02). 
It should be fixed when updated to update03, but still remains.

Version-Release number of selected component (if applicable):
JON 3.3.5 (Foreman's group JON/Server/JON3.3.0/CP5), 
EAP7
JON agents, updated while test running 

Steps to Reproduce:
1. VM1: creating JON3.3 through Foreman, after foreman's installation plugins are 'old' (and after any restarts as well)
2. VM2: install JON agent from foreman, install EAP7 (insecure, standalone)
3. VM1: updating JON plugins by copying *.jars into 'plugins/'. Restart JON.
4. VM2: through Agent console mode update plugins from agent's side
5. VM1: in JON GUI go -> 'Servers - Top Level Import'

Actual results:

Availability as GREEN
Type: 'JBossAS7 Standalone server'
Version: 'EAP 7.0.0.GA'
but Description: still  'Standalone JBoss Enterprise Application Platform 6 server'

Expected results:
Description: still  'Standalone JBoss Enterprise Application Platform 7 server'

Additional info:
intermediate result (between items 2./3.):
Availability as RED
Type: 'JBossAS7 Standalone server'
Version: 'EAP 7.0.0.GA'
but Description: still  'Standalone JBoss Enterprise Application Platform 6 server'

Comment 1 Michael Burman 2016-02-29 13:38:36 UTC
We don't do ProductType rediscovery currently. So if you update EAP6 to say JDG, this would fail as well (this isn't EAP7 related).

Comment 2 Filip Brychta 2016-03-03 17:14:39 UTC
*** Bug 1313213 has been marked as a duplicate of this bug. ***

Comment 3 Filip Brychta 2016-03-03 17:14:57 UTC
*** Bug 1313209 has been marked as a duplicate of this bug. ***

Comment 4 Filip Brychta 2016-03-07 17:35:34 UTC
After decision to create dedicated plugin for eap7 and to force eap6 plugin not to discover eap7 resources this is no longer a valid bz