Bug 1077775

Summary: [RHEVM-SETUP] - reports upgrade fails due to missing war
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engine-reportsAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Barak Dagan <bdagan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.4.0CC: aberezin, acathrow, adahms, audgiri, bdagan, cpelland, didi, gchakkar, iheim, mkalinin, pablo.iranzo, pstehlik, Rhev-m-bugs, sbonazzo, sradco, yeylon, ylavi
Target Milestone: ---Keywords: Reopened, TestBlocker, ZStream
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: av5 - rhevm-reports-3.4.0-4.el6ev.noarch.rpm Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-23 12:19:37 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:
Bug Depends On: 1086003, 1111749, 1121792    
Bug Blocks: 1071020, 1090946    
Attachments:
Description Flags
setup log
none
setup log none

Description Barak Dagan 2014-03-18 14:45:05 UTC
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:

Comment 1 Yaniv Lavi 2014-03-18 15:42:11 UTC
Log is corrupt, please reattach.


Yaniv

Comment 2 Barak Dagan 2014-03-18 15:56:36 UTC
Created attachment 876013 [details]
setup log

Comment 3 Yaniv Lavi 2014-03-19 19:40:05 UTC
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

Comment 4 Yaniv Lavi 2014-03-23 05:05:19 UTC
Didi, please provide update. This is blocking upgrade tests.



Yaniv

Comment 6 Barak Dagan 2014-04-24 15:04:44 UTC
Verified on av6.1

Comment 7 errata-xmlrpc 2014-06-09 15:28:10 UTC
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