Bug 903137
| Summary: | Unable to install reports on upgraded engine | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Pavel Zhukov <pzhukov> |
| Component: | ovirt-engine-reports | Assignee: | Yaniv Lavi <ylavi> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Botzer <dbotzer> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.1 | CC: | acathrow, dyasny, iheim, nobody, pstehlik, Rhev-m-bugs, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-23 10:06:16 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: | |||
*** This bug has been marked as a duplicate of bug 895049 *** |
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