Bug 1213814 - After upgrade fromRHQ 4.9 to 4.12, some rhq column families are unavailable and compaction operations fail
Summary: After upgrade fromRHQ 4.9 to 4.12, some rhq column families are unavailable a...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Installer
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1213812
TreeView+ depends on / blocked
 
Reported: 2015-04-21 11:12 UTC by bkramer
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description bkramer 2015-04-21 11:12:02 UTC
Description of problem:
After upgrade from RHQ 4.9 to 4.12, some rhq column families are unavailable and compaction operations fail

Version-Release number of selected component (if applicable):
RHQ 4.9 upgraded to RHQ 4.12

How reproducible:
Always

Steps to Reproduce:
1. Install RHQ 4.9
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 RHQ 4.9
5. Upgrade RHQ 4.9 to RHQ 4.12
6. Wait for the next execution of `Force Major Column Family Compaction` operation that was defined in previous RHQ 4.9

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.


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