Correct the version I am attempting to upgrade was built from master on Monday. I just built master from today and attempted to upgrade the running instance I built from master on Monday.<br><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Nov 9, 2012 at 2:49 PM, Alon Bar-Lev <span dir="ltr">&lt;<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You wrote version from Monday... (a665ec3af7b2dd04e80007b1c062868d3e049fce)<br>
Which was before patch was applied.<br>
<div class="im HOEnZb"><br>
----- Original Message -----<br>
&gt; From: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br>
&gt; Sent: Friday, November 9, 2012 10:42:28 PM<br>
&gt; Subject: Re: [Engine-devel] engine database upgrade failure with latest<br>
&gt;<br>
&gt; cloned via git clone <a href="http://gerrit.ovirt.org/p/ovirt-engine" target="_blank">http://gerrit.ovirt.org/p/ovirt-engine</a> (so<br>
&gt; master by default)<br>
&gt; current master commit appears to me as:<br>
&gt; commit        2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Nov 9, 2012 at 2:32 PM, Alon Bar-Lev &lt; <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> &gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Strange...<br>
&gt;<br>
&gt; This[1] patch should have solved this. It is merged to master.<br>
&gt; Are you using master?<br>
&gt;<br>
&gt; [1] <a href="http://gerrit.ovirt.org/#/c/8955/" target="_blank">http://gerrit.ovirt.org/#/c/8955/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Dead Horse&quot; &lt; <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> &gt;<br>
&gt; &gt; To: <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br>
&gt; &gt; Sent: Friday, November 9, 2012 10:28:18 PM<br>
&gt; &gt; Subject: [Engine-devel] engine database upgrade failure with latest<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I built the latest ovirt-engine from GIT and attempted to upgrade.<br>
&gt; &gt; Version that I attempting to upgrade was built Monday from master<br>
&gt; &gt; (commit: a665ec3af7b2dd04e80007b1c062868d3e049fce).<br>
&gt; &gt;<br>
&gt; &gt; Below is the what was logged by engine-upgrade:<br>
&gt; &gt; 2012-11-09 14:15:54::DEBUG::engine-upgrade::425::root:: DB Update<br>
&gt; &gt; started<br>
&gt; &gt; 2012-11-09 14:15:54::DEBUG::common_utils::390::root:: Executing<br>
&gt; &gt; command --&gt; &#39;/usr/share/ovirt-engine/dbscripts/upgrade.sh -s<br>
&gt; &gt; localhost -p 5432 -u engine -d engine_2012_11_09_14_12_52&#39;<br>
&gt; &gt; 2012-11-09 14:15:58::DEBUG::common_utils::428::root:: output =<br>
&gt; &gt; upgrade script detected a change in Config, View or Stored<br>
&gt; &gt; Procedure...<br>
&gt; &gt;<br>
&gt; &gt; 2012-11-09 14:15:58::DEBUG::common_utils::429::root:: stderr =<br>
&gt; &gt; psql:create_functions.sql:666: ERROR: must be owner of function<br>
&gt; &gt; uuid_generate_v1<br>
&gt; &gt;<br>
&gt; &gt; 2012-11-09 14:15:58::DEBUG::common_utils::430::root:: retcode = 3<br>
&gt; &gt; 2012-11-09 14:15:58::ERROR::engine-upgrade::1072::root:: Traceback<br>
&gt; &gt; (most recent call last):<br>
&gt; &gt; File &quot;/usr/bin/engine-upgrade&quot;, line 1059, in main<br>
&gt; &gt; runFunc([db.update], MSG_INFO_DB_UPDATE)<br>
&gt; &gt; File &quot;/usr/bin/engine-upgrade&quot;, line 607, in runFunc<br>
&gt; &gt; func()<br>
&gt; &gt; File &quot;/usr/bin/engine-upgrade&quot;, line 442, in update<br>
&gt; &gt; output, rc = utils.execCmd(cmdList=cmd, failOnError=True,<br>
&gt; &gt; msg=MSG_ERROR_UPDATE_DB)<br>
&gt; &gt; File &quot;/usr/share/ovirt-engine/scripts/common_utils.py&quot;, line 433,<br>
&gt; &gt; in<br>
&gt; &gt; execCmd<br>
&gt; &gt; raise Exception(msg)<br>
&gt; &gt; Exception: Error: Database update failed<br>
&gt; &gt;<br>
&gt; &gt; - DHC<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Engine-devel mailing list<br>
&gt; &gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>