Skip to content
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

DPE-3364 DPE-3563 fix: skip relation-changed if upgrading #116

Merged
merged 4 commits into from
Feb 14, 2024

Conversation

marcoppenheimer
Copy link
Contributor

Changes Made

fix: centralise compatibility patches during upgrades

  • Moved to dedicated method
  • Added setting of truststore-password unit-data, which was not present in older revisions

fix: skip relation-changed if not idle

  • config_changed setting of config items is now skipped, avoiding issues with missing new relation-data items
  • Juju status setting should now be skipped on update-status, meaning that the charm will stay BlockedStatus if upgrade failed

@deusebio deusebio changed the title fix: skip relation-changed if upgrading DPE-3364 fix: skip relation-changed if upgrading Feb 13, 2024
@deusebio deusebio changed the title DPE-3364 fix: skip relation-changed if upgrading DPE-3364 DPE-3563 fix: skip relation-changed if upgrading Feb 14, 2024
@deusebio deusebio linked an issue Feb 14, 2024 that may be closed by this pull request
Copy link
Contributor

@deusebio deusebio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested positively these changes, making sure that they address the points 2 and 3 of the related issue.

Point 1 is more general and applies to any charm downloaded from the store. Interestingly, the failed units and logs did not show up when using a local charm from this PR

@marcoppenheimer marcoppenheimer merged commit a9fbdab into main Feb 14, 2024
14 checks passed
@marcoppenheimer marcoppenheimer deleted the fix/set_truststore_pw_on_upgrade branch February 14, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade from before the refactoring (rev114)
3 participants