Bug 1133608
| Summary: | Change runTime to be set according to Engine DB date and time. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Shirly Radco <sradco> | |
| Component: | ovirt-engine-dwh | Assignee: | Shirly Radco <sradco> | |
| Status: | CLOSED ERRATA | QA Contact: | Petr Matyáš <pmatyas> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 3.5.0 | CC: | bazulay, didi, ecohen, gklein, iheim, rbalakri, Rhev-m-bugs, sherold, sradco, yeylon, ylavi | |
| Target Milestone: | --- | |||
| Target Release: | 3.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | infra | |||
| Fixed In Version: | vt10 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1133613 (view as bug list) | Environment: | ||
| Last Closed: | 2015-02-11 18:16:09 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1152557 | |||
| Bug Blocks: | 1142923, 1156165 | |||
|
Description
Shirly Radco
2014-08-25 14:45:04 UTC
I think we should add an hourly check in the etl to test this and send an error if there is a time difference larger than a minute. Didi, How can I check that the DWH is on a seperate host? (In reply to Shirly Radco from comment #2) > Didi, How can I check that the DWH is on a seperate host? In setup code that's easy to check. Not sure that's currently easy to check in dwhd. We can add a config var for that if needed. Not sure you should check that. There is no harm in checking even if on same host. Adding such a check might needlessly complicate the code. We do that in the setup code only in places where we must - e.g., the minimal etl version check is done only when not on same host, because if on same host, engine and dwh might be upgraded to a newer version by setup, and we do the check prior to this potential upgrade. Not sure what's the exact behavior, btw - is the "time" we discuss the client's time or the db server time? If db server, then 1. if db servers are different you have the same problem even if apps are on same host 2. therefore, 3.4 is affected too. Do this test in the service start. Select from db and compare and fail if they don't match. Yaniv Yaniv,This should be tested hourly in the etl in my opinion and also when we start the etl process. All inside the talend script. Do you agree? (In reply to Shirly Radco from comment #5) > Yaniv,This should be tested hourly in the etl in my opinion and also when we > start the etl process. All inside the talend script. > Do you agree? Why hourly the clock doesn't really change once set. I agree with Shirly here, Someone can chenge the time while DWH is running. And we need to fail the collection with appropriate erreor message. the check should not be milisecond accurate .... We will change so the runTime will be set according to the engine db time. That way all updates will be according to the same db time. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0177.html |