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

Update tls_certificates_interface lib to fix permission deny error during scale operation #31

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

gatici
Copy link
Contributor

@gatici gatici commented Sep 11, 2023

Description

This PR aims to fix #24 by bumping the library version to include the fix and it also adds tests for validation. Scale up operation does not crash the charm, after scaling a non-leader unit in this charm doesn't do anything.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have bumped the version of the library

@gatici gatici requested a review from a team as a code owner September 11, 2023 23:20
src/charm.py Outdated Show resolved Hide resolved
@gatici gatici marked this pull request as draft September 12, 2023 11:47
@gatici
Copy link
Contributor Author

gatici commented Sep 12, 2023

Waiting PR canonical/tls-certificates-interface#70 in the tls-certificates-library to be merged.

@gatici gatici force-pushed the TELCO-734-Scale-up-operation-should-not-crash branch 2 times, most recently from f82878d to cb7e4f8 Compare September 14, 2023 07:14
@gatici gatici changed the title Raise NotImplementedError if unit is not leader Update tls_certificates_interface lib to fix permission deny error during scale operation Sep 14, 2023
@gatici gatici force-pushed the TELCO-734-Scale-up-operation-should-not-crash branch 2 times, most recently from 809b532 to 64965e4 Compare September 14, 2023 07:21
…ring scale operation

Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici force-pushed the TELCO-734-Scale-up-operation-should-not-crash branch from 64965e4 to 803a03c Compare September 14, 2023 10:20
@gatici gatici requested a review from saltiyazan September 18, 2023 08:33
@gatici gatici force-pushed the TELCO-734-Scale-up-operation-should-not-crash branch from 9151a18 to 7cb361e Compare September 18, 2023 12:27
@saltiyazan
Copy link
Contributor

Please update the PR description :)

Signed-off-by: gatici <gulsum.atici@canonical.com>
@gatici gatici force-pushed the TELCO-734-Scale-up-operation-should-not-crash branch from 7cb361e to 8703f6f Compare September 19, 2023 16:03
@gatici gatici marked this pull request as ready for review September 19, 2023 16:05
@gatici
Copy link
Contributor Author

gatici commented Sep 19, 2023

Please update the PR description :)

Done

@gatici gatici merged commit 78bbae9 into main Sep 20, 2023
8 checks passed
@gatici gatici deleted the TELCO-734-Scale-up-operation-should-not-crash branch September 20, 2023 08:01
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.

Scale up operation should not crash the charm
4 participants