Bug 2044715

Summary: RGW-User: Equivalent value for max_buckets="unlimited" in rgw users info shows as max_buckets:0 in CLI
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Chaithra <ckulal>
Component: RGWAssignee: Ali Maredia <amaredia>
Status: ASSIGNED --- QA Contact: Chaithra <ckulal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3CC: cbodley, ceph-eng-bugs, kbader, kkeithle, mbenjamin
Target Milestone: ---   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chaithra 2022-01-25 03:43:56 UTC
Description of problem:

when we set max_buckets as "unlimited" for rgw user info in dashboard, corresponding value in CLI shows as max_buckets:0
where as when we disable "max_buckets" for rgw user info in dashboard, it shows as max_buckets:-1 in CLI
which is bit confusing since we commonly use -1 to represent "unlimited" value.



Version-Release number of selected component (if applicable):
ceph version 14.2.22-50.el8cp

How reproducible:
always

Steps to Reproduce:
1.deploy cluster with ceph version 14.2.22-50.el8cp
2. create user an edit value of max_buckets to unlimited
3. check user info on cli which shows max_buckets:0


Actual results:


Expected results:


Additional info: