how to use admin api to trim_usage.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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_usage:reading the cors attr
Going to read Cors from attrs
DELETE /admin/usage:trim_usage:executing
DELTET /admin/usage:trim_usage:http status=400
============= req done req=0x16e35e0 http_status=400 ===========
the user caps is
    caps :[
         {"type":"usage","perm":"*"}
         {"type":"users","perm":"*"}
]

why it ret urn 400, can you help me to poin that what mistake i make !!!!!
think you !!!!!!!!!1



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux