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

swift-proxy: wait for model to settle after running action [Antelope backport] #1138

Merged

Conversation

freyes
Copy link
Member

@freyes freyes commented Sep 27, 2023

Let the units run all the hooks before attempting to check if the ring is synced, because the action set-weight triggers the hook swift-storage-relation-changed in the swift-storage units which it's the one in charge of getting the new ring data.

(cherry picked from commit 0ca305f)

@freyes
Copy link
Member Author

freyes commented Sep 27, 2023

keeping it in draft until I get confirmation from this gerrit patch ci run: https://review.opendev.org/c/openstack/charm-swift-proxy/+/891549

Let the units run all the hooks before attempting to check if the ring
is synced, because the action set-weight triggers the hook
swift-storage-relation-changed in the swift-storage units which it's the
one in charge of getting the new ring data.

(cherry picked from commit 0ca305f)
@freyes freyes changed the title swift-proxy: wait for model to settle after running action swift-proxy: wait for model to settle after running action [Antelope backport] Sep 27, 2023
@freyes freyes marked this pull request as ready for review September 27, 2023 19:56
@freyes
Copy link
Member Author

freyes commented Sep 27, 2023

Backport of #1139

@freyes freyes requested a review from ajkavanagh September 28, 2023 12:42
@ajkavanagh ajkavanagh merged commit 43b49f9 into openstack-charmers:stable/antelope Sep 28, 2023
3 checks passed
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.

2 participants