Bug 996218 - Problem with cassandra during upgrading RHQ server from version 4.8.0 to 4.9.0.
Summary: Problem with cassandra during upgrading RHQ server from version 4.8.0 to 4.9.0.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Upgrade
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER01
: JON 3.2.0
Assignee: John Sanda
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-12 17:02 UTC by jvlasak
Modified: 2013-11-04 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-05 18:54:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log from upgrading process. (4.31 KB, text/plain)
2013-08-12 17:02 UTC, jvlasak
no flags Details

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.


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