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:
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.
ClassCastException while running upgrade with migration without params and with param estimate -> http://d.pr/f/rtG4 version: 2390 jenkins master build
Update the code one more time. The Cassandra driver had a different expectation for the seed list argument. Please retest.
checked for both postgres and oracle migration with upgrade. please get attached logs of verification. thank you.
Created attachment 767883 [details] rhqctl_upgrade_oracle.log
Created attachment 767884 [details] rhqctl_upgrade_postgres.log