<!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 08:03 -0400 skrev Eli Mesika:
<blockquote type="CITE">
<pre>
Hi
this was solved in commit e433e54616231c1afe950d3291566133106812d0
</pre>
</blockquote>
Following procedured still fails; revert failed upgrade to 3.1.0-4, re-enable 3.2 repo, update ovirt-engine-setup (3.2.0-4), download new
<a href="http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh">
dbfunctions.sh</a> and <a href="http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/drop_old_uuid_functions.sql">
drop_old_uuid_functions.sql</a> from gerrit, and then try to engine-upgrade. Same problem as before. Is there any patch-set I could try and verify if changes work, or how long until there is any update to the repository packages?<br>
<br>
/Karli
<blockquote type="CITE">
<pre>

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