Bug 890324 - [ovirt-engine-backend] Can not upgrade from 3.1 to 3.2
Summary: [ovirt-engine-backend] Can not upgrade from 3.1 to 3.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 3.2.0
Assignee: Eli Mesika
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On: 892532 909948
Blocks: 885369
TreeView+ depends on / blocked
 
Reported: 2012-12-26 12:20 UTC by Kiril Nesenko
Modified: 2016-02-10 19:42 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (91.94 KB, text/x-log)
2012-12-26 12:20 UTC, Kiril Nesenko
no flags Details
update_log (33.62 KB, text/x-log)
2013-01-06 08:43 UTC, Kiril Nesenko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 10690 0 None None None Never

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


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