radsgw-admin bucket list/stats does not list/stat all buckets if user owns more than 1000 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