Bug 976790 - rhqctl upgrade with migrator doesn't work
Summary: rhqctl upgrade with migrator doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Upgrade
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER01
: JON 3.2.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-06-21 13:15 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
rhqctl_upgrade_oracle.log (66.13 KB, text/x-log)
2013-07-02 17:13 UTC, Armine Hovsepyan
no flags Details
rhqctl_upgrade_postgres.log (65.68 KB, text/x-log)
2013-07-02 17:14 UTC, Armine Hovsepyan
no flags Details

Description Armine Hovsepyan 2013-06-21 13:15:56 UTC
Description of problem:
rhqctl upgrade with migrator doesn't work

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

How reproducible:
always

Steps to Reproduce:
1. install rhq server 4.5.1
2. run ./rhq-server-4.8.0-SNAPSHOT/bin/rhqctl upgrade --from-server-dir /home/hudson/rhq-server-4.5.1 --run-data-migrator do-it
3.

Actual results:
postgres -> http://d.pr/f/Kvkf
oralce -> http://d.pr/f/Aswx

Expected results:
postgres- > migration works with default parameters
oracle -> config params used in rhq-data-migrator.sh should be acceptable for upgrade and migrator should work

Additional info:

Comment 1 Stefan Negrea 2013-06-28 20:36:22 UTC
Updated the code to use the connection url from rhq-server.properties. For oracle the code should not rely in individual properties to generate a connection url since a lot of the properties are marked with "unused" in the configuration file.

Also updated the code to use the rhq-server.properties file implicitly.


Please retest.

Comment 2 Armine Hovsepyan 2013-07-01 11:09:46 UTC
ClassCastException while running upgrade with migration without params and with 
param estimate -> http://d.pr/f/rtG4

version: 2390  jenkins master build

Comment 3 Stefan Negrea 2013-07-01 14:15:20 UTC
Update the code one more time. The Cassandra driver had a different expectation for the seed list argument. Please retest.

Comment 4 Armine Hovsepyan 2013-07-02 17:12:57 UTC
checked for both postgres and oracle migration with upgrade.
please get attached logs of verification.

thank you.

Comment 5 Armine Hovsepyan 2013-07-02 17:13:39 UTC
Created attachment 767883 [details]
rhqctl_upgrade_oracle.log

Comment 6 Armine Hovsepyan 2013-07-02 17:14:01 UTC
Created attachment 767884 [details]
rhqctl_upgrade_postgres.log


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