I've encountered this a long time ago, not sure what the root cause
was but I think a refresh of the schema helped:
$ $PREFIX/share/ovirt-engine/dbscripts/schema.sh -c refresh


On Mon, Apr 12, 2021 at 4:03 PM Vojtech Juranek <[email protected]> wrote:
>
> Hi,
> I'm trying to upgrade my engine dev environment to latest master, but during
>
>     $HOME/ovirt-engine/bin/engine-setup
>
> I'm getting error bellow even when I run with full DB vacuum.
> Any idea how to fix it?
>
> Thanks
> Vojta
>
> 2021-04-12 08:45:41,395-0400 DEBUG otopi.context context._executeMethod:145 
> method exception
> Traceback (most recent call last):
>   File "/usr/lib/python3.7/site-packages/otopi/context.py", line 132, in 
> _executeMethod
>     method['method']()
>   File 
> "/home/**FILTERED**/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/bin/../plugins/ovirt-**FILTERED**-setup/ovirt-**FILTERED**/config/public_glance_repository.py",
>  line 69, in _misc
>     storage_domain_id="072fbaa1-08f3-4a40-9f34-a5ca22dd1d74"
>   File 
> "/home/**FILTERED**/ovirt-**FILTERED**/share/ovirt-**FILTERED**/setup/ovirt_**FILTERED**_setup/**FILTERED**_common/database.py",
>  line 258, in execute
>     args,
> psycopg2.ProgrammingError: function inst_add_glance_provider(unknown, 
> unknown, unknown, unknown, unknown) does not exist
> LINE 2:                 select inst_add_glance_provider(
>                                ^
> HINT:  No function matches the given name and argument types. You might need 
> to add explicit type casts.
>
> 2021-04-12 08:45:41,396-0400 ERROR otopi.context context._executeMethod:154 
> Failed to execute stage 'Misc configuration': function 
> inst_add_glance_provider(unknown, unknown, unknown, unknown, unknown) does 
> not exist
> LINE 2:                 select inst_add_glance_provider(
>                                ^
> HINT:  No function matches the given name and argument types. You might need 
> to add explicit type casts._______________________________________________
> Devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/[email protected]/message/CJPPQALDD3MCCFDLEMWF7423DYGA73XO/
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/7DJUNYOOVI26FZGJN7W7SSBPNMXNTIBD/

Reply via email to