Project

General

Profile

Feature #21811

Admin API support for bucket quota change

Added by Jeegn Chen over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/16/2017
Due date:
% 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

Copied to rgw - Backport #23357: luminous: Admin API support for bucket quota change Resolved

History

#1 Updated by Jeegn Chen over 1 year ago

radosgw-admin support quota change both on user level and bucket level.

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

#3 Updated by Nathan Cutler over 1 year ago

  • Status changed from New to Pending Backport
  • Backport set to luminous

#4 Updated by Nathan Cutler over 1 year ago

  • Copied to Backport #23357: luminous: Admin API support for bucket quota change added

#5 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF