Bug 1006315

Summary: NoClassDefFoundError during migration
Product: [Other] RHQ Project Reporter: Armine Hovsepyan <ahovsepy>
Component: InstallerAssignee: Stefan Negrea <snegrea>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.9CC: hrupp, jshaughn, mfoley
Target Milestone: ---   
Target Release: RHQ 4.9   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-24 19:08:45 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:
Bug Depends On:    
Bug Blocks: 951619    
Attachments:
Description Flags
migration.log
none
migration.png none

Description Armine Hovsepyan 2013-09-10 12:28:04 UTC
Created attachment 795985 [details]
migration.log

Description of problem:
NoClassDefFoundError during migration

Version-Release number of selected component (if applicable):
f6efa70

How reproducible:
always

Steps to Reproduce:
1. install rhq 4.5
2. upgrade rhq 4.5 to 4.9
3. run rhq-data-migration.sh/bat

Actual results:
NoClassDefFoundError: org/rhq/core/util/obf
uscation/PicketBoxObfuscator

Expected results:
migration take part without issues

Additional info:
reproduced on both windows and linux envs
log attached

Comment 1 Jay Shaughnessy 2013-09-10 16:48:49 UTC
commit 4bef51991629aa65034b8798cb5eedff0bc8dafd
Author: Stefan Negrea <snegrea>
Date:   Tue Sep 10 11:27:34 2013 -0500

- added rhq-core-util to the list of module dependencies
- removed compression settings since the compression will not be available at all

Comment 2 Stefan Negrea 2013-09-10 17:06:06 UTC
There were two problems with the data migration tool after recent changes in the obfuscation code and Cassandra compression. First, the dependency on rhq-core-util was not correctly declared in the module.xml and also not packaged with the module by the build system. Second, the compression option was still left in the code even though it was completely disabled for the storage node. Fixed both problems with the commit above. Please retest.

Comment 3 Armine Hovsepyan 2013-09-11 12:40:55 UTC
verified
please get screen-shot attached

Comment 4 Armine Hovsepyan 2013-09-11 12:42:00 UTC
Created attachment 796359 [details]
migration.png

verification buildId:4bef519

Comment 5 Heiko W. Rupp 2013-09-24 19:08:45 UTC
Bulk closing of RHQ 4.9 verified items