Bug 1546979

Summary: engine-setup with dwh on separate machine fails
Product: [oVirt] ovirt-engine-dwh Reporter: Yedidyah Bar David <didi>
Component: SetupAssignee: Shirly Radco <sradco>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs
Target Milestone: ---   
Target Release: ---   
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: 2018-02-20 09:19:22 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 Yedidyah Bar David 2018-02-20 09:16:24 UTC
Description of problem:

[ ERROR ] Failed to execute stage 'Environment customization': 'OVESETUP_PROVISIONING/postgresProvisioningEnabled'

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

4.2

How reproducible:

I think always

Steps to Reproduce:
1. setup engine on machine A
2. install and try to setup dwh on machine B
3.

Actual results:

Fails with above message. log has:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    if method['condition']():
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-dwh/db/engine_connection.py", line 51, in <lambda>
    oengcommcons.ProvisioningEnv.POSTGRES_PROVISIONING_ENABLED
KeyError: 'OVESETUP_PROVISIONING/postgresProvisioningEnabled'

Expected results:

Succeeds

Additional info:

Only 4.2 is affected, seems like it was broken by https://gerrit.ovirt.org/86541
. We should really start testing this flow automatically.

Comment 1 Yedidyah Bar David 2018-02-20 09:19:22 UTC

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