Bug 1076246
Summary: | RHEV 3.3 - Live Migration fails with ERROR: insert or update on table "step" violates foreign key constraint "fk_step_job" | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Robert McSwain <rmcswain> | |
Component: | ovirt-engine | Assignee: | Liran Zelkha <lzelkha> | |
Status: | CLOSED ERRATA | QA Contact: | Tareq Alayan <talayan> | |
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | 3.3.0 | CC: | aberezin, acathrow, adahms, amureini, bazulay, dossow, iheim, lpeer, lzelkha, michal.skrivanek, mkalinin, ofrenkel, oourfali, pablo.iranzo, pstehlik, Rhev-m-bugs, yeylon | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | 3.4.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | infra | |||
Fixed In Version: | org.ovirt.engine-root-3.3.0-51 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, jobs that took a long time to complete would fail under certain conditions due to database errors. This was caused by the logic used to handle jobs, which would remove jobs with no steps or asynchronous tasks. This logic has now been revised so that such jobs are no longer removed, allowing jobs that take a long time to complete to be processed correctly.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1083423 (view as bug list) | Environment: | ||
Last Closed: | 2014-06-09 15:05:24 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: | ||||
Bug Blocks: | 1083423, 1090946 |
Description
Robert McSwain
2014-03-13 21:51:22 UTC
as per initial investigation the error happens after the migration fails. It's not the reason for it. Flagging for 3.4 for now The bug reproduced on u/s: the migration job was removed before the rerun procedure managed to add a step for the next migration attempt so we got the same exception. It seems to be related to the additional section that was added to the stored procedure 'DeleteCompletedJobsOlderThanDate' as part of the solution for https://bugzilla.redhat.com/show_bug.cgi?id=1055162: it removes the job as MigrateVmCommand doesn't have async tasks. The bug occurred on rhevm 3.3.1 which includes this fix, so we're suspecting that the same thing happened in the reported scenario. couldn't reproduce. Did migrate a windows guest succesfuly .. rhevm-3.4.0-0.16.rc.el6ev.noarch 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. http://rhn.redhat.com/errata/RHSA-2014-0506.html |