Actions
Bug #45630
closedradsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 buckets
% 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
- 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:
- radosgw-admin bucket list --tenant t1 --uid user1
It only lists 1000!
I only get 1000 with stats as well:
- 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
Actions