Previously, upgrading from Red Hat Enterprise Virtualization 3.3 to Red Hat Enterprise Virtualization 3.4 would fail under certain conditions due to a missing .war file when the Reports feature was installed. This was caused by the logic used to specify the location of the JasperReports .war file. This logic has now been revised so that the location of the JasperReports .war file is detected correctly, allowing the upgrade to complete successfully.
Created attachment 875960[details]
setup log
Description of problem:
during upgrade from 3.3 machine with reports installed to 3.4 (2 pahses: engine, then dwh & reports), the installation fails in the reports upgarde part:
[ INFO ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20140318193421.PiimQx.sql'.
[ INFO ] Creating/refreshing DWH database schema
[ INFO ] Exporting data out of Jasper
[ ERROR ] Failed to execute stage 'Misc configuration': Could not detect Jasper war folder
[ INFO ] Rolling back database schema
[ INFO ] Clearing Engine database engine
[ INFO ] Restoring Engine database engine
[ INFO ] Rolling back DWH database schema
[ INFO ] Clearing DWH database ovirt_engine_history
[ INFO ] Restoring DWH database ovirt_engine_history
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140318193226.log
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
Version-Release number of selected component (if applicable):
av3
How reproducible:
1 / 1
Steps to Reproduce:
1. install 3.3 + dwh & reports
2. upagrde to 3.4 engine
3. yum update dwh & reports
4. run rhevm-setup again
Actual results:
Expected results:
Additional info:
Didi, I'm not sure we take the old 3.3 war location from environment.
Please check this. The pro config file for setup is in d\s gerrit rhev-3.4 branch.
Alon can help you with more details.
Yaniv
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHEA-2014-0602.html
Created attachment 875960 [details] setup log Description of problem: during upgrade from 3.3 machine with reports installed to 3.4 (2 pahses: engine, then dwh & reports), the installation fails in the reports upgarde part: [ INFO ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20140318193421.PiimQx.sql'. [ INFO ] Creating/refreshing DWH database schema [ INFO ] Exporting data out of Jasper [ ERROR ] Failed to execute stage 'Misc configuration': Could not detect Jasper war folder [ INFO ] Rolling back database schema [ INFO ] Clearing Engine database engine [ INFO ] Restoring Engine database engine [ INFO ] Rolling back DWH database schema [ INFO ] Clearing DWH database ovirt_engine_history [ INFO ] Restoring DWH database ovirt_engine_history [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140318193226.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed Version-Release number of selected component (if applicable): av3 How reproducible: 1 / 1 Steps to Reproduce: 1. install 3.3 + dwh & reports 2. upagrde to 3.4 engine 3. yum update dwh & reports 4. run rhevm-setup again Actual results: Expected results: Additional info: