You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that this is not meant to be a bug report specific to the integration between Landscape Server and Postgres. It is only meant to bring attention to the error log for pgbackrest.
Steps to reproduce
Deploy the Landscape Server scalable bundle using the modern postgres charm (yaml file attached):
TL;DR: ignore it, we will mute this noisy error message.
Charmed PostgreSQL works well and as designed.
2charm developers: keep systemd services disabled IF service is NOT yet configured on charm (COS exporters, pgbackrest, ...). CC: @marceloneppel@dragomirp ! ;-)
snap installs list of services which are enabled by default:
ubuntu@juju-6788c5-2:~$ snap services charmed-postgresql
Service Startup Current Notes
charmed-postgresql.patroni disabled active -
charmed-postgresql.pgbackrest-service enabled inactive -
charmed-postgresql.prometheus-postgres-exporter enabled active -
As a result systemd is trying to start pgbackrest (backup tool) before backup is fully configured on the charm level => it fails and systemd gives up in 5 retries => the error message you see.
We discussed this several time and got no consensuse as no harm here... but less code... but it confuses users (you).
We will this bugreport as a reference to fix this finally. Services should be enabled/start only after the charm dependencies configuration and not on boot by default.
We are carefully checking juju debug-log to make sure no ERRORs produced in 14/stable, but didn't pay enough attentions to journalctl logs. We will improve this also.
At the moment you can safely ignore reported pgbackrest error message until backup is fully configured.
Steps to reproduce
landscape-scalable-postgres-update.txt
juju ssh
into the postgres unitjournalctl -u snap.charmed-postgresql.pgbackrest-service.service
to see logs likeExpected behavior
No error logs
Actual behavior
See pgbackrest log messages
Versions
Operating system: Ubuntu 24.04 LTS
Juju CLI: 3.1.8-genericlinux-amd64
Juju agent: 14.10
Charm revision: 363
LXD: 5.21.1 LTS
Log output
Juju debug log:
log.txt
Additional context
The text was updated successfully, but these errors were encountered: