<div dir="ltr">Happens to me too, on engine_dao_tests. <div>DB is not empty, one line:</div><div><div>engine_dao_tests=> select * from event_subscriber;</div><div> subscriber_id | event_up_name | method_id | method_address | tag_name | notification_method </div>
<div>--------------------------------------+---------------+-----------+----------------+----------+---------------------</div><div> 9bf7c640-b620-456f-a550-0348f366544a | TestRun | 1 | | testrun | </div>
<div>(1 row)</div><div><br></div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 7:10 AM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Adam,<br>
<br>
I didn't notice any problem with this script. Was the database you tried to upgrade empty?<br>
If not could you please send me contents of your event_subscriber table?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
Martin Perina<br>
</font></span><div class="im HOEnZb"><br>
----- Original Message -----<br>
> From: "Adam Litke" <<a href="mailto:alitke@redhat.com">alitke@redhat.com</a>><br>
> To: <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a><br>
</div><div class="im HOEnZb">> Sent: Monday, March 3, 2014 11:26:28 PM<br>
> Subject: [Engine-devel] Schema upgrade failure on master<br>
><br>
</div><div class="HOEnZb"><div class="h5">> Hi,<br>
><br>
> I've recently rebased to master and it looks like the<br>
> 03_05_0050_event_notification_methods.sql script is failing on schema<br>
> upgrade. Is this a bug or am I doing something wrong? To upgrade I<br>
> did the normal proceedure with my development installation:<br>
><br>
> make install-dev ...<br>
> ~/ovirt/bin/engine-setup<br>
><br>
> Got this result in the log file:<br>
><br>
> psql:/home/alitke/ovirt-**FILTERED**/share/ovirt-**FILTERED**/dbscripts/upgrade/03_05_0050_event_notification_methods.sql:10:<br>
> ERROR: column "notification_method" contains null values<br>
> FATAL: Cannot execute sql command:<br>
> --file=/home/alitke/ovirt-**FILTERED**/share/ovirt-**FILTERED**/dbscripts/upgrade/03_05_0050_event_notification_methods.sql<br>
><br>
> 2014-03-03 17:20:34 DEBUG otopi.context context._executeMethod:152 method<br>
> exception<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in<br>
> _executeMethod<br>
> method['method']()<br>
> File<br>
> "/home/alitke/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/db/schema.py",<br>
> line 280, in _misc<br>
> osetupcons.DBEnv.PGPASS_FILE<br>
> File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 451, in<br>
> execute<br>
> command=args[0],<br>
> RuntimeError: Command<br>
> '/home/alitke/ovirt-**FILTERED**/share/ovirt-**FILTERED**/dbscripts/schema.sh'<br>
> failed to execute<br>
><br>
> --<br>
> Adam Litke<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>
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>
</div></div></blockquote></div><br></div>