Bug 1256329 - JON upgrade from 3.3.2 to JON 3.3.3 does not remove files introduced with JON 3.3.0 upgrade 02
Summary: JON upgrade from 3.3.2 to JON 3.3.3 does not remove files introduced with JON...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Upgrade
Version: JON 3.3.3
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: DR01
: JON 3.3.4
Assignee: Simeon Pinder
QA Contact: Filip Brychta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-24 11:25 UTC by bkramer
Modified: 2019-07-11 09:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-28 14:37:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1263742 0 unspecified CLOSED Subsequent update (JON 3.3.0 -> CP1 -> CP2 -> Cn) and direct update (JON 3.3.0 -> CPn) produce different content of JON ... 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 1585963 0 None None None Never
Red Hat Product Errata RHSA-2015:1947 0 normal SHIPPED_LIVE Important: Red Hat JBoss Operations Network 3.3.4 update 2015-10-28 18:36:15 UTC

Internal Links: 1263742

Description bkramer 2015-08-24 11:25:59 UTC
Description of problem:

Files:

1. <RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/lib/rhq-server-metrics-4.12.0.JON330GA-redhat-2.jar
2. <RHQ_SERVER_HOME>/modules/org/rhq/server-startup/main/deployments/rhq.ear/lib/rhq-cassandra-schema-4.12.0.JON330GA-redhat-1.jar

are introduced with JON 3.3.0 update 02 but are not needed in JON 3.3.0 update 03. However, above files are not removed when update is done via JON 3.3.2 (JON 3.3.0 -> JON 3.3.2 -> JON 3.3.3) and because of that, after JON Storage node is restarted,  JON Server does not change it's status from MAINTENANCE to NORMAL. Also, because of this JON Agent does not reconnect to the JON Server.


Version-Release number of selected component (if applicable):
JON 3.3.2 -> JON 3.3.3

How reproducible:
Always

Steps to Reproduce:
1. Install JON 3.3.0;
2. Upgrade JON 3.3.0 to JON 3.3.2;
3. Upgrade JON 3.3.2 to JON 3.3.3;
4. Stop JON Storage Node (./rhqctl stop --storage);
5. Confirm that JON Server is in `MAINTENANCE` mode;
6. Wait until JON Agent is backfilled and then start JON Storage node;

Actual results:
JON Server is still in `MAINTENANCE` mode and JON Agent cannot register with the JON Server.

Expected results:
Restart of the JON Storage Node changes status of the JON Server to `NORMAL` and JON Agent is able to register with the JON Server.

Additional info:
When direct upgrade is done (from JON 3.3.0 to JON 3.3.3), this issue does not exist. 

To fix this, change the upgrade script (JON 3.3.0 upgrade 03) to remove above files if they exist.

Comment 1 Simeon Pinder 2015-09-11 13:56:42 UTC
This if fixed with commit: 03525f95970 to jon.git.

Moving to MODIFIED for inclusion with next brew build.

Comment 2 Simeon Pinder 2015-09-16 03:59:45 UTC
Moving to ON_QA as available to test with new build:
https://brewweb.devel.redhat.com//buildinfo?buildID=456646
*Note: jon-server-patch-3.3.0.GA.zip maps to DR01 build of jon-server-3.3.0.GA-update-04.zip.

Comment 3 Filip Brychta 2015-09-16 15:07:31 UTC
Verified on
Version :	
3.3.0.GA Update 04
Build Number :	
b42d4f0:9e8659d

However there are other files which are not removed - captured here bz1263742

Comment 5 errata-xmlrpc 2015-10-28 14:37:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1947.html


Note You need to log in before you can comment on or make changes to this bug.