Bug 1274426

Summary: Windows - agent keeps old version of rhqstorage plugin
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: ProductizationAssignee: Simeon Pinder <spinder>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.3.4   
Target Milestone: CR01   
Target Release: JON 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-29 15:55:26 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 Filip Brychta 2015-10-22 16:55:52 UTC
Description of problem:
After update of JON 3.3.0.GA to JON3.3.4.ER2 the agent keeps old version of rhq-rhqstorage-plugin.



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

How reproducible:
2/2

Steps to Reproduce:
1. install JON3.3.0.GA
2. apply the patch
3. update plugins on agent

Actual results:
There are two rhqstorage plugins, old and new one
$ find rhq-agent/ -name '*storage-plugin*'
rhq-agent/plugins/rhq-rhqstorage-plugin-4.12.0.JON330GA-redhat-1.jar
rhq-agent/plugins/rhq-rhqstorage-plugin-4.12.0.JON330GA.jar

Expected results:
There should be only new version.

Additional info:
Together with bz 1274425 it's blocking a fix for bz1229978

Comment 1 Simeon Pinder 2015-10-24 10:56:12 UTC
This is fixed with commit: to jon.git
0da4d1a82f039677

The fix was to modify the windows apply-updates script to explicitly rename the 
rhq-cassandra and rhq-rhqstorage plugins from
 *4.12.0.JON330GA.jar to *4.12.0.JON330GA.jar.REJECTED
and to lay down the newer versions when an agent is detected and can be patched.
 *JON330GA-redhat-1.jar.

Comment 2 Simeon Pinder 2015-10-24 11:09:13 UTC
Moving to ON_QA as available for test in latest brew build:
https://brewweb.devel.redhat.com/buildinfo?buildID=462976

*Note* jon-server-patch-3.3.0.GA.zip from above maps to CR01 build of JON 3.3.4.

Comment 3 Filip Brychta 2015-10-26 10:05:43 UTC
Verified on
Version :	
3.3.0.GA Update 04
Build Number :	
e9ed05b:aa79ebd