-
Notifications
You must be signed in to change notification settings - Fork 20
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
When wrongly configuring s3-integrator Postgresql charm will get stuck in error state and needs to be redeployed #661
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-5713.
|
Any updates on this? We're seeing it here too:
With the hook failure logs:
|
Turns out, my issue is due to not set It would be nice if the charm could handle this better and allow to change or set the region rather than the workaround of removing the relation, |
Steps to reproduce
Deploy postgresql charm
Follow backup and restore tutorial
I forgot to set up tls-ca-chain config that was required in this case
And now postgresql charm gets stuck in error state not being able to get out of it wihout hacking inside charm hooks or redeploying it
Expected behavior
Not to get stuck in error state if the user makes a configuration mistake but to get into blocked state
Actual behavior
You can NOT get out of this state even
Versions
Operating system: Ubuntu 22.04
Juju: 3.5.4
Charm revision: 14/stable rev468
Log output
Did not collect it at the moment
Additional context
You could hackily get out of this situation wihout redeploying by skipping the hook and then removing the relation
juju debug-hooks postgresql/1 # Now you are on a tmux session waiting for a hook to get triggered
juju resolved postgresql/1 # Trigget the hook to re-run
Now the hook has been skipped and you can remove the relation
Update the config
And re-add the relation with the proper configuration
The text was updated successfully, but these errors were encountered: