Bug 1040938

Summary: [DWH-SETUP] - remote user password is asked twice for authentication
Product: Red Hat Enterprise Virtualization Manager Reporter: Barak Dagan <bdagan>
Component: ovirt-engine-dwhAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: aberezin, acathrow, adahms, iheim, jbelka, pstehlik, Rhev-m-bugs, sbonazzo, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-3.4.0-beta2 Doc Type: Bug Fix
Doc Text:
Previously, users were asked to provide their passwords twice when running ovirt-engine-dwh-setup with a remote database. Now, users are only asked to provide their password one time.
Story Points: ---
Clone Of:
: 1052065 1057281 (view as bug list) Environment:
Last Closed: 2014-06-09 15:16:20 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: 1057281, 1078909, 1142926    

Description Barak Dagan 2013-12-12 11:33:20 UTC
Description of problem:
During installation of DWH, using remote DB configuration, user is asked twice for the password :

Please choose a password for the db user: 
Warning: Weak Password.
Re-type password: 
Creating DB...                                        [ DONE ]
Setting DB connectivity...                            [ DONE ]

This behaviour is generally used, when an account is created and not for authentication

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

How reproducible:
100%

Steps to Reproduce:
1. install engine using remote db configuration
2. install dwh using the same remote db server
3.

Actual results:
1) Password is asked twice
2) There is password strength calculation
3) Getting the impression that the db is created by the setup

Expected results:
1) Password will be asked once
2) More accurate message than creating DB

Additional info:

Comment 1 Sandro Bonazzola 2014-01-10 14:39:55 UTC
Didi can you rebase and verify Alex patch?

Comment 3 Jiri Belka 2014-02-18 17:20:49 UTC
ok, ovirt-engine-dwh-setup-3.4.0-0.2.master.20140205160753.el6.noarch ovirt-engine-setup-3.4.0-0.7.beta2.el6.noarch

...
         
          DWH database host [localhost]: jb-rh32.rhev.lab.eng.brq.redhat.com
          DWH database port [5432]: 
          DWH database secured connection (Yes, No) [No]: 
          DWH database name [ovirt_engine_history]: engine_history
          DWH database user [ovirt_engine_history]: engine_history
          DWH database password: 
          Where is the Reports database located? (Local, Remote) [Local]: Remote
...

Comment 4 errata-xmlrpc 2014-06-09 15:16:20 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/RHEA-2014-0601.html