Re: [ceph-users] how to use admin api to trim_usage.

2013-09-21 Thread Yehuda Sadeh
On Sat, Sep 21, 2013 at 7:08 PM, 鹏 wrote: > hi: > I follow the docment > http://ceph.com/docs/master/radosgw/adminops/#trim-usage send > > DELETE /{admin}/usage?format=json HTTP/1.1 > but the rwsquest is 400 {"Code":"InvalidArgument"} > > the log is > > > compare=0 > DELETE /admin/usage:t

[ceph-users] how to use admin api to trim_usage.

2013-09-21 Thread
hi: I follow the docment http://ceph.com/docs/master/radosgw/adminops/#trim-usage send DELETE /{admin}/usage?format=json HTTP/1.1 but the rwsquest is 400 {"Code":"InvalidArgument"} the log is compare=0 DELETE /admin/usage:trim_usage:reading permissions DELETE /admin/usage:trim_usag