Bug 1025753

Summary: eap rhq server is discovered as default eap after upgrade
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: UpgradeAssignee: Thomas Segismont <tsegismo>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: mfoley, tsegismo
Target Milestone: ER06   
Target Release: JON 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-05 16:40:40 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:
Bug Depends On:    
Bug Blocks: 1012435    

Description Armine Hovsepyan 2013-11-01 13:17:18 UTC
Description of problem:
eap rhq server is discovered as default eap after upgrade

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

How reproducible:
always

Steps to Reproduce:
1. install and start jon 3.1.2 with server and agent on the same machine without installing additional plugins
2. stop jon 3.1.2 server and agent
3. upgrade 3.1.2 to 3.2 er4 
4. install EAP plugin pack
5. navigate to discovery queue and look for EAP 6 server (embaded one) 

Actual results:
After step 5: EAP server is discovered  as not EAP RHQ SERVER, but default EAP server -> http://d.pr/i/nqLi

Expected results:
After step 5: EAP server is inventoried as EAP RHQ SERVER -> http://d.pr/i/GYfx

Additional info:

In jon 3.1.2 no plugin was installed -> http://d.pr/i/nqLi
upgraded 3.2 er4 version has eap plugin pack installed -> http://d.pr/i/vBX0 
with correct version -> http://d.pr/i/xSdY

Comment 1 Thomas Segismont 2013-11-05 10:51:03 UTC
I was not able to reproduce this problem on my box.

Did you follow the upgrade procedure? In particular, you need to stop the server before copying EAP plugin pack (see EAP plugin pack README file).

The only way I can imagine to get in such a situation is to have deployed the EAP plugin without the RHQ server plugin.

Can you please attach the JON3.2ER4 server log file?

Comment 2 Armine Hovsepyan 2013-11-05 16:40:40 UTC
closing a not a bug.
The issue was reproducible only if after plugin upload agent update plugin operaiton was called without scanning uploaded plugins.
closing as not a bug.