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

[MISC] Update snap and renovate fixes #432

Merged
merged 13 commits into from
Apr 11, 2024
Merged

[MISC] Update snap and renovate fixes #432

merged 13 commits into from
Apr 11, 2024

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Apr 8, 2024

Update snap

@dragomirp dragomirp changed the title [TEST] Update snap old juju2 [MISC] Update snap and renovate fixes Apr 9, 2024
@@ -51,10 +51,10 @@ jobs:
fail-fast: false
matrix:
juju:
- agent: 2.9.46
libjuju: ^2
- agent: 2.9.46 # renovate: latest juju 2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The backup tests fail on 2.9.47. Charm cannot be redeployed with the same name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This seems to be fixed with juju 2.9.49, but there are issues with the subordinates test. I will update in a separate PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

I cannot find such fixes mentioned in Juju 2.9.47+ release notes: https://discourse.charmhub.io/t/roadmap-releases/5064
Maybe this... strange... Will ask Juju Team to improve release notes as 2.9.48 is missing there completely.

Comment on lines +1393 to +1397
try:
return self.update_config()
except Exception:
logger.exception("TLS files failed to push. Error in config update")
return False
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't really check for exceptions or return value of update_config() in most places, we should most probably go over and handle such cases.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah.... this is what we saw with @beliaev-maksim yesterday on a troubleshooting. Tnx for the quick fix here!

Comment on lines +355 to 358
unit = ops_test.model.units.get(f"{database_app_name}/0")
await ops_test.model.block_until(
lambda: unit.workload_status_message == ANOTHER_CLUSTER_REPOSITORY_ERROR_MESSAGE
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Model fails to idle with the new snap. I tried with one minute ffwd interval, but it didn't help.

@dragomirp dragomirp marked this pull request as ready for review April 9, 2024 00:39
Copy link
Member

@marceloneppel marceloneppel left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

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

Thank you!

@@ -51,10 +51,10 @@ jobs:
fail-fast: false
matrix:
juju:
- agent: 2.9.46
libjuju: ^2
- agent: 2.9.46 # renovate: latest juju 2
Copy link
Contributor

Choose a reason for hiding this comment

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

I cannot find such fixes mentioned in Juju 2.9.47+ release notes: https://discourse.charmhub.io/t/roadmap-releases/5064
Maybe this... strange... Will ask Juju Team to improve release notes as 2.9.48 is missing there completely.

Comment on lines +1393 to +1397
try:
return self.update_config()
except Exception:
logger.exception("TLS files failed to push. Error in config update")
return False
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah.... this is what we saw with @beliaev-maksim yesterday on a troubleshooting. Tnx for the quick fix here!

@dragomirp dragomirp merged commit 8fea63a into main Apr 11, 2024
47 checks passed
@dragomirp dragomirp deleted the update-snap-old-juju2 branch April 11, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants