Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1190469

Summary: After upgrade from 3.4 to 3.5.0 dwh fails to collect on first minute on "insert or update on table "vm_samples_history" violates foreign key constraint "vm_samples_history_current_user_id_fkey""
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engine-dwhAssignee: Shirly Radco <sradco>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: high    
Version: 3.5.0CC: bazulay, ecohen, eedri, gklein, iheim, lsurette, ngupta, pstehlik, rbalakri, Rhev-m-bugs, sradco, yeylon, ylavi
Target Milestone: ---Keywords: Regression, Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vt13.10 - rhevm-dwh-3.5.0-8.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1189000
: 1204459 (view as bug list) Environment:
Last Closed: 2015-03-22 09:20:31 UTC Type: ---
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: 1189000    
Bug Blocks: 1204459    

Comment 5 errata-xmlrpc 2015-02-16 14:40:37 UTC
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/RHBA-2015-0225.html

Comment 8 Eyal Edri 2015-03-19 10:36:26 UTC
removing not logical tr, since 3.5.0-1 was already released.

Comment 9 Yaniv Lavi 2015-03-19 12:57:18 UTC
Please resync the config values. Run:
"""
UPDATE dwh_history_timekeeping
   SET var_datetime='2000-01-01'
 WHERE var_name='lastSync';
"""

This should resolve the issue. Please let us know if this continues after this.

Comment 10 Yaniv Lavi 2015-03-22 08:44:20 UTC
(In reply to Yaniv Dary from comment #9)
> Please resync the config values. Run:
> """
> UPDATE dwh_history_timekeeping
>    SET var_datetime='2000-01-01'
>  WHERE var_name='lastSync';
> """
> 
> This should resolve the issue. Please let us know if this continues after
> this.

This need to be done on the engine db side.