Re: Radosgw Admin REST API

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

 



Yes, there is something afoot, I guess i hadn't gotten far enough to try
creating users just yet.  I have these caps,

"caps": [
        { "type": "buckets",
          "perm": "*"},
        { "type": "metadata",
          "perm": "*"},
        { "type": "usage",
          "perm": "*"},
        { "type": "users",
          "perm": "*"}],

And this is the output in the radosgw logs on the server, I sign the
request fine but seem to be failing the user.opt_mask check.

2013-10-10 14:23:37.948800 7fe6eebdd700 10 auth_hdr:
PUT

application/x-www-form-urlencoded
Thu, 10 Oct 2013 18:23:37 GMT
/admin/user
2013-10-10 14:23:37.948853 7fe6eebdd700 15 calculated
digest=wqLeftmPE126wz7fKKu6WWtwaHs=
2013-10-10 14:23:37.948855 7fe6eebdd700 15
auth_sign=wqLeftmPE126wz7fKKu6WWtwaHs=
2013-10-10 14:23:37.948856 7fe6eebdd700 15 compare=0
2013-10-10 14:23:37.948858 7fe6eebdd700  2 req 6:0.000365::PUT
/admin/user:create_user:reading permissions
2013-10-10 14:23:37.948861 7fe6eebdd700  2 req 6:0.000368::PUT
/admin/user:create_user:verifying op mask
2013-10-10 14:23:37.948863 7fe6eebdd700 20 required_mask= 0 user.op_mask=7
2013-10-10 14:23:37.948865 7fe6eebdd700  2 req 6:0.000372::PUT
/admin/user:create_user:verifying op permissions
2013-10-10 14:23:37.948868 7fe6eebdd700  2 req 6:0.000374::PUT
/admin/user:create_user:verifying op params
2013-10-10 14:23:37.948870 7fe6eebdd700  2 req 6:0.000377::PUT
/admin/user:create_user:executing
2013-10-10 14:23:37.948901 7fe6eebdd700  2 req 6:0.000407::PUT
/admin/user:create_user:http status=403
2013-10-10 14:23:37.949006 7fe6eebdd700  1 ====== req done req=0x19bc570
http_status=403 ======

-- 
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux