Project

General

Profile

Actions

Bug #38527

closed

radosgw-admin quota set does not accept negative max-objects

Added by Marcin Gibula about 5 years ago. Updated about 5 years ago.

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

Updated by Marcin Gibula about 5 years ago

Seems to be fixed in 12.2.11. Please close:)

Actions #2

Updated by Nathan Cutler about 5 years ago

  • Project changed from Ceph to rgw
Actions #3

Updated by Nathan Cutler about 5 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF