Project

General

Profile

Feature #12714

RGW : setting max number of buckets for user via ceph.conf option

Added by Vikhyat Umrao about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/17/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Reviewed:
Affected Versions:
Pull request ID:

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

Copied to rgw - Backport #13046: RGW : setting max number of buckets for user via ceph.conf option Resolved 08/17/2015

Associated revisions

Revision f65267c9 (diff)
Added by Vikhyat Umrao about 3 years ago

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

Revision 7de65e7e (diff)
Added by Vikhyat Umrao about 3 years ago

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 <>
(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 about 3 years ago

  • Backport set to hammer

Ideally we would backport this to Hammer as well.

#2 Updated by Warren Wang about 3 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 about 3 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 about 3 years ago

  • Status changed from New to Need Review
  • Assignee set to Vikhyat Umrao

#5 Updated by Vikhyat Umrao about 3 years ago

for bucket_quota and user_quota values : http://tracker.ceph.com/issues/12919

#6 Updated by Vikhyat Umrao about 3 years ago

  • Status changed from Need Review to Pending Backport

Merged in master. Changing status to Pending Backport. as Backport is set to Hammer.

#7 Updated by Vikhyat Umrao about 3 years ago

Hammer Backport Tracker : http://tracker.ceph.com/issues/13046

#8 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF