Project

General

Profile

Actions

Feature #21811

closed

Admin API support for bucket quota change

Added by Jeegn Chen over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Reviewed:
Affected Versions:
Pull request ID:

Description

radosgw-admin support quota change both on user level and bucket level. # enable quota on a user and set the limitation on the user level
radosgw-admin quota enable --max-objects=1024 --uid=test --quota-scope=user # enable quota on a user and set the limitation on the bucket level but the same limitation is enforced on all buckets
radosgw-admin quota enable --max-objects=1024 --uid=test --quota-scope=bucket # enable quota on a user and set the limitation on a specific bucket
radosgw-admin quota enable --max-objects=1024 --uid=test --quota-scope=bucket --bucket=test-bucket

Currently RGW Admin API only support the functionalities equivalent to the first 2 commands.
It will be convenient if RGW Admin API can support the 3rd one.


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #23357: luminous: Admin API support for bucket quota changeResolvedActions
Actions

Also available in: Atom PDF