Hi Graham, you're absolutely right. In jewel, these settings were moved
into the period, but radosgw-admin doesn't have any commands to modify
them. I opened a tracker issue for this at
http://tracker.ceph.com/issues/19409. For now, it looks like you're
stuck with the 'default quota' settings in ceph.conf.
Thanks,
Casey
On 03/27/2017 03:13 PM, Graham Allan wrote:
I'm following up to myself here, but I'd love to hear if anyone knows
how the global quotas can be set in jewel's radosgw. I haven't found
anything which has an effect - the documentation says to use:
radosgw-admin region-map get > regionmap.json
...edit the json file
radosgw-admin region-map set < regionmap.json
but this has no effect on jewel. There doesn't seem to be any
analogous function in the "period"-related commands which I think
would be the right place to look for jewel.
Am I missing something, or should I open a bug?
Graham
On 03/21/2017 03:18 PM, Graham Allan wrote:
On 03/17/2017 11:47 AM, Casey Bodley wrote:
On 03/16/2017 03:47 PM, Graham Allan wrote:
This might be a dumb question, but I'm not at all sure what the
"global quotas" in the radosgw region map actually do.
It is like a default quota which is applied to all users or buckets,
without having to set them individually, or is it a blanket/aggregate
quota applied across all users and buckets in the region/zonegroup?
Graham
They're defaults that are applied in the absence of quota settings on
specific users/buckets, not aggregate quotas. I agree that the
documentation in http://docs.ceph.com/docs/master/radosgw/admin/ is not
clear about the relationship between 'default quotas' and 'global
quotas' - they're basically the same thing, except for their scope.
Thanks, that's great to know, and exactly what I hoped it would do. It
seemed most likely but not 100% obvious!
My next question is how to set/enable the master quota, since I'm not
sure that the documented procedure still works for jewel. Although
radosgw-admin doesn't acknowledge the "region-map" command in its help
output any more, it does accept it, however the "region-map set" appears
to have no effect.
I think I should be using the radosgw-admin period commands, but it's
not clear to me how I can update the quotas within the period_config
G.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com