On Fri, Sep 20, 2013 at 4:03 AM, Rick Stokkingreef <R.Stokkingreef@xxxxxxxxxxx> wrote: > Hello, > > I'm trying to connect radosgw to keystone, it seems it is all working but it > won't create the bucket: > > > Error Swift Client: > DEBUG:root:HTTP PERF: 0.05760 seconds to PUT 10.10.10.51:80 /swift/v1/test) > DEBUG:swiftclient:REQ: curl -i http://10.10.10.51/swift/v1/test -X PUT -H > "Content-Length: 0" -H "X-Auth-Token: 934d2c44284b43918ecb22775fd30ecd" > > DEBUG:swiftclient:RESP STATUS: 401 > > DEBUG:swiftclient:RESP BODY: AccessDenied > > Container PUT failed: http://10.10.10.51:80/swift/v1/test 401 Authorization > Required AccessDenied > > > Error In RadosGW LOG: > 2013-09-20 12:53:23.836948 7f079d7d2700 0 validated token: demo:demo > expires: 1379760803 > 2013-09-20 12:53:23.836967 7f079d7d2700 20 get_obj_state: > rctx=0x7f07bc0074e0 obj=.users.uid:743703ef84cf4ff7ad3dc1ad197bf19a > state=0x7f07bc016cb8 s->prefetch_data=0 > 2013-09-20 12:53:23.836981 7f079d7d2700 10 moving > .users.uid+743703ef84cf4ff7ad3dc1ad197bf19a to cache LRU end > 2013-09-20 12:53:23.836983 7f079d7d2700 10 cache get: > name=.users.uid+743703ef84cf4ff7ad3dc1ad197bf19a : hit > 2013-09-20 12:53:23.836989 7f079d7d2700 20 get_obj_state: s->obj_tag was set > empty > 2013-09-20 12:53:23.836993 7f079d7d2700 10 moving > .users.uid+743703ef84cf4ff7ad3dc1ad197bf19a to cache LRU end > 2013-09-20 12:53:23.836994 7f079d7d2700 10 cache get: > name=.users.uid+743703ef84cf4ff7ad3dc1ad197bf19a : hit > 2013-09-20 12:53:23.837013 7f079d7d2700 2 req 83:0.049974:swift:PUT > /swift/v1/test:create_bucket:reading permissions > 2013-09-20 12:53:23.837018 7f079d7d2700 2 req 83:0.049980:swift:PUT > /swift/v1/test:create_bucket:verifying op mask > 2013-09-20 12:53:23.837020 7f079d7d2700 20 required_mask= 2 user.op_mask=7 > 2013-09-20 12:53:23.837021 7f079d7d2700 2 req 83:0.049983:swift:PUT > /swift/v1/test:create_bucket:verifying op permissions > 2013-09-20 12:53:23.837827 7f079d7d2700 2 req 83:0.050789:swift:PUT > /swift/v1/test:create_bucket:verifying op params > 2013-09-20 12:53:23.837832 7f079d7d2700 2 req 83:0.050794:swift:PUT > /swift/v1/test:create_bucket:executing > 2013-09-20 12:53:23.838061 7f079d7d2700 20 get_obj_state: > rctx=0x7f07bc00ed30 obj=.rgw:test state=0x7f07bc0111d8 s->prefetch_data=0 > 2013-09-20 12:53:23.838074 7f079d7d2700 10 moving .rgw+test to cache LRU end > 2013-09-20 12:53:23.838076 7f079d7d2700 10 cache get: name=.rgw+test : type > miss (requested=22, cached=0) > 2013-09-20 12:53:23.839341 7f079d7d2700 10 cache put: name=.rgw+test > 2013-09-20 12:53:23.839346 7f079d7d2700 10 moving .rgw+test to cache LRU end > 2013-09-20 12:53:23.840167 7f079d7d2700 20 rgw_create_bucket returned ret=-1 > bucket=test(@{i=.rgw.buckets.index}.rgw.buckets[default.4303.36]) > 2013-09-20 12:53:23.840190 7f079d7d2700 2 req 83:0.053152:swift:PUT > /swift/v1/test:create_bucket:http status=401 > Could it be that you already have a bucket named 'test' that is owned by someone else? Can you provide a log with 'debug ms = 1'? Yehuda _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com