Repository navigation
rgw: add 'bucket sync checkpoint' command to radosgw-admin - #36482
Merged
Merged
Conversation
yehudasa
reviewed
Aug 5, 2020
cbodley
force-pushed
the
wip-rgw-bucket-sync-checkpoint
branch
from
August 12, 2020 13:09
7a1cb1f to
f4c2703
Compare
Contributor
Author
|
updates:
|
Contributor
|
Jenkins, recheck this please |
Contributor
|
This needs a fix to pass run-cli-tests |
Contributor
|
It looks like Bucket Creation Time is still failing on Teuthology. |
Contributor
Author
|
thanks @adamemerson! i'll push an update for |
cbodley
force-pushed
the
wip-rgw-bucket-sync-checkpoint
branch
from
August 31, 2020 17:58
f4c2703 to
7d92512
Compare
Contributor
Author
|
rebased and amended help.t accordingly |
cbodley
force-pushed
the
wip-rgw-bucket-sync-checkpoint
branch
2 times, most recently
from
September 3, 2020 18:44
3e46ba7 to
6724780
Compare
Contributor
Author
|
this is ready for another round of review! |
Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
…oint the bucket checkpoints rely on the existence of the bucket's entrypoint, which only syncs via metadata sync. add meta checkpoints before any bucket checkpoints to fix spurious failures like this: > radosgw-admin --log-to-stderr --format json -n client.0 --cluster c1 bucket sync checkpoint --bucket fievzp-46 --source-zone a1 --retry-delay-ms 5000 --timeout-sec 300 --rgw-zone a2 --rgw-zonegroup a --rgw-realm test-realm --cluster c1 --debug-rgw 1 --debug-ms 0 2020-09-03T16:24:53.986 INFO:teuthology.orchestra.run.smithi055.stderr:ignoring --setuser ceph since I am not root 2020-09-03T16:24:53.987 INFO:teuthology.orchestra.run.smithi055.stderr:ignoring --setgroup ceph since I am not root 2020-09-03T16:24:54.178 INFO:teuthology.orchestra.run.smithi055.stderr:could not get bucket info for bucket=fievzp-46 2020-09-03T16:24:54.211 DEBUG:teuthology.orchestra.run:got remote process result: 2 2020-09-03T16:24:54.213 INFO:tasks.rgw_multisite_tests:tasks.rgw_multi.tests.test_bucket_sync_enable_right_after_disable ... FAIL Signed-off-by: Casey Bodley <[email protected]>
cbodley
force-pushed
the
wip-rgw-bucket-sync-checkpoint
branch
from
September 15, 2020 17:10
6724780 to
d22a5cd
Compare
Contributor
Author
|
jenkins test api |
adamemerson
approved these changes
Sep 18, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a consistency checkpoint command for bucket sync. This fetches the state of the bucket's sources from a remote zone, then polls the local zone's sync status until it catches up.
This command is then used directly in our multisite tests to implement
zone_bucket_checkpoint().Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox