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