Bug 1611961 - Error updating from 4.2.5.1 to 4.2.5.2
Summary: Error updating from 4.2.5.1 to 4.2.5.2
Keywords:
Status: CLOSED DUPLICATE of bug 1609839
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 4.2.5.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-03 07:28 UTC by Vladimir
Modified: 2018-08-03 08:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-03 08:34:40 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
Log (6.40 MB, text/plain)
2018-08-03 07:28 UTC, Vladimir
no flags Details

Description Vladimir 2018-08-03 07:28:40 UTC
Created attachment 1472893 [details]
Log

Description of problem: 
Error updating from 4.2.5.1 to 4.2.5.2

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

How reproducible:
engine-setup

I can not install updates.

Comment 1 Sandro Bonazzola 2018-08-03 08:29:04 UTC
2018-08-03 11:01:51,391+0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:926 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20180803105711-cb9gin.log', '-c', 'apply'] stderr:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql:1: ERROR:  insert or update on table "image_transfers" violates foreign key constraint "fk_image_transfers_command_enitites"
DETAIL:  Key (command_id)=(d7fec018-1a77-4e56-9859-c59fb0ce46a4) is not present in table "command_entities".
FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql

2018-08-03 11:01:51,391+0400 ERROR otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:434 schema.sh: FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_1210_add_foreign_key_to_image_transfers.sql
2018-08-03 11:01:51,417+0400 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 436, in _misc
    raise RuntimeError(_('Engine schema refresh failed'))
RuntimeError: Engine schema refresh failed
2018-08-03 11:01:51,432+0400 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': Engine schema refresh failed

Comment 2 Sandro Bonazzola 2018-08-03 08:34:40 UTC
thanks for reporting, we are tracking this on bug #1609839

*** This bug has been marked as a duplicate of bug 1609839 ***


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