Bug 996218

Summary: Problem with cassandra during upgrading RHQ server from version 4.8.0 to 4.9.0.
Product: [JBoss] JBoss Operations Network Reporter: jvlasak
Component: UpgradeAssignee: John Sanda <jsanda>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: hrupp, mkoci
Target Milestone: ER01   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-05 18:54:11 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:
Attachments:
Description Flags
Log from upgrading process. none

Description jvlasak 2013-08-12 17:02:15 UTC
Created attachment 785779 [details]
Log from upgrading process.

Description of problem:
There is thrown cassandra exception during upgrading RHQ server from version 4.8.0 to 4.9.0.

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


How reproducible:
always

Steps to Reproduce:
1.Install RHQ server and agent in version 4.8.0 () and run them (consider server's directory /home/hudson/rhq-server-4.8.0 and agent's /home/hudson/rhq-agent).
2.Login into the server application and click on Inventory item.
3.In Resources section click on Discovery Queue and import all displayed resources.
4.Download the last stable RHQ server 4.9.0 (http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RHQ/job/rhq-master/2508/artifact/rhq/modules/enterprise/server/appserver/target/rhq-server-4.9.0-SNAPSHOT.zip), unzip it and go to its bin directory.
5.Then as root execute command: ./rhqctl upgrade --from-server-dir /home/hudson/rhq-server-4.8.0 --from-agent-dir /home/hudson/rhq-agent.

Actual results:
There is thrown cassandra exception during upgrading process (see log file in attachments).
RHQ server and agent are not updated to 4.9.0.
Storage node is not installed.
Platform, agent and all its childs are not available.

Expected results:
RHQ server and agent are updated to 4.9.0.
Storage node is installed.
Platform, agent and all its childs are available.

Additional info:

Comment 2 Heiko W. Rupp 2013-08-16 16:35:17 UTC
I don't think this is relevant for JON 3.2, as JON users will upgrade from JON 3.1 or earlier, that had no Cassandra support.

It is / may be relevant for RHQ users though.

John, could you investigate if that is an issue for RHQ 4.9 ?

Comment 3 John Sanda 2013-08-19 01:27:33 UTC
Heiko you are correct about JON 3.2. Because of removing the native library support in 4.9, 4.8 users will have to go through an extra step. That extra step does not apply to JON 3.2 upgrades.

jvlasak, you need to run the rhq48-storage-patch.sh[1] script prior to upgrading. Please review the instructions included in the script and try the upgrade again.

[1] https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/etc/scripts/rhq48-storage-patch/rhq48-storage-patch.sh

Comment 4 Mike Foley 2013-09-05 18:54:11 UTC
not a valid test for JON 3.2.  QE will be performing extensive upgrade tests relevant to JON.