Bug 890324

Summary: [ovirt-engine-backend] Can not upgrade from 3.1 to 3.2
Product: Red Hat Enterprise Virtualization Manager Reporter: Kiril Nesenko <knesenko>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.2.0CC: dfediuck, dyasny, hateya, iheim, lpeer, mgoldboi, obasan, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 892532, 909948    
Bug Blocks: 885369    
Attachments:
Description Flags
log
none
update_log none

Description Kiril Nesenko 2012-12-26 12:20:28 UTC
Created attachment 669203 [details]
log

Description of problem:
Upgrade fail on DB upgrade :


2012-12-26 12:19:34::DEBUG::rhevm-upgrade::426::root:: DB Update started
2012-12-26 12:19:34::DEBUG::common_utils::424::root:: Executing command --> '/usr/share/ovirt-engine/dbscripts/upgrade.sh -s localhost -p 5432 -u engine -d engine_2012_12
_26_12_18_59'
2012-12-26 12:19:35::DEBUG::common_utils::462::root:: output = upgrade script detected a change in Config, View or Stored Procedure...

2012-12-26 12:19:35::DEBUG::common_utils::463::root:: stderr = psql:create_functions.sql:679: ERROR:  must be owner of function uuid_generate_v1

2012-12-26 12:19:35::DEBUG::common_utils::464::root:: retcode = 3
2012-12-26 12:19:35::ERROR::rhevm-upgrade::1073::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-upgrade", line 1060, in main
    runFunc([db.update], MSG_INFO_DB_UPDATE)
  File "/usr/bin/rhevm-upgrade", line 608, in runFunc
    func()
  File "/usr/bin/rhevm-upgrade", line 443, in update
    output, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=MSG_ERROR_UPDATE_DB)
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 467, in execCmd
    raise Exception(msg)
Exception: Error: Database update failed

2012-12-26 12:19:35::ERROR::rhevm-upgrade::1074::r

Version-Release number of selected component (if applicable):
Upgrade from si25.2 to sf2

How reproducible:


Steps to Reproduce:
1. Upgrade from si25.1 to sf2
2.
3.
  
Actual results:
Upgrade fails

Expected results:


Additional info:

Comment 2 Kiril Nesenko 2013-01-06 08:43:52 UTC
Created attachment 673301 [details]
update_log

Comment 4 Eli Mesika 2013-01-06 18:52:59 UTC
http://gerrit.ovirt.org/#/c/10690/

Comment 5 Eli Mesika 2013-01-07 18:28:47 UTC
fixed in commit : 51b5cbf

Comment 6 Ohad Basan 2013-01-23 17:06:17 UTC
I experience the same failure on sf4

Comment 7 Eli Mesika 2013-01-23 22:23:33 UTC
please attach logs

Comment 8 Ohad Basan 2013-01-24 10:04:53 UTC
will open a different bug instead.
seems to be a different issue.

Comment 13 Itamar Heim 2013-06-11 09:00:20 UTC
3.2 has been released

Comment 14 Itamar Heim 2013-06-11 09:00:21 UTC
3.2 has been released

Comment 15 Itamar Heim 2013-06-11 09:00:24 UTC
3.2 has been released

Comment 16 Itamar Heim 2013-06-11 09:01:41 UTC
3.2 has been released

Comment 17 Itamar Heim 2013-06-11 09:31:06 UTC
3.2 has been released