Bug 1363824

Summary: context variables for DWH are not the same type as in engine
Product: [oVirt] ovirt-engine Reporter: Fabrice Bacchella <fabrice.bacchella>
Component: GeneralAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: low    
Version: 4.0.1.1CC: bugs, lsvaty, ylavi
Target Milestone: ovirt-4.1.0-betaKeywords: Reopened
Target Release: ---Flags: ylavi: ovirt-4.1?
rule-engine: planning_ack?
sbonazzo: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-29 10:08:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabrice Bacchella 2016-08-03 16:23:55 UTC
If I look it /var/log/ovirt-engine/setup/ovirt-engine-setup-....log after upgrading from 3.6 to 4.0, I see a funny result:

2016-08-03 11:23:11 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DB/port=int:'5432'
2016-08-03 11:38:27 DEBUG otopi.context context.dumpEnvironment:770 ENV OVESETUP_DWH_DB/port=str:'5432'


The DWH DB configuration code seems to be very different from the DB configuration, so there is duplicated code and source of bug like #1363816

Comment 1 Yaniv Lavi 2016-08-11 08:23:14 UTC
This is by design, since the engine DB and the DWH DB don't have to be in the same location.

Comment 2 Ido Rosenzwig 2016-12-29 10:08:13 UTC
Fixed on https://bugzilla.redhat.com/1263785

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