Closed marceloneppel closed 3 weeks ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-5580.
This message was autogenerated
This happens only on cluster with more than one unit and if the primary unit is not the leader unit because some check in the charm code look for leader in some places (https://github.com/canonical/postgresql-k8s-operator/blob/f61a10b1bc08d3ff62696372c787ec96a823e585/src/backups.py#L151) and for primary in some other places (https://github.com/canonical/postgresql-k8s-operator/blob/f61a10b1bc08d3ff62696372c787ec96a823e585/src/backups.py#L444 and https://github.com/canonical/postgresql-k8s-operator/blob/f61a10b1bc08d3ff62696372c787ec96a823e585/src/backups.py#L600C27-L600C37).
Steps to reproduce
Expected behaviour
One backup is listed.
Actual behavior
No backups are listed.
Versions
Operating system: Ubuntu 24.04.1 LTS
Juju CLI: 3.5.3
Juju agent: 3.5.3
Charm revision: 381
microk8s: v1.30.4
Log output
Juju debug log: N/A
Additional context
N/A