Landscape server 23.03 on focal failing to update database schema

Bug #2019196 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
New
Undecided
Unassigned
PostgreSQL Charm
New
Undecided
Unassigned

Bug Description

Error is: psycopg2.errors.UndefinedFile: could not access file "$libdir/plpython3": No such file or directory

Full traceback from landscape-server: https://pastebin.ubuntu.com/p/RwmVGNhnt6/

Using the following charms all on focal

haproxy stable 66
landscape-server stable 87
postgresql latest/stable 290
rabbitmq-server stable 123

Revision history for this message
Diko Parvanov (dparv) wrote (last edit ):

That gets fixed by:
juju config postgresql extra_packages="python3-apt postgresql-contrib postgresql-.*-debversion postgresql-plpython3-.*"

but imo charms should set dependencies, in this case - landscape-server charm should send to postgresql charm the requirements

tags: added: cdo-qa foundation-engine
tags: added: foundations-engine
removed: foundation-engine
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.