Very odd I stopped the engine service manually and ran engine-upgrade. This time it succeeded. For fun I removed the engine and re-installed the prior build. I again ran engine-upgrade and the failure reproduced again. I stopped the engine service again and ran engine-upgrade and it succeeded the second attempt.<br>
- DHC<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 3:10 PM, Dead Horse <span dir="ltr"><<a href="mailto:deadhorseconsulting@gmail.com" target="_blank">deadhorseconsulting@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Clarifying further:<br>What is running that I am attempting to upgrade:<br><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;padding:8px;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:sans-serif;word-spacing:0px">
(parent:<span> </span><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=6125e335cbb49730899c6feeb05147db6d0c4eaa" style="color:rgb(0,0,204)" target="_blank">6125e33</a>)<br></div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:sans-serif;word-spacing:0px">
<a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commitdiff;h=a665ec3af7b2dd04e80007b1c062868d3e049fce" style="background-color:rgb(237,236,230);display:block;font-weight:bold;padding:6px 8px" target="_blank">core: Improve error logging when there are LDAP queries errors<span> </span><span><span title="changes/28/9028/2" style="padding:0px 4px;font-size:9px;font-weight:normal;border-width:1px;border-style:solid;background-color:rgb(255,170,255);border-color:rgb(255,204,255) rgb(255,0,238) rgb(255,0,238) rgb(255,204,255)"></span></span></a><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/changes/28/9028/2" style="color:inherit" target="_blank">28/9028/2</a></div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;border-style:solid;border-color:rgb(217,216,209);font-weight:normal;padding:6px 0px;line-height:normal;text-transform:none;white-space:normal;font-family:monospace;border-width:0px 0px 1px;word-spacing:0px">
<table style="padding:8px 4px;border-spacing:0px"><tbody><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">author</td><td style="padding:2px 5px;font-size:12px;vertical-align:top"><a title="Search for commits authored by Yair Zaslavsky" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=a665ec3af7b2dd04e80007b1c062868d3e049fce;s=Yair+Zaslavsky;st=author" style target="_blank">Yair Zaslavsky</a><span> </span><a title="Search for commits authored by yzaslavs@redhat.com" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=a665ec3af7b2dd04e80007b1c062868d3e049fce;s=yzaslavs@redhat.com;st=author" style target="_blank"><yzaslavs@redhat.com></a></td>
<td rowspan="2" style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td><td style="padding:2px 5px;font-size:12px;vertical-align:top">
Mon, 5 Nov 2012 10:28:23 +0000 (12:28 +0200)</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">committer</td><td style="padding:2px 5px;font-size:12px;vertical-align:top"><a title="Search for commits committed by Yair Zaslavsky" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=a665ec3af7b2dd04e80007b1c062868d3e049fce;s=Yair+Zaslavsky;st=committer" style target="_blank">Yair Zaslavsky</a><span> </span><a title="Search for commits committed by yzaslavs@redhat.com" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=a665ec3af7b2dd04e80007b1c062868d3e049fce;s=yzaslavs@redhat.com;st=committer" style target="_blank"><yzaslavs@redhat.com></a></td>
<td rowspan="2" style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td><td style="padding:2px 5px;font-size:12px;vertical-align:top">
Mon, 5 Nov 2012 15:43:40 +0000 (17:43 +0200)</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">commit</td><td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace">
a665ec3af7b2dd04e80007b1c062868d3e049fce</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">tree</td><td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=tree;h=f448ae8313c2417dd578469de20e7d332e085490;hb=a665ec3af7b2dd04e80007b1c062868d3e049fce" style target="_blank">f448ae8313c2417dd578469de20e7d332e085490</a></td>
<td style="padding:2px 5px;font-size:10px;vertical-align:top;font-family:sans-serif"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=tree;h=f448ae8313c2417dd578469de20e7d332e085490;hb=a665ec3af7b2dd04e80007b1c062868d3e049fce" style="color:rgb(136,0,0)" target="_blank"></a><br>
</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">parent</td><td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=6125e335cbb49730899c6feeb05147db6d0c4eaa" style target="_blank">6125e335cbb49730899c6feeb05147db6d0c4eaa</a></td>
<td style="padding:2px 5px;font-size:10px;vertical-align:top;font-family:sans-serif"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=6125e335cbb49730899c6feeb05147db6d0c4eaa" style="color:rgb(136,0,0)" target="_blank"></a><br>
</td></tr></tbody></table></div><br>What I just built and attempting to upgrade with:<br><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;padding:8px;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:sans-serif;word-spacing:0px">
(parent:<span> </span><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=025b98c2a7f7b4a7f4bca417d2dfa95199adfa91" style="color:rgb(0,0,204)" target="_blank">025b98c</a>)<br></div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:sans-serif;word-spacing:0px">
<a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commitdiff;h=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8" style="background-color:rgb(237,236,230);display:block;font-weight:bold;padding:6px 8px" target="_blank">core: removed getVmNetworkInterfaceDao<span> </span><span><span title="changes/05/9105/2" style="padding:0px 4px;font-size:9px;font-weight:normal;border-width:1px;border-style:solid;background-color:rgb(255,170,255);border-color:rgb(255,204,255) rgb(255,0,238) rgb(255,0,238) rgb(255,204,255)"></span></span></a><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/changes/05/9105/2" style="color:inherit" target="_blank">05/9105/2</a><span> </span><span title="heads/master" style="padding:0px 4px;font-size:9px;font-weight:normal;border-width:1px;border-style:solid;background-color:rgb(170,255,170);border-color:rgb(204,255,204) rgb(0,204,51) rgb(0,204,51) rgb(204,255,204)"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/heads/master" style="color:inherit" target="_blank">master</a></span></div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;border-style:solid;border-color:rgb(217,216,209);font-weight:normal;padding:6px 0px;line-height:normal;text-transform:none;white-space:normal;font-family:monospace;border-width:0px 0px 1px;word-spacing:0px">
<table style="padding:8px 4px;border-spacing:0px"><tbody><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">author</td><td style="padding:2px 5px;font-size:12px;vertical-align:top"><a title="Search for commits authored by Laszlo Hornyak" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8;s=Laszlo+Hornyak;st=author" style target="_blank">Laszlo Hornyak</a><span> </span><a title="Search for commits authored by lhornyak@redhat.com" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8;s=lhornyak@redhat.com;st=author" style target="_blank"><lhornyak@redhat.com></a></td>
<td rowspan="2" style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td><td style="padding:2px 5px;font-size:12px;vertical-align:top">
Wed, 7 Nov 2012 14:25:03 +0000 (15:25 +0100)</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">committer</td><td style="padding:2px 5px;font-size:12px;vertical-align:top"><a title="Search for commits committed by Laszlo Hornyak" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8;s=Laszlo+Hornyak;st=committer" style target="_blank">Laszlo Hornyak</a><span> </span><a title="Search for commits committed by lhornyak@redhat.com" href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=search;h=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8;s=lhornyak@redhat.com;st=committer" style target="_blank"><lhornyak@redhat.com></a></td>
<td rowspan="2" style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top"><br></td><td style="padding:2px 5px;font-size:12px;vertical-align:top">
Thu, 8 Nov 2012 20:01:59 +0000 (21:01 +0100)</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">commit</td><td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace">
2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8</td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">tree</td><td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=tree;h=71f522f4a30dea8871e7d5f95dbd126045aa8135;hb=2dc9b518099ec1ac3995abf1483f43cdcb6eb2b8" style target="_blank">71f522f4a30dea8871e7d5f95dbd126045aa8135</a></td>
<td style="padding:2px 5px;font-size:10px;vertical-align:top;font-family:sans-serif"><span></span><span></span><br></td></tr><tr><td style="padding:2px 5px;font-size:12px;vertical-align:top">parent</td>
<td style="padding:2px 5px;font-size:12px;vertical-align:top;font-family:monospace"><a href="http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=025b98c2a7f7b4a7f4bca417d2dfa95199adfa91" style target="_blank">025b98c2a7f7b4a7f4bca417d2dfa95199adfa91</a></td>
<td style="padding:2px 5px;font-size:10px;vertical-align:top;font-family:sans-serif"><span></span><span></span><br></td></tr></tbody></table></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_extra"><br><br>
<div class="gmail_quote">
On Fri, Nov 9, 2012 at 2:52 PM, Dead Horse <span dir="ltr"><<a href="mailto:deadhorseconsulting@gmail.com" target="_blank">deadhorseconsulting@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<div><div>
<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><br>
----- Original Message -----<br>
> From: "Dead Horse" <<a href="mailto:deadhorseconsulting@gmail.com" target="_blank">deadhorseconsulting@gmail.com</a>><br>
</div><div><div>> To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>><br>
> Cc: <a href="mailto:engine-devel@ovirt.org" target="_blank">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" target="_blank">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" target="_blank">deadhorseconsulting@gmail.com</a> ><br>
> > To: <a href="mailto:engine-devel@ovirt.org" target="_blank">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" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>