Actions
Bug #38527
closedradosgw-admin quota set does not accept negative max-objects
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
According to documentation (http://docs.ceph.com/docs/luminous/radosgw/admin/), "A negative value for num objects and / or max size means that the specific quota attribute check is disabled."
However, when passing negative number to max-size, e.g. radosgw-admin quota set --quota-scope=bucket --uid=user123 --max-size=-1 --max-objects=5000000 it returns "ERROR: failed to parse max size: strict_iecstrtoll: value should not be negative".
Tested on luminous 12.2.10.
Actions