Great, I opened issue # 11323. Thanks, Yehuda
----- Original Message ----- > From: "Sergey Arkhipov" <sarkhi...@asdco.ru> > To: "Yehuda Sadeh-Weinraub" <yeh...@redhat.com> > Cc: ceph-users@lists.ceph.com > Sent: Friday, April 3, 2015 1:00:02 AM > Subject: Re: [ceph-users] RADOS Gateway quota management > Hi, > Thank you for your answer! Meanwhile I did some investigations and found the > reason: quota works on PUTs perfectly, but there are no checks on POSTs. > I've made a pull-request: https://github.com/ceph/ceph/pull/4240 > 2015-04-02 18:40 GMT+03:00 Yehuda Sadeh-Weinraub < yeh...@redhat.com > : > > > From: "Sergey Arkhipov" < sarkhi...@asdco.ru > > > > > > > To: ceph-users@lists.ceph.com > > > > > > Sent: Monday, March 30, 2015 2:55:33 AM > > > > > > Subject: [ceph-users] RADOS Gateway quota management > > > > > > Hi, > > > > > > Currently I am trying to figure out how to work with RADOS Gateway (ceph > > > 0.87) limits and I've managed to produce such strange behavior: > > > > > > { "bucket": "test1-8", > > > > > > "pool": ".rgw.buckets", > > > > > > "index_pool": ".rgw.buckets.index", > > > > > > "id": "default.17497.14", > > > > > > "marker": "default.17497.14", > > > > > > "owner": "cb254310-8b24-4622-93fb-640ca4a45998", > > > > > > "ver": 21, > > > > > > "master_ver": 0, > > > > > > "mtime": 1427705802, > > > > > > "max_marker": "", > > > > > > "usage": { "rgw.main": { "size_kb": 16000, > > > > > > "size_kb_actual": 16020, > > > > > > "num_objects": 9}}, > > > > > > "bucket_quota": { "enabled": true, > > > > > > "max_size_kb": -1, > > > > > > "max_objects": 3}} > > > > > > Steps to reproduce: create bucket, set quota like that (max_objects = 3 > > > and > > > enable) and successfully upload 9 files. User quota is also defined: > > > > > > "bucket_quota": { "enabled": true, > > > > > > "max_size_kb": -1, > > > > > > "max_objects": 3}, > > > > > > "user_quota": { "enabled": true, > > > > > > "max_size_kb": 1048576, > > > > > > "max_objects": 5}, > > > > > > Could someone please help me to understand how to limit users? > > > > > > -- > > > > > The question is whether the user is able to continue writing objects at > > this > > point. The quota system is working asynchronously, so it's possible to get > > into edge cases where users exceeded it a bit (it looks a whole lot better > > with larger numbers). The question is whether it's working for you at all. > > > Yehuda > > -- > Sergey Arkhipov > Software Engineer, ASD Technologies > Phone: +7 920 018 9404 > Skype: serge.arkhipov > sarkhi...@asdco.ru > asdtech.co > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com