<div dir="ltr"><div><div><div>The only error I can find in the upgrade log is:<br>2013-07-29 14:06:28 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:84 Yum Done: ovirt-engine.noarch 0:3.3.0-20.fc18 - u<br>
2013-07-29 14:06:28 INFO otopi.plugins.otopi.packagers.yumpackager <a href="http://yumpackager.info:88">yumpackager.info:88</a> Yum update: 10/18: ovirt-engine<br>2013-07-29 14:06:35 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:84 Yum Done: ovirt-engine.noarch 0:3.3.0-20.fc18 - u<br>
2013-07-29 14:06:35 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:84 Yum Done: ovirt-engine-3.3.0-20.fc18.noarch<br>2013-07-29 14:06:37 INFO otopi.plugins.otopi.packagers.yumpackager <a href="http://yumpackager.info:88">yumpackager.info:88</a> Yum update: 11/18: ovirt-engine-dbscripts<br>
2013-07-29 14:06:38 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:84 Yum Done: ovirt-engine-dbscripts-3.3.0-20.fc18.noarch<br>2013-07-29 14:06:38 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager.verbose:84 Yum Done: ovirt-engine-backend<br>
Traceback (most recent call last):<br>  File &quot;/usr/lib/python2.7/site-packages/yum/rpmtrans.py&quot;, line 464, in callback<br>    self._unInstStop( bytes, total, h )<br>  File &quot;/usr/lib/python2.7/site-packages/yum/rpmtrans.py&quot;, line 564, in _unInstStop<br>
    self.total_actions)<br>  File &quot;/usr/lib/python2.7/site-packages/otopi/miniyum.py&quot;, line 204, in event<br>    package=<a href="http://package.name">package.name</a>,<br>AttributeError: &#39;str&#39; object has no attribute &#39;name&#39;<br>
FATAL ERROR: python callback &lt;bound method RPMTransaction.callback of &lt;yum.rpmtrans.RPMTransaction instance at 0x4587560&gt;&gt; failed, aborting!<br><br></div>To test the database upgrade I will revert to a previous snapshot of the debug VM, capture the dbase from the previous engine version, re-run upgrade, dump the upgraded database, restore the previous, and then test a manual run of the database upgrade script.<br>
<br></div>Does this sound prudent?<br></div>- DHC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 5:54 AM, Doron Fediuck <span dir="ltr">&lt;<a href="mailto:dfediuck@redhat.com" target="_blank">dfediuck@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">Thanks.<br>
So this leads me further to the upgrade procedure<br>
which may have fail, thus not completing the DB upgrade.<br>
Can you please check the upgrade logs to see if something<br>
matches this flow?<br>
<div class="im HOEnZb"><br>
----- Original Message -----<br>
| From: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
</div><div class="im HOEnZb">| To: &quot;Doron Fediuck&quot; &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;<br>
| Cc: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;, &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Dave Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli Mesika&quot;<br>

| &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
</div><div class="HOEnZb"><div class="h5">| Sent: Tuesday, July 30, 2013 6:37:55 AM<br>
| Subject: Re: [Users] upgrade to latest master not working<br>
|<br>
| The engine version I am attempting to upgrade from was built from:<br>
| ---------------<br>
| commit: dbc3d31110ce372a1fa7e06f64c4a5c64544c679<br>
| tree: ee9ee41c3e855c26f491c77fda9622c05af3fc54<br>
| parent: 82644cae97f3c546ee631ae79c925c91e7bed836<br>
|<br>
| userportal,webadmin: Change remove message<br>
| Change-Id: Ia934e33d1a975e0235e1a1ffae0c8a4a7af66f10<br>
| Signed-off-by: Alexander Wels &lt;<a href="mailto:awels@redhat.com">awels@redhat.com</a>&gt;<br>
| ---------------<br>
| Thus it is version 3.3 and not 3.2. The upgrade (built from this master<br>
| this AM) was attempted ovirt a fresh install of the packages built from the<br>
| above commit. I also confirmed the install was fully functional.<br>
|<br>
| - DHC<br>
|<br>
|<br>
|<br>
| On Mon, Jul 29, 2013 at 4:08 PM, Doron Fediuck &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt; wrote:<br>
|<br>
| &gt;<br>
| &gt;<br>
| &gt; ----- Original Message -----<br>
| &gt; | From: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | To: &quot;Doron Fediuck&quot; &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;<br>
| &gt; | Cc: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;, &quot;users&quot; &lt;<br>
| &gt; <a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Dave Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli<br>
| &gt; | Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
| &gt; | Sent: Monday, July 29, 2013 11:51:35 PM<br>
| &gt; | Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; |<br>
| &gt; |<br>
| &gt; |<br>
| &gt; | ----- Original Message -----<br>
| &gt; | &gt; From: &quot;Doron Fediuck&quot; &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;<br>
| &gt; | &gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | &gt; Cc: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;, &quot;users&quot;<br>
| &gt; | &gt; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Dave Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli<br>
| &gt; | &gt; Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
| &gt; | &gt; Sent: Monday, July 29, 2013 11:43:46 PM<br>
| &gt; | &gt; Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; | &gt;<br>
| &gt; | &gt;<br>
| &gt; | &gt;<br>
| &gt; | &gt; ----- Original Message -----<br>
| &gt; | &gt; | From: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | &gt; | To: &quot;Doron Fediuck&quot; &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;<br>
| &gt; | &gt; | Cc: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;, &quot;users&quot;<br>
| &gt; | &gt; | &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Dave Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli<br>
| &gt; | &gt; | Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
| &gt; | &gt; | Sent: Monday, July 29, 2013 11:31:42 PM<br>
| &gt; | &gt; | Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; | &gt; |<br>
| &gt; | &gt; |<br>
| &gt; | &gt; |<br>
| &gt; | &gt; | ----- Original Message -----<br>
| &gt; | &gt; | &gt; From: &quot;Doron Fediuck&quot; &lt;<a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; Cc: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;, &quot;users&quot;<br>
| &gt; | &gt; | &gt; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Dave Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli<br>
| &gt; | &gt; | &gt; Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; Sent: Monday, July 29, 2013 11:27:41 PM<br>
| &gt; | &gt; | &gt; Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; | &gt; | &gt;<br>
| &gt; | &gt; | &gt;<br>
| &gt; | &gt; | &gt;<br>
| &gt; | &gt; | &gt; ----- Original Message -----<br>
| &gt; | &gt; | &gt; | From: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; | To: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
| &gt; | &gt; | &gt; | Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Doron Fediuck&quot; &lt;<br>
| &gt; <a href="mailto:dfediuck@redhat.com">dfediuck@redhat.com</a>&gt;,<br>
| &gt; | &gt; | &gt; | &quot;Dave<br>
| &gt; | &gt; | &gt; | Chen&quot; &lt;<a href="mailto:wei.d.chen@intel.com">wei.d.chen@intel.com</a>&gt;, &quot;Eli<br>
| &gt; | &gt; | &gt; | Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; | Sent: Monday, July 29, 2013 10:47:01 PM<br>
| &gt; | &gt; | &gt; | Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; | ----- Original Message -----<br>
| &gt; | &gt; | &gt; | &gt; From: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
| &gt; | &gt; | &gt; | &gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
| &gt; | &gt; | &gt; | &gt; Cc: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
| &gt; | &gt; | &gt; | &gt; Sent: Monday, July 29, 2013 10:41:34 PM<br>
| &gt; | &gt; | &gt; | &gt; Subject: Re: [Users] upgrade to latest master not working<br>
| &gt; | &gt; | &gt; | &gt;<br>
| &gt; | &gt; | &gt; | &gt; server.log attached<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; | Thanks!<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; | My guess is that I8ce3448a[1] broke master.<br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt; | [1] <a href="http://gerrit.ovirt.org/#/c/14605/" target="_blank">http://gerrit.ovirt.org/#/c/14605/</a><br>
| &gt; | &gt; | &gt; |<br>
| &gt; | &gt; | &gt;<br>
| &gt; | &gt; | &gt; Works perfectly on my Gentoo with master.<br>
| &gt; | &gt; | &gt;<br>
| &gt; | &gt; |<br>
| &gt; | &gt; | I doubt you are upgrading from 3.2 :)<br>
| &gt; | &gt; |<br>
| &gt; | &gt;<br>
| &gt; | &gt; Just did:<br>
| &gt; | &gt;<br>
| &gt; | &gt; $ git checkout origin/engine_3.2<br>
| &gt; | &gt; $ cd backend/manager/dbscripts/<br>
| &gt; | &gt; $ ./create_db.sh -d upgrade32-test -u engine<br>
| &gt; | &gt; ~/dev/ovirt/ovirt-engine/backend/manager/dbscripts<br>
| &gt; | &gt; ~/dev/ovirt/ovirt-engine/backend/manager/dbscripts<br>
| &gt; | &gt; Creating the database: upgrade32-test<br>
| &gt; | &gt; dropdb: database removal failed: ERROR:  database &quot;upgrade32-test&quot;<br>
| &gt; does not<br>
| &gt; | &gt; exist<br>
| &gt; | &gt; user name is: engine<br>
| &gt; | &gt; Creating tables...<br>
| &gt; | &gt; Creating functions...<br>
| &gt; | &gt; Creating common functions...<br>
| &gt; | &gt; Inserting data  ...<br>
| &gt; | &gt; Inserting pre-defined roles ...<br>
| &gt; | &gt; Running upgrade scripts...<br>
| &gt; | &gt; upgrade script detected a change in Config, View or Stored Procedure...<br>
| &gt; | &gt; Running  upgrade sql script upgrade/pre_upgrade/0000_config.sql ...<br>
| &gt; | &gt;<br>
| &gt; | &gt; ...<br>
| &gt; | &gt;<br>
| &gt; | &gt; Creating stored procedures from vm_templates_sp.sql ...<br>
| &gt; | &gt; Running  upgrade sql script<br>
| &gt; | &gt; upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...<br>
| &gt; | &gt; Running  upgrade sql script<br>
| &gt; | &gt; upgrade/post_upgrade/0020_create_materialized_views.sql ...<br>
| &gt; | &gt; Refreshing materialized views...<br>
| &gt; | &gt; ~/dev/ovirt/ovirt-engine/backend/manager/dbscripts<br>
| &gt; | &gt;<br>
| &gt; | &gt; $ git checkout master<br>
| &gt; | &gt; $ cd ../../../packaging/dbscripts/<br>
| &gt; | &gt; $ ./upgrade.sh -d upgrade32-test -u engine<br>
| &gt; | &gt; upgrade script detected a change in Config, View or Stored Procedure...<br>
| &gt; | &gt; Running upgrade sql script upgrade/pre_upgrade/0000_config.sql ...<br>
| &gt; | &gt;<br>
| &gt; | &gt; ...<br>
| &gt; | &gt;<br>
| &gt; | &gt; Creating stored procedures from vms_sp.sql ...<br>
| &gt; | &gt; Running upgrade sql script<br>
| &gt; | &gt; upgrade/post_upgrade/0010_add_object_column_white_list_table.sql ...<br>
| &gt; | &gt; Running upgrade sql script<br>
| &gt; | &gt; upgrade/post_upgrade/0020_create_materialized_views.sql ...<br>
| &gt; | &gt; Refreshing materialized views...<br>
| &gt; | &gt; Done.<br>
| &gt; | &gt;<br>
| &gt; | &gt;<br>
| &gt; | &gt; Seems to work well. Am I missing something?<br>
| &gt; | &gt;<br>
| &gt; |<br>
| &gt; | Start jboss?<br>
| &gt; |<br>
| &gt; | Please take over this issue, you have relevant logs, and a cooperative<br>
| &gt; user.<br>
| &gt; |<br>
| &gt; | Thanks,<br>
| &gt; | Alon<br>
| &gt; |<br>
| &gt;<br>
| &gt; Since jboss is up and running very well after upgrade I do not see a<br>
| &gt; problem.<br>
| &gt; Is it possible that the install / upgrade process didn&#39;t complete due to<br>
| &gt; other<br>
| &gt; errors ending up with this state?<br>
| &gt;<br>
| &gt; In the meantime you can manually create the missing function to get your<br>
| &gt; setup running. The only problem is that if my assumption is correct on<br>
| &gt; upgrade not finishing, you will hit the next db change as an error. So<br>
| &gt; I&#39;d try and look at the install/upgrade log files to see if db upgrade<br>
| &gt; failed at some point.<br>
| &gt;<br>
|<br>
</div></div></blockquote></div><br></div>