Charm statuses¶
Caution
This reference is a work in progress and may not reflect the latest statuses. Contact us for status troubleshooting help.
The charm follows standard Juju applications statuses. Here you can find the expected end-users reaction on different statuses:
Juju Status |
Message |
Expectations |
Actions |
|---|---|---|---|
active |
any |
Normal charm operations |
No actions required |
waiting |
any |
Charm is waiting for relations to be finished |
No actions required |
maintenance |
any |
Charm is performing the internal maintenance (e.g. cluster re-configuration, upgrade, …) |
No actions required |
blocked |
the S3 repository has backups from another cluster |
The bucket contains foreign backup. To avoid accident DB corruption, use clean bucket. The cluster identified by Juju app name + DB UUID. |
Choose/change the new S3 bucket/path OR clean the current one. |
blocked |
failed to install snap packages |
There are issues with the network connection and/or the Snap Store |
Check your internet connection and https://status.snapcraft.io/. Remove the application and when everything is OK, deploy the charm again |
blocked |
failed to patch snap |
The charm failed to patch one issue that happens when pgBackRest restores a backup (this blocked status should be removed when https://github.com/pgbackrest/pgbackrest/releases/tag/release%2F2.46 is added to the snap) |
Remove the unit and add it back again |
blocked |
failed to set up postgresql_exporter options |
The charm failed to set up the metrics exporter |
Remove the unit and add it back again |
blocked |
failed to start Patroni |
||
blocked |
Failed to create postgres user |
The charm couldn’t create the default |
Connect to the database using the |
blocked |
Failed to restore backup |
The database couldn’t start after the restore |
The charm needs fix in the code to recover from this status and enable a new restore to be requested |
blocked |
Please choose one endpoint to use. No need to relate all of them simultaneously! |
The modern / legacy interfaces should not be used simultaneously. |
Remove modern or legacy relation. Choose one to use at a time. |
error |
any |
An unhanded internal error happened |
Read the message hint. Execute |
terminated |
any |
The unit is gone and will be cleaned by Juju soon |
No actions possible |
unknown |
any |
Juju doesn’t know the charm app/unit status. Possible reason: K8s charm termination in progress. |
Manual investigation required if status is permanent |