<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.4.4">
</head>
<body>
mån 2013-03-11 klockan 12:20 +0100 skrev Juan Hernandez:
<blockquote type="CITE">
<pre>
On 03/11/2013 12:16 PM, Karli Sjöberg wrote:
> in the absence of any official path, we have started working out our own
> procedure for going from oVirt-3.1/Fedora 17 to oVirt-3.2/Fedora 18.
> We´ve come about halfway into upgrading to the engine node, where we
> have managed to get it up to 18, with postgres, httpd and
> ovirt-engine-3.1.0-4 running and functional. Then we edit our
> ovirt-engine.repo to add 3.2 packages, yum update ovirt-engine-setup,
> then run engine-upgrade, that fails on upgrading the database. The log
> file is attached. What could be the issue here?
The service is failing to start after the upgrade. Can you check
/var/log/messages? What about /var/log/ovirt-engine/{engine.log,server.log}?
</pre>
</blockquote>
Well that comes after failing to upgrade the database, engine- and server.log attached, doesn´t say anything useful really. It´s rather here it starts going south:<br>
<br>
2013-03-11 11:56:49::DEBUG::engine-upgrade::412::root:: DB Update started<br>
2013-03-11 11:56:49::DEBUG::common_utils::434::root:: Executing command --> '/usr/share/ovirt-engine/dbscripts/upgrade.sh -s localhost -p 5432 -u engine -d engine_2013_03_11_11_54_00'<br>
2013-03-11 11:56:54::DEBUG::common_utils::472::root:: output = /usr/share/ovirt-engine/dbscripts /usr/share/ovirt-engine/dbscripts<br>
upgrade script detected a change in Config, View or Stored Procedure...<br>
<br>
2013-03-11 11:56:54::DEBUG::common_utils::473::root:: stderr = psql:common_sp.sql:524: NOTICE: drop cascades to function fn_db_get_async_tasks()<br>
psql:common_sp.sql:567: NOTICE: type "fk_info_rs" does not exist, skipping<br>
psql:drop_all_views.sql:1: NOTICE: drop cascades to 9 other objects<br>
...<br>
psql:common_sp.sql:524: NOTICE: drop cascades to function fn_db_get_async_tasks()<br>
psql:drop_old_uuid_functions.sql:25: NOTICE: extension "uuid" does not exist, skipping<br>
CONTEXT: SQL statement "DROP EXTENSION IF EXISTS uuid--ossp CASCADE;"<br>
PL/pgSQL function __temp_drop_old_uuid_functions() line 6 at EXECUTE statement<br>
psql:drop_old_uuid_functions.sql:25: ERROR: cannot drop function uuid_nil() because extension uuid-ossp requires it<br>
HINT: You can drop extension uuid-ossp instead.<br>
CONTEXT: SQL statement "drop function if exists uuid_nil()"<br>
PL/pgSQL function __temp_drop_old_uuid_functions() line 10 at SQL statement<br>
psql:create_functions.sql:379: WARNING: GLOBAL is deprecated in temporary table creation<br>
LINE 25: CREATE GLOBAL TEMPORARY TABLE tt_TEMP22<br>
^<br>
psql:create_functions.sql:535: NOTICE: type "all_vds_group_usage_rs" does not exist, skipping<br>
psql:create_functions.sql:570: NOTICE: type "all_storage_usage_rs" does not exist, skipping<br>
psql:create_functions.sql:671: ERROR: must be owner of function uuid_generate_v1<br>
<br>
2013-03-11 11:56:54::DEBUG::common_utils::474::root:: retcode = 3<br>
2013-03-11 11:56:54::ERROR::engine-upgrade::1078::root:: Traceback (most recent call last):<br>
File "/usr/bin/engine-upgrade", line 1065, in main<br>
runFunc([db.update], MSG_INFO_DB_UPDATE)<br>
File "/usr/bin/engine-upgrade", line 594, in runFunc<br>
func()<br>
File "/usr/bin/engine-upgrade", line 429, in update<br>
output, rc = utils.execCmd(cmdList=cmd, failOnError=True, msg=MSG_ERROR_UPDATE_DB)<br>
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in execCmd<br>
raise Exception(msg)<br>
Exception: Error: Database update failed<br>
...<br>
<br>
/Karli
</body>
</html>