Project

General

Profile

Bug #45630

radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets

Added by Chris Durham 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Using a tenant called t1, and a user called user1 in that tenant, I set the max_buckets for that user to 0 to eliminate the max number of buckets
  1. radosgw-admin user modify --tenant t1 --uid user1 --max_buckets 0

Then using aws api, I create 2000 buckets in tenant t1 and owned by user1

I then go back to radosgw and list the buckets in that tenant owned by that user:

  1. radosgw-admin bucket list --tenant t1 --uid user1

It only lists 1000!

I only get 1000 with stats as well:

  1. radosgw-admin bucket stats --tenant t1 --uid user1

If I drop the --tenant and the --uid, radosgw-admin lists/stats all the buckets for all users

I know it is not recommended to go much above 1000 buckets per user...but these commands should still return all the buckets owned by the user

I do not know if this works without a tenant, but I suspect I'd get the same behavior.

Using 15.2.1 on CentOS 8


Related issues

Copied to rgw - Backport #45923: nautilus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets Resolved
Copied to rgw - Backport #45924: octopus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets Resolved

History

#1 Updated by Casey Bodley 8 months ago

  • Assignee set to Or Friedmann

#2 Updated by J. Eric Ivancich 8 months ago

  • Assignee changed from Or Friedmann to J. Eric Ivancich

I checked w/ Or to OK transfer to me.

#3 Updated by J. Eric Ivancich 8 months ago

  • Pull request ID set to 35405

#4 Updated by J. Eric Ivancich 8 months ago

  • Status changed from New to Fix Under Review
  • Backport set to octopus,nautilus

#5 Updated by J. Eric Ivancich 8 months ago

  • Target version changed from v15.2.1 to v16.0.0

#6 Updated by J. Eric Ivancich 8 months ago

  • Status changed from Fix Under Review to Pending Backport

#7 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #45923: nautilus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets added

#8 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #45924: octopus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets added

#9 Updated by Nathan Cutler 6 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF