Skip to content

rgw/admin: expose zonegroup_name in bucket stats output - #73728

Open
RaminNietzsche wants to merge 2 commits into
ceph:mainfrom
RaminNietzsche:wip-rgw-bucket-stats-zonegroup-name
Open

RaminNietzsche wants to merge 2 commits into
ceph:mainfrom
RaminNietzsche:wip-rgw-bucket-stats-zonegroup-name

Conversation

@RaminNietzsche

@RaminNietzsche RaminNietzsche commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Contribution Guidelines

Summary

  • Add zonegroup_name to radosgw-admin bucket stats JSON when the bucket's zonegroup id resolves in the loaded period (same lookup as the HTTP path).
  • Leave the existing zonegroup field as the zonegroup id.
  • Document in doc/radosgw/placement.rst and PendingReleaseNotes; optional zonegroup_name on the dashboard bucket TypeScript model.

Testing

  • Integration: src/test/rgw/radosgw-admin/test-bucket-exit-codes.sh (check_bucket_stats_zonegroup_name).
  • Staging cluster: build @ ebee05a; ninja radosgw radosgw-admin OK; vstart blocked on host by monmaptool bad_variant_access (upstream/tooling on tree tip — retry after fix or use teuthology row).

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)

bucket stats already prints the owning zonegroup id in "zonegroup".
Resolve the display name from the loaded period when possible so
operators can tell which zonegroup owns the bucket without a
separate zonegroup get.

Signed-off-by: ramin.najarbashi <ramin.najarbashi@gmail.com>
Extend the radosgw-admin bucket exit-code suite so a running cluster
with a test bucket verifies zonegroup_name matches zonegroup get.

Signed-off-by: ramin.najarbashi <ramin.najarbashi@gmail.com>
@github-actions github-actions Bot added the tests label Nov 10, 2026
@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Nov 10, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Reviewer approved

Development

Successfully merging this pull request may close these issues.

2 participants