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

rgw/sync-policy: Correct "sync status" & "sync group" commands #52445

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

soumyakoduri
Copy link
Contributor

Using multisite sync policy, sync can be restricted to certain zones within a zonegroup. Hence read the "sync status" only from the source zones which are allowed to sync from.

Also do not allow empty names while using sync group commands.

Fixes: https://tracker.ceph.com/issues/62014
Fixes: https://tracker.ceph.com/issues/62015

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@soumyakoduri soumyakoduri requested a review from a team as a code owner July 14, 2023 06:12
@github-actions github-actions bot added the rgw label Jul 14, 2023
@soumyakoduri soumyakoduri requested review from yehudasa, cbodley and smanjara and removed request for a team July 14, 2023 06:14
@soumyakoduri
Copy link
Contributor Author

jenkins test api

@soumyakoduri
Copy link
Contributor Author

jenkins test windows

@soumyakoduri
Copy link
Contributor Author

@soumyakoduri soumyakoduri force-pushed the wip-skoduri-syncpolicy-fixes branch 2 times, most recently from fbb46a0 to 17a087d Compare July 20, 2023 14:59
Fixes: https://tracker.ceph.com/issues/62015
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Using multisite sync policy, zones within a zonegroup can be configured
not to sync from certain zones. Filter such zones while reading sync
status.

Fixes: https://tracker.ceph.com/issues/62014
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants