Feature #12714
RGW : setting max number of buckets for user via ceph.conf option
0%
Description
RGW : setting max number of buckets for user via ceph.conf option
We can change the user's total max buckets by using radosgw-admin:
$ radosgw-admin user modify --uid=<uid> --max-buckets=<max>
If max is 0, it means that there's no limit to the number of buckets for that user.
Currently we do not have any option to set this value globally for radosgw server.
Related issues
Associated revisions
rgw : setting max number of buckets for users via ceph.conf option
This patch adds a new option "rgw_user_max_buckets" for setting
max number of buckets for users via ceph.conf.
Fixes #12714
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
rgw : setting max number of buckets for users via ceph.conf option
This patch adds a new option "rgw_user_max_buckets" for setting
max number of buckets for users via ceph.conf.
Fixes #12714
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit f65267c96cbd4cd25036b6bf399692e77bbb9436)
Conflicts:
src/rgw/rgw_admin.cc: usage is on cerr in hammer, not cout
History
#1 Updated by Ken Dreyer over 8 years ago
- Backport set to hammer
Ideally we would backport this to Hammer as well.
#2 Updated by Warren Wang over 8 years ago
I would suggest that this go one step further, and all default RGW quotas be settable in ceph.conf.It is difficult to perform quota changes after user creation when you are using Keystone as the auth mechanism.
#3 Updated by Vikhyat Umrao over 8 years ago
Warren Wang wrote:
I would suggest that this go one step further, and all default RGW quotas be settable in ceph.conf.It is difficult to perform quota changes after user creation when you are using Keystone as the auth mechanism.
Thanks Warren for inputs. Could you please open a new ticket for this one it will help a lot !
#4 Updated by Vikhyat Umrao over 8 years ago
- Status changed from New to Fix Under Review
- Assignee set to Vikhyat Umrao
#5 Updated by Vikhyat Umrao over 8 years ago
for bucket_quota and user_quota values : http://tracker.ceph.com/issues/12919
#6 Updated by Vikhyat Umrao over 8 years ago
- Status changed from Fix Under Review to Pending Backport
Merged in master. Changing status to Pending Backport. as Backport is set to Hammer.
#7 Updated by Vikhyat Umrao over 8 years ago
Hammer Backport Tracker : http://tracker.ceph.com/issues/13046
#8 Updated by Loïc Dachary over 8 years ago
- Status changed from Pending Backport to Resolved