[ovirt-devel] engine-setup broken in master?

Oved Ourfali ovedo at redhat.com
Thu Jun 25 08:13:09 UTC 2015



----- Original Message -----
> From: "Omer Frenkel" <ofrenkel at redhat.com>
> To: "Oved Ourfali" <ovedo at redhat.com>
> Cc: devel at ovirt.org
> Sent: Thursday, June 25, 2015 11:06:09 AM
> Subject: Re: [ovirt-devel] engine-setup broken in master?
> 
> 
> 
> ----- Original Message -----
> > From: "Oved Ourfali" <ovedo at redhat.com>
> > To: "Omer Frenkel" <ofrenkel at redhat.com>
> > Cc: devel at ovirt.org
> > Sent: Thursday, June 25, 2015 11:03:46 AM
> > Subject: Re: [ovirt-devel] engine-setup broken in master?
> > 
> > Hi
> > 
> > I've just checked-out latest master, built the engine, targeting a new
> > directory, new DB schema, and it worked well.
> > 
> > Can you re-test it?
> > 
> > Thanks,
> > Oved
> > 
> 
> i dont want new db schema, you should test upgrade.
> i tested several times, on 2 different setup folders, same existing db of
> course.
> 

Okay.
You haven't specified that, so I tested with a clean environment.
Eli will be around in ~2 hours (he is on half day PTO), and I'll ask him to dig into it.

Thanks,
Oved

> > ----- Original Message -----
> > > From: "Omer Frenkel" <ofrenkel at redhat.com>
> > > To: devel at ovirt.org
> > > Sent: Thursday, June 25, 2015 10:37:55 AM
> > > Subject: [ovirt-devel] engine-setup broken in master?
> > > 
> > > Hi,
> > > on latest master, engine-setup fails for me with:
> > > [ ERROR ] Failed to execute stage 'Setup validation': Failed checking
> > > Engine
> > > database: [u'']
> > > 
> > > from the setup log:
> > > 
> > > 2015-06-25 10:27:51 DEBUG
> > > otopi.plugins.ovirt_**FILTERED**_setup.ovirt_**FILTERED**.upgrade.dbvalidations
> > > plugin.execute:940 execute-output:
> > > ['/home/ofrenkel/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/dbu
> > > tils/validatedb.sh', '--user=**FILTERED**', '--host=localhost',
> > > '--port=5432', '--database=**FILTERED**',
> > > '--log=/home/ofrenkel/ovirt-**FILTERED**/var/log/ovirt-**FILTERED**/setup/ovirt-**FILTERED**-setup-201506
> > > 25102702-nwwazb.log'] stderr:
> > > ERROR:  function fn_db_validate_fks(boolean, boolean) does not exist
> > > LINE 3:     from fn_db_validate_fks(false, 0 != 0)
> > >                  ^
> > > HINT:  No function matches the given name and argument types. You might
> > > need
> > > to add explicit type casts.
> > > 
> > > 2015-06-25 10:27:51 DEBUG otopi.context context._executeMethod:155 method
> > > exception
> > > Traceback (most recent call last):
> > >   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 145, in
> > >   _executeMethod
> > >     method['method']()
> > >   File
> > >   "/home/ofrenkel/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/upgrade/dbvalidations.py",
> > >   line 128, in _validation
> > >     violations, issues_found = self._checkDb()
> > >   File
> > >   "/home/ofrenkel/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/upgrade/dbvalidations.py",
> > >   line 91, in _checkDb
> > >     output=stdout,
> > > RuntimeError: Failed checking Engine database:
> > > [u'']
> > > 
> > > 2015-06-25 10:27:51 ERROR otopi.context context._executeMethod:164 Failed
> > > to
> > > execute stage 'Setup validation': Failed checking Engine database:
> > > [u'']
> > > 
> > > ----
> > > 
> > > looks like lately this function (fn_db_validate_fks) was moved, might be
> > > related?
> > > ( https://gerrit.ovirt.org/#/c/42655/ )
> > > 
> > > i even tried to completely remove my ~/ovirt-engine/ folder and create
> > > from
> > > scratch
> > > 
> > > anyone else experienced this?
> > > 
> > > Thanks,
> > > Omer.
> > > _______________________________________________
> > > Devel mailing list
> > > Devel at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/devel
> > > 
> > 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 
> 
> 



More information about the Devel mailing list