Feature #21811
closedAdmin API support for bucket quota change
0%
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.
Updated by Jeegn Chen over 6 years ago
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.
Updated by Jeegn Chen over 6 years ago
Updated by Nathan Cutler about 6 years ago
- Status changed from New to Pending Backport
- Backport set to luminous
Updated by Nathan Cutler about 6 years ago
- Copied to Backport #23357: luminous: Admin API support for bucket quota change added
Updated by Nathan Cutler about 6 years ago
- Status changed from Pending Backport to Resolved