Charm blocked with message "PostgreSQL config from previous install found at /etc/postgresql/12/main/postgresql.conf"

Bug #2038451 reported by Bas de Bruijne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Bundles
New
Undecided
Unassigned
PostgreSQL Charm
New
Undecided
Unassigned

Bug Description

Test run https://solutions.qa.canonical.com/testruns/f3ad4a3d-427b-484a-a930-0ac726c11305/ fails during the landscape bundle install because the postgres charm is blocked in the following status:

=================
App Version Status Scale Charm Channel Rev Exposed Message
haproxy active 1 haproxy stable 66 yes Unit is ready
landscape-server waiting 1 landscape-server stable 87 no Waiting on relations: db
postgresql blocked 1 postgresql latest/stable 270 no PostgreSQL config from previous install found at /etc/postgresql/12/main/postgresql.conf
rabbitmq-server 3.8.2 active 1 rabbitmq-server stable 123 no Unit is ready

Unit Workload Agent Machine Public address Ports Message
haproxy/0* active idle 3 10.246.164.142 80,443/tcp Unit is ready
landscape-server/0* waiting idle 2 10.246.166.91 Waiting on relations: db
postgresql/0* blocked idle 0 10.246.167.111 PostgreSQL config from previous install found at /etc/postgresql/12/main/postgresql.conf
rabbitmq-server/0* active idle 1 10.246.166.191 5672/tcp Unit is ready
=================

The logs show no particular error at first glance. The crashdumps are here: https://oil-jenkins.canonical.com/artifacts/f3ad4a3d-427b-484a-a930-0ac726c11305/generated/generated/landscape/juju-crashdump-landscape-2023-10-04-00.44.19.tar.gz

This is possibly a duplicate of LP: #1831858

More configs and crashdumps can be found here: https://oil-jenkins.canonical.com/artifacts/f3ad4a3d-427b-484a-a930-0ac726c11305/index.html

Revision history for this message
Bas de Bruijne (basdbruijne) wrote :

Also adding landscape-bundles, since postgresql is pinned to 270 by the bundle from the landscape team

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.