Bug 1047521

Summary: [Reports-Setup] Installation fails on clean install with existing reports user.
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Lavi <ylavi>
Component: ovirt-engine-reportsAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Barak Dagan <bdagan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, adahms, didi, iheim, pstehlik, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: IS31 - rhevm-reports-3.3.0-28.el6ev.noarch.rpm Doc Type: Bug Fix
Doc Text:
Previously, rhevm-reports-setup would fail on a clean installation because there was a mismatch in the reports user and ownership. This update fixes the instances when ownership was not correctly recognized, and fixes the change to the database credentials dictionary that could incorrectly cause the setup to try to use the wrong credentials.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 14:57:25 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:    
Bug Blocks: 1056111    

Description Yaniv Lavi 2013-12-31 14:02:04 UTC
Description of problem:
- Fixed setup failure on existing user creation attempt.
- Fixed instances that ownership wasn't recognized correctly.
- Fixed wrong change to dc dict that could cause setup to try to create engine user.

Version-Release number of selected component (if applicable):
3.3.0

Comment 2 Yedidyah Bar David 2014-01-15 07:52:01 UTC
Not sure the doctext reflects the fixes even with this update, because the final change fixed also other flows tested during its review (local/remote db, clean setup/upgrade). Whatever. Whoever that really wants to know can look at the change itself in gerrit - we are open-source, after all.

Comment 3 Barak Dagan 2014-01-16 22:07:36 UTC
verified on is32.2:

rhevm-dwh-3.3.0-28.el6ev.noarch
jasperreports-server-pro-5.5.0-4.el6ev.noarch
rhevm-reports-3.3.0-28.el6ev.noarch

1) clean install 3.3 remote + local
2) upgrade of 3.2.5 -> 3.3 on local & remote (db owner postgres / dbadmin) + known sso users (password = encrypted null)
3) upgrade 3.1.5.1 -> 3.2.5  -> 3.3 remote + local

Comment 5 errata-xmlrpc 2014-01-21 14:57:25 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/RHBA-2014-0035.html