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

Updated by Jeegn Chen over 6 years 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.

Actions #3

Updated by Nathan Cutler about 6 years ago

  • Status changed from New to Pending Backport
  • Backport set to luminous
Actions #4

Updated by Nathan Cutler about 6 years ago

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

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF