Bug 1168160 - engine-setup does not reset DisconnectDwh on failure
Summary: engine-setup does not reset DisconnectDwh on failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.5.0
Assignee: Yedidyah Bar David
QA Contact: Petr Matyáš
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-26 10:02 UTC by Yedidyah Bar David
Modified: 2015-02-12 14:15 UTC (History)
10 users (show)

Fixed In Version: org.ovirt.engine-root-3.5.0-23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-12 14:15:04 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 35583 0 master MERGED packaging: setup: unset DisconnectDwh on failure 2020-09-09 09:32:04 UTC
oVirt gerrit 35598 0 ovirt-engine-3.5 MERGED packaging: setup: unset DisconnectDwh on failure 2020-09-09 09:32:03 UTC

Description Yedidyah Bar David 2014-11-26 10:02:47 UTC
Description of problem:

If engine-setup tries to disconnect a remote dwhd by setting DisconnectDwh to 1, it does not set it back to 0 on failure. Next attempts to start dwhd will then fail (currently silently, see bug 1168141).

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

How reproducible:

always

Steps to Reproduce:
1. setup engine on macine A and dwh on machine B, start both
2. somehow prevent dwh access to engine db (e.g. firewall)
3. run engine-setup on A, it will try to stop dwh and fail
4. allow access of dwh to engine db (revert step 2)
5. try to restart dwh

Actual results:

dwh fails to start

Expected results:

success

Additional info:

step 2 is currently "happening" also due to bug 1167801 .

Comment 1 Yedidyah Bar David 2014-11-26 10:03:41 UTC
Workaround: manually set it to 0 by running on engine db:

update vdc_options set option_value='0' where option_name = 'DisconnectDwh';


Note You need to log in before you can comment on or make changes to this bug.