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 #1

Updated by Casey Bodley almost 4 years ago

  • Assignee set to Or Friedmann
Actions #2

Updated by J. Eric Ivancich almost 4 years ago

  • Assignee changed from Or Friedmann to J. Eric Ivancich

I checked w/ Or to OK transfer to me.

Actions #3

Updated by J. Eric Ivancich almost 4 years ago

  • Pull request ID set to 35405
Actions #4

Updated by J. Eric Ivancich almost 4 years ago

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

Updated by J. Eric Ivancich almost 4 years ago

  • Target version changed from v15.2.1 to v16.0.0
Actions #6

Updated by J. Eric Ivancich almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler almost 4 years 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
Actions #8

Updated by Nathan Cutler almost 4 years 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
Actions #9

Updated by Nathan Cutler almost 4 years 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".

Actions

Also available in: Atom PDF