Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1043314 - [REPORTS-SETUP] - backup is not performed therefore restore fails.
[REPORTS-SETUP] - backup is not performed therefore restore fails.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-reports (Show other bugs)
3.3.0
Unspecified Unspecified
urgent Severity urgent
: ---
: 3.3.0
Assigned To: Yedidyah Bar David
Barak Dagan
integration
:
Depends On: 1039459
Blocks: 3.3rc1
  Show dependency treegraph
 
Reported: 2013-12-15 18:04 EST by Barak Dagan
Modified: 2015-09-22 09 EDT (History)
9 users (show)

See Also:
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 09:56:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
reports setup log (6.13 KB, application/x-compressed-tar)
2013-12-15 18:04 EST, Barak Dagan
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 22480 None None None Never
oVirt gerrit 22532 None None None Never
Red Hat Product Errata RHBA-2014:0035 normal SHIPPED_LIVE rhevm-reports 3.3 bug fix and enhancement update 2014-01-21 14:53:30 EST

  None (edit)
Description Barak Dagan 2013-12-15 18:04:56 EST
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:
Comment 3 Yaniv Lavi 2013-12-17 05:16:53 EST
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
Comment 5 Barak Dagan 2014-01-16 12:32:12 EST
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
Comment 7 errata-xmlrpc 2014-01-21 09:56:58 EST
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

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