-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade 14/stable from r429 to r553 fails with PostgreSQLEnableDisableExtensionError #803
Comments
Thank you for reporting your feedback to us! The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6856.
|
Hi, the expected snap for rev. 553 is rev. 143. Was the |
It was, or so I thought, but I just noticed two units are in |
Hi, Issues are probably related. The other members are likely also unable to start due to the missing plugin. |
Hi, @vmpjdc! To restore the units, you should refresh the snap to the right revision and start the snap services again in each unit. You can do the following commands in each unit (do them first in the primary, then in the replicas): # List which services are active.
sudo snap services charmed-postgresql
# Refresh the snap to the right revision.
sudo snap refresh charmed-postgresql --revision 143
# Start the patroni and the other previously active services again.
sudo snap start charmed-postgresql.patroni To retrieve the primary unit (to run the above commands on it before running on replicas), you can check the output from the following command in one of the units. The latest number in the end will be the unit which is the primary. sudo -H -u snap_daemon charmed-postgresql.patronictl -c /var/snap/charmed-postgresql/current/etc/patroni/patroni.yaml history postgresql |
Steps to reproduce
Expected behavior
Upgrade succeeds.
Actual behavior
Upgrade fails.
Versions
Operating system: Ubuntu 22.04.4 LTS
Juju CLI: 3.4.6-ubuntu-amd64
Juju agent: 3.4.5
Charm revision: 553
LXD: n/a
Log output
Juju debug log: see snippet below
Additional context
Noticed the snap is downrev 2 point releases, and held:
The text was updated successfully, but these errors were encountered: