Bug 903137 - Unable to install reports on upgraded engine
Summary: Unable to install reports on upgraded engine
Keywords:
Status: CLOSED DUPLICATE of bug 895049
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-reports
Version: 3.1.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Yaniv Lavi
QA Contact: David Botzer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 09:57 UTC by Pavel Zhukov
Modified: 2014-06-18 07:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-23 10:06:16 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Zhukov 2013-01-23 09:57:48 UTC
Description of problem:
Unable to install reports on engine which has been upgraded from 3.0 (without reports installed). 


Version-Release number of selected component (if applicable):
rhevm-reports-3.1.0-20.el6ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Install RHEV 3.0
2. Upgrade it to RHEV 3.1
3. Try to install rhevm-reports
  
Actual results:
Installation failed
Exception: Error while removing database rhevmreports
RhevmReports DB doesn't exist


Additional info:
Checking for existDB is OK. 
2013-01-18 13:40:19::DEBUG::common_utils::707::root:: retcode = 2

but AFTER:

/usr/share/ovirt-engine-reports/ovirt-engine-reports-setup.py
Checking for upgrade flag set DB_EXIST flag to TRUE again
761:       if upgrade30:
                global DB_EXIST
                DB_EXIST = True

and failed because rhevreports doen't exists but DB_EXIST flag is TRUE

Step to test:
>> touch /etc/ovirt-engine/reports-upgrade
run rhevm-reports-setup

Comment 1 Pavel Zhukov 2013-01-23 10:06:16 UTC

*** This bug has been marked as a duplicate of bug 895049 ***


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