| Summary: | [REPORTS-SETUP] - backup is not performed therefore restore fails. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Barak Dagan <bdagan> | ||||
| Component: | ovirt-engine-reports | Assignee: | Yedidyah Bar David <didi> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Barak Dagan <bdagan> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 3.3.0 | CC: | acathrow, didi, iheim, pstehlik, Rhev-m-bugs, scohen, srevivo, yeylon, ylavi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| Fixed In Version: | is28 - rhevm-reports-3.3.0-26.el6ev.noarch.rpm | Doc Type: | Bug Fix | ||||
| Doc Text: |
When upgrading rhevm-reports, the installation directory owner and permission changed, therefore the reports setup failed, and the Manager could not run. Now, the database and web archive (WAR) files are backed up and restored upon upgrade, and the correct permissions are restored.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-21 14:56:58 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: | |||||
| Bug Depends On: | 1039459 | ||||||
| Bug Blocks: | 1049022 | ||||||
| Attachments: |
|
||||||
This code was removed at some point:
if not warUpdated and DB_EXIST:
backupWAR()
backupDB(db_dict, TEMP_PGPASS)
Since no backup is done the restore fails.
Also permissions change due to the copy being done to tmp folder and restore should restore the correct permissions.
Yaniv
verified on is32.2: rhevm-reports-3.3.0-28.el6ev.noarch rhevm-dwh-3.3.0-28.el6ev.noarch jasperreports-server-pro-5.5.0-4.el6ev.noarch 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/RHBA-2014-0035.html |
Created attachment 837073 [details] reports setup log Description of problem: During reports setup, installation directory owner and permission changed and therefore the installation failed. JBOSS will fail to run the engine due to the same problem Version-Release number of selected component (if applicable): is26 / is27 How reproducible: 100% Steps to Reproduce: 1. intall 3.2.4 / 5 + dwh & reports 2. upgrade engine & dwh to is27 3. upgrade reports Actual results: installation fails, engine fails to start Expected results: successfull installation Additional info: