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

Retry when checking ceph pool compression mode. [zed backport] #1120

Merged

Conversation

freyes
Copy link
Member

@freyes freyes commented Sep 7, 2023

The compression mode after it's set via config-changed might take a while to fully propagate to the whole cluster, hence the hook may be done before the cluster is fully configured with the new compression mode. This is more noticeable in the gate when there are many jobs running in parallel.

This patch modes the check to its own method wrapped with a tenacity.retry decorator to make the test more robust.

Closes #946

(cherry picked from commit 618fb7b)

The compression mode after it's set via config-changed might take a
while to fully propagate to the whole cluster, hence the hook may be
done before the cluster is fully configured with the new compression
mode. This is more noticeable in the gate when there are many jobs
running in parallel.

This patch modes the check to its own method wrapped with a
tenacity.retry decorator to make the test more robust.

Closes openstack-charmers#946

(cherry picked from commit 618fb7b)
@freyes
Copy link
Member Author

freyes commented Sep 7, 2023

This PR is being exercised by https://review.opendev.org/c/openstack/charm-gnocchi/+/893997

@freyes freyes changed the title Retry when checking ceph pool compression mode. Retry when checking ceph pool compression mode. [zed backport] Sep 7, 2023
@ajkavanagh ajkavanagh merged commit 471ca2e into openstack-charmers:stable/zed Sep 8, 2023
2 checks passed
openstack-mirroring pushed a commit to openstack/charm-gnocchi that referenced this pull request Sep 8, 2023
Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1120
Change-Id: I107494cf2e04fa2eac631b6ae5544487a74ac872
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.

None yet

2 participants