Re: [ceph-users] radosgw global quotas - how to set in jewel?
A new set of 'radosgw-admin global quota' commands were added for this, which we'll backport to kraken and jewel. You can view the updated documentation here: http://docs.ceph.com/docs/master/radosgw/admin/#reading-writing-global-quotas Thanks again for pointing this out, Casey On 04/03/2017 03:23 PM, Graham Allan wrote: Ah, thanks, I thought I was going crazy for a bit there! The global quota would be useful for us (now wanting to retroactively impose quotas on pre-existing users), but we can script a workaround instead. Thanks, Graham On 03/29/2017 10:17 AM, Casey Bodley wrote: 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 ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] radosgw global quotas - how to set in jewel?
Ah, thanks, I thought I was going crazy for a bit there! The global quota would be useful for us (now wanting to retroactively impose quotas on pre-existing users), but we can script a workaround instead. Thanks, Graham On 03/29/2017 10:17 AM, Casey Bodley wrote: 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 -- Graham Allan Minnesota Supercomputing Institute - g...@umn.edu ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] radosgw global quotas - how to set in jewel?
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@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] radosgw global quotas - how to set in jewel?
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. -- Graham Allan Minnesota Supercomputing Institute - g...@umn.edu ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] radosgw global quotas
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. -- Graham Allan Minnesota Supercomputing Institute - g...@umn.edu ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] radosgw global quotas
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. Casey ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] radosgw global quotas
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 -- Graham Allan Minnesota Supercomputing Institute - g...@umn.edu ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com