Bug 999498

Summary: [rhevm-dwh] - Upgrade - dwh-setup fails when upgrading from 3.2 - incorrect handling of postgres configuration
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-dwhAssignee: Alex Lourie <alourie>
Status: CLOSED CURRENTRELEASE QA Contact: Barak Dagan <bdagan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, dbotzer, iheim, pstehlik, Rhev-m-bugs, yeylon, ylavi
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 15:14:57 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:
Attachments:
Description Flags
log1 none

Description David Botzer 2013-08-21 12:21:44 UTC
Created attachment 788839 [details]
log1

Description of problem:
dwh-setup failed on upgrade from 3.2
incorrect handling of postgres configuration

Version-Release number of selected component (if applicable):
3.2/sf19
3.3/is10 - rhevm-dwh-3.3.0-8.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1.install 3.2 rhevm+dwh+reports
2.create vm
3.upgrade engine
4.upgrade dwh & run setup

Actual results:
setup failed

Expected results:
Should upgrade correctly

Additional info:
In order to proceed the installer must stop the ovirt-engine service
Would you like to stop the ovirt-engine service (yes|no): y
Stopping ovirt-engine...                              [ DONE ]
Setting DB connectivity...                            [ DONE ]
Creating DB...                                        [ ERROR ]
Error encountered while installing rhevm-dwh, please consult the log file: /var/log/ovirt-engine/rhevm-dwh-setup-2013_08_21_14_20_03.log
[root@dbotzer-remote2 ovirt-engine]# Srvs 
postmaster (pid  25284) is running...
ovirt-engine is stopped
/etc/init.d/ovirt-engine-dwhd is stopped
[root@dbotzer-remote2 ovirt-engine]# service postgresql restart
Stopping postgresql service:                               [  OK  ]
Starting postgresql service:                               [  OK  ]
[root@dbotzer-remote2 ovirt-engine]# rhevm-dwh-setup 
Setting DB connectivity...                            [ DONE ]
Creating DB...                                        [ ERROR ]
Error encountered while installing rhevm-dwh, please consult the log file

Comment 1 Alex Lourie 2013-09-01 21:27:26 UTC
Please retest with ovirt-dwh master.