Project

General

Profile

Actions

Bug #45630

closed

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

Added by Chris Durham almost 4 years ago. Updated almost 4 years 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 (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to rgw - Backport #45923: nautilus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 bucketsResolvedJ. Eric IvancichActions
Copied to rgw - Backport #45924: octopus: radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 bucketsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF