Bug 1213812 - After upgrade from JBoss ON 3.2 to 3.3, some rhq column families are unavailable and compaction operations fail
Summary: After upgrade from JBoss ON 3.2 to 3.3, some rhq column families are unavaila...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Upgrade
Version: JON 3.3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: CR01
: JON 3.3.6
Assignee: Ruben Vargas Palma
QA Contact: Filip Brychta
URL:
Whiteboard:
Depends On: 1213814
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-21 11:07 UTC by bkramer
Modified: 2019-04-16 14:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-27 15:29:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1374703 0 None None None Never
Red Hat Product Errata RHSA-2016:1519 0 normal SHIPPED_LIVE Critical: Red Hat JBoss Operations Network 3.3.6 update 2016-08-26 00:44:36 UTC

Description bkramer 2015-04-21 11:07:25 UTC
Description of problem:
After upgrade from JBoss ON 3.2.3 to 3.3.0, some rhq column families are unavailable and compaction operations fail

Version-Release number of selected component (if applicable):
JBoss ON 3.2.3 upgraded to JBoss ON 3.3.0

How reproducible:
Always

Steps to Reproduce:
1. Install JBoss ON 3.2.3
2. Schedule `Force Major Column Family Compaction` operation for folders: `metrics_index`, `one_hour_metrics`, `raw_metrics`, `schema_version`, `six_hour_metrics` and `twenty_four_hour_metrics`. 
3. Above operation should be executed now and repeated indefinitely.
4. Confirm that operation is successfully executed in JBoss ON 3.2.3
5. Upgrade JBoss ON 3.2.3 to JBoss ON 3.3.0
6. Wait for the next execution of `Force Major Column Family Compaction` operation that was defined in previous JBoss ON 3.2.3

Actual results:

Compaction operation fails with the message:
**************************
The following resources failed to invoke the operation (see group operation history for details) :
 twenty_four_hour_metrics [] FAILURE
 one_hour_metrics [] FAILURE
 six_hour_metrics [] FAILURE
 metrics_index [] FAILURE
**************************

Expected results:

Compaction operation should be successfully executed and column families that are unavailable after the upgrade should be ignored during operation or removed during the upgrade.

Additional info:

As a workaround, remove from the inventory `one_hour_metrics`, `six_hour_metrics`, `twenty_four_hour metrics` and `metrics_index` from ColumnFamilies and create a new compaction operation that will take in account `aggregate_metrics` and `metrics_idx` folders as well.

Comment 4 Ruben Vargas Palma 2016-06-15 19:57:57 UTC
commit dff67498677a538f2afa006e7ffaa2bcc5d7c3b6
Merge: e182c36 a404238
Author: Michael Burman <yak>
Date:   Tue Jun 14 14:36:56 2016 +0300

    Merge pull request #265 from rubenvp8510/Bug/1213812
    
    Bug 1213812 - After upgrade from JBoss ON 3.2 to 3.3, some rhq column…


commit a404238f4dbe50c6d31bf80bfbaa679eeda64ebd
Author: Ruben Vargas <ruben.vp8510>
Date:   Thu Jun 2 18:35:28 2016 -0500

    Bug 1213812 - After upgrade from JBoss ON 3.2 to 3.3, some rhq column families are unavailable and compaction operations fail

Comment 6 Simeon Pinder 2016-07-07 08:22:50 UTC
Moving to ON_QA as available to test with the following build:
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=502442

Note: 	jon-server-patch-3.3.0.GA.zip maps to JON 3.3.6(jon-server-3.3.0.GA-update-06.zip)

Comment 16 Michael Burman 2016-07-18 17:54:10 UTC
In the master:

commit d6e6851ab3950e5b7a137b957618329507af2e02
Author: Michael Burman <miburman>
Date:   Mon Jul 18 15:55:57 2016 +0300

    [BZ 1213812] Add clear columnfamilies option to rhqctl upgrade

Comment 18 Simeon Pinder 2016-07-21 06:34:38 UTC
Moving to ON_QA as available to test with the following build:

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=504646

* Note  jon-server-patch-3.3.0.GA.zip maps to jon-server-3.3.0.GA-update-06 and is CR01 build of JON 3.3.6.

Comment 21 errata-xmlrpc 2016-07-27 15:29:54 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-2016-1519.html


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