Bug 1297682

Summary: need to reconnect to db on stop in the thread that updates dwh_history_timekeeping
Product: [oVirt] ovirt-engine-dwh Reporter: Yedidyah Bar David <didi>
Component: ETLAssignee: Shirly Radco <sradco>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, didi, gklein
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dwh
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-14 11:48:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yedidyah Bar David 2016-01-12 08:48:10 UTC
Description of problem:

See flow in bug 1286441 comment 22.

The fix there changed dwhd to reconnect every 4 seconds, which might not be enough under certain conditions (such as automated upgrades or whatever). We should reconnect right before trying to update the engine db.

Comment 1 Shirly Radco 2016-01-14 11:35:02 UTC
Please add steps to reproduce this problem.

Comment 2 Shirly Radco 2016-01-14 11:48:05 UTC
There is a workaround . Restart ovirt-engine-dwhd.
Closing as wontfix.