And now attached the log from creating bucket with the header X-Container-read 
(without http).



-----Mensaje original-----
De: [email protected] 
[mailto:[email protected]] En nombre de Alvaro Izquierdo Jimeno
Enviado el: martes, 09 de julio de 2013 8:55
Para: Yehuda Sadeh
CC: [email protected]
Asunto: Re: [ceph-users] (keystone + radosgw ) users

The same result.

Attached the log from creating bucket with the header 'HTTP-X-Container-Read'

Response of HEAD of the bucket1
< HTTP/1.1 204
< Date: Tue, 09 Jul 2013 06:53:55 GMT
< Server: Apache/2.2.15 (Red Hat)
< X-Container-Object-Count: 1
< X-Container-Bytes-Used: 6163
< X-Container-Bytes-Used-Actual: 8192
< Connection: close
< Content-Type: text/plain; charset=utf-8



-----Mensaje original-----
De: Yehuda Sadeh [mailto:[email protected]] Enviado el: martes, 09 de julio de 
2013 8:37
Para: Alvaro Izquierdo Jimeno
CC: [email protected]
Asunto: Re: [ceph-users] (keystone + radosgw ) users

Can you try using 'HTTP-X-Container-Read' instead?

On Mon, Jul 8, 2013 at 11:31 PM, Alvaro Izquierdo Jimeno <[email protected]> 
wrote:
> Hi,
>
> I´m using RedHat 6.4.
> Attached two files: one with the log output from GET bucket1 from 
> ytenant and the other with the log output from GET object1 from 
> ytenant (both with 401 response)
>
> When I get the bucket (after the Put request with X-Container-Read
> header) from xtenant, I can see
>
> < HTTP/1.1 200
> < Date: Tue, 09 Jul 2013 06:24:27 GMT
> < Server: Apache/2.2.15 (Red Hat)
> < Connection: close
> < Transfer-Encoding: chunked
> < Content-Type: text/plain; charset=utf-8 <
> Object1
> * Closing connection #0
>
> But, where is the X-Container-Read header? it should appear? Maybe the 
> problem is saving the metadata header....
>
> Thanks a lot,
> Álvaro
>
>
>
> -----Mensaje original-----
> De: Yehuda Sadeh [mailto:[email protected]] Enviado el: martes, 09 de 
> julio de 2013 7:53
> Para: Alvaro Izquierdo Jimeno
> CC: [email protected]
> Asunto: Re: [ceph-users] (keystone + radosgw ) users
>
> From what I can tell, this should be enough. I'll need to see more concrete 
> logs to figure out what went wrong though.
>
> Yehuda
>
> On Mon, Jul 8, 2013 at 10:47 PM, Alvaro Izquierdo Jimeno 
> <[email protected]> wrote:
>> Any idea?
>>
>> Thanks a lot,
>> Álvaro.
>>
>> -----Mensaje original-----
>> De: [email protected] 
>> [mailto:[email protected]] En nombre de Alvaro 
>> Izquierdo Jimeno Enviado el: viernes, 05 de julio de 2013 11:58
>> Para: Yehuda Sadeh
>> CC: [email protected]
>> Asunto: Re: [ceph-users] (keystone + radosgw ) users
>>
>> Hi,
>>
>> Maybe i forgot something but i can't use this behavior:
>>
>> I will try to explain my setting:
>>
>> I have two keystone users: 'x' and 'y'
>> And two keystone tenants: 'xtenant' and 'ytenant'
>>
>> In ceph.conf I have the option:
>> rgw enforce swift acls = true
>>
>> I have got the token for x and xtenant with curl -k -X 'POST' -v 
>> http://mykeystone:5000/v2.0/tokens -d 
>> '{"auth":{"passwordCredentials":{"username": "x", "password":"pass"}, 
>> "tenantId":"the_id_of_xtenant"}}' -H 'Content-type: application/json'
>>
>> Create a container (with permissions to ytenant) and an object curl 
>> -v -X PUT -H 'X-Container-Read: the_id_of_ytenant' -H 'X-Auth-Token:
>> x_token' http://myradosgw/swift/v1/bucket1 curl -v -X PUT -H
>> 'X-Auth-Token: x_token' http://myradosgw/swift/v1/bucket1/object1
>>
>> I can get the container and object with x_token:
>> curl -v -X GET -H 'X-Auth-Token: x_token'
>> http://myradosgw/swift/v1/bucket1 curl -v -X GET -H 'X-Auth-Token:
>> x_token' http://myradosgw/swift/v1/bucket1/object1
>>
>> until this moment, all ok.
>>
>> I have got the token for y and ytenant with
>>
>> curl -k -X 'POST' -v http://mykeystone:5000/v2.0/tokens -d 
>> '{"auth":{"passwordCredentials":{"username": "y", "password":"pass2"}, 
>> "tenantId":"the_id_of_ytenant"}}' -H 'Content-type: application/json'
>>
>> But, radosgw returns a 401 when I try to get the container or the bucket:
>> curl -v -X GET -H 'X-Auth-Token: y_token'
>> http://myradosgw/swift/v1/bucket1 curl -v -X GET -H 'X-Auth-Token:
>> y_token' http://myradosgw/swift/v1/bucket1/object1
>>
>>
>> What have I forgotten?
>>
>> Thanks and regards,
>> Álvaro.
>>
>> -----Mensaje original-----
>> De: Yehuda Sadeh [mailto:[email protected]] Enviado el: viernes, 05 
>> de julio de 2013 8:39
>> Para: Alvaro Izquierdo Jimeno
>> CC: [email protected]
>> Asunto: Re: [ceph-users] (keystone + radosgw ) users
>>
>> The rados gateway supports swift form of ACLs on buckets in which it is 
>> possible to set read/write permissions for each bucket to allow access for 
>> its objects. This can be done by setting the X-Container-Read, and 
>> X-Container-Write attributes on the containers.
>> Each attribute is a comma delimited list of permitted users that are given 
>> the specific permission. Note that when using the keystone backed, the 
>> permissions are given at the tenant level, so they should be referred as 
>> such (using the tenant hex id).
>>
>> On Thu, Jul 4, 2013 at 11:27 PM, Alvaro Izquierdo Jimeno 
>> <[email protected]> wrote:
>>> May anybody help me?
>>>
>>>
>>>
>>> Many thanks and regards,
>>>
>>> Álvaro.
>>>
>>>
>>>
>>>
>>>
>>> De: [email protected] 
>>> [mailto:[email protected]] En nombre de Alvaro 
>>> Izquierdo Jimeno Enviado el: martes, 02 de julio de 2013 14:30
>>> Para: [email protected]
>>> Asunto: [ceph-users] (keystone + radosgw ) users
>>>
>>>
>>>
>>> Hi all,
>>>
>>>
>>>
>>> I have been able to bind openstack keystone and radosgw and have 
>>> checked users created from keystone can make requests on radosgw.
>>>
>>>
>>>
>>> But, how can we handle several tenants and users from keystone? In 
>>> swift, we have the option of  setting up ACLs in the config file and 
>>> headers to mark which user can make an operation in each container 
>>> in a specific tenant (for example). Does it exist that option with radosgw 
>>> instead of swift?
>>>
>>>
>>>
>>> Many thanks in advanced and best regards,
>>>
>>> Álvaro.
>>>
>>>
>>>
>>>
>>>
>>>
>>> ____________
>>> Verificada la ausencia de virus por G Data AntiVirus Versión: AVA
>>> 22.10661 del 02.07.2013 Noticias de virus: www.antiviruslab.com
>>>
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> [email protected]
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>> ____________
>> Verificada la ausencia de virus por G Data AntiVirus
>> Versión: AVA 22.10718 del 05.07.2013
>> Noticias de virus: www.antiviruslab.com 
>> _______________________________________________
>> ceph-users mailing list
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> ____________
>> Verificada la ausencia de virus por G Data AntiVirus
>> Versión: AVA 22.10827 del 09.07.2013
>> Noticias de virus: www.antiviruslab.com
>
> ____________
> Verificada la ausencia de virus por G Data AntiVirus
> Versión: AVA 22.10829 del 09.07.2013
> Noticias de virus: www.antiviruslab.com

____________
Verificada la ausencia de virus por G Data AntiVirus
Versión: AVA 22.10829 del 09.07.2013
Noticias de virus: www.antiviruslab.com

____________
Verificada la ausencia de virus por G Data AntiVirus
Versión: AVA 22.10829 del 09.07.2013
Noticias de virus: www.antiviruslab.com
2013-07-09 08:07:10.764719 7fa3c37eb700  1 ====== starting new request 
req=0x28711e0 =====
2013-07-09 08:07:10.764774 7fa3c37eb700  2 req 1:0.000055::::initializing
2013-07-09 08:07:10.764784 7fa3c37eb700 10 host=myradosgw rgw_dns_name=myradosgw
2013-07-09 08:07:10.764797 7fa3c37eb700 10 meta>> 
HTTP_X_CONTAINER_READ=0244c0adc63a4bfcb730a29304097f9d
2013-07-09 08:07:10.764809 7fa3c37eb700 10 x>> 
x-amz-read:0244c0adc63a4bfcb730a29304097f9d
2013-07-09 08:07:10.764835 7fa3c37eb700 10 ver=v1 first=bucket1 req=
2013-07-09 08:07:10.764838 7fa3c37eb700 10 s->object=<NULL> s->bucket=bucket1
2013-07-09 08:07:10.764844 7fa3c37eb700 20 FCGI_ROLE=RESPONDER
2013-07-09 08:07:10.764845 7fa3c37eb700 20 SCRIPT_URL=/swift/v1/bucket1
2013-07-09 08:07:10.764846 7fa3c37eb700 20 
SCRIPT_URI=http://myradosgw/swift/v1/bucket1
2013-07-09 08:07:10.764847 7fa3c37eb700 20 HTTP_AUTHORIZATION=
2013-07-09 08:07:10.764847 7fa3c37eb700 20 HTTP_USER_AGENT=curl/7.19.7 
(x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 
libssh2/1.4.2
2013-07-09 08:07:10.764849 7fa3c37eb700 20 HTTP_HOST=myradosgw
2013-07-09 08:07:10.764850 7fa3c37eb700 20 HTTP_ACCEPT=*/*
2013-07-09 08:07:10.764850 7fa3c37eb700 20 
HTTP_X_CONTAINER_READ=0244c0adc63a4bfcb730a29304097f9d
2013-07-09 08:07:10.764851 7fa3c37eb700 20 
HTTP_X_AUTH_TOKEN=MIILCQYJKoZIhvcNAQcCoIIK+jCCCvYCAQExCTAHBgUrDgMCGjCCCeIGCSqGSIb3DQEHAaCCCdMEggnPeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNy0wOVQwNToxNjozNi41MjM5NjYiLCAiZXhwaXJlcyI6ICIyMDEzLTA3LTEwVDA1OjE2OjM2WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogImFsdmFyb3RlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogIjY2NWQ1MGQ3NWZkNjQxNjZiNzgxYTUzYjZhYjg2MWEzIiwgIm5hbWUiOiAiYWx2YXJvdGVuYW50In19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTAuOTUuMTA4LjUzOjg3NzQvdjEuMS82NjVkNTBkNzVmZDY0MTY2Yjc4MWE1M2I2YWI4NjFhMyIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMC45NS4xMDguNTM6ODc3NC92MS4xLzY2NWQ1MGQ3NWZkNjQxNjZiNzgxYTUzYjZhYjg2MWEzIiwgImlkIjogIjMwMWI2YjgzMGY1YTQ3OTM5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.2.15 (Red 
Hat)
2013-07-09 08:07:10.764869 7fa3c37eb700 20 SERVER_NAME=myradosgw
2013-07-09 08:07:10.764870 7fa3c37eb700 20 SERVER_ADDR=x.x.107.124
2013-07-09 08:07:10.764871 7fa3c37eb700 20 SERVER_PORT=80
2013-07-09 08:07:10.764871 7fa3c37eb700 20 REMOTE_ADDR=x.x.107.241
2013-07-09 08:07:10.764872 7fa3c37eb700 20 DOCUMENT_ROOT=/var/www
2013-07-09 08:07:10.764873 7fa3c37eb700 20 SERVER_ADMIN=root@localhost
2013-07-09 08:07:10.764874 7fa3c37eb700 20 SCRIPT_FILENAME=/var/www/s3gw.fcgi
2013-07-09 08:07:10.764875 7fa3c37eb700 20 REMOTE_PORT=58330
2013-07-09 08:07:10.764875 7fa3c37eb700 20 GATEWAY_INTERFACE=CGI/1.1
2013-07-09 08:07:10.764876 7fa3c37eb700 20 SERVER_PROTOCOL=HTTP/1.1
2013-07-09 08:07:10.764877 7fa3c37eb700 20 REQUEST_METHOD=PUT
2013-07-09 08:07:10.764878 7fa3c37eb700 20 
QUERY_STRING=page=swift&params=/v1/bucket1
2013-07-09 08:07:10.764879 7fa3c37eb700 20 REQUEST_URI=/swift/v1/bucket1
2013-07-09 08:07:10.764879 7fa3c37eb700 20 SCRIPT_NAME=/swift/v1/bucket1
2013-07-09 08:07:10.764882 7fa3c37eb700  2 req 1:0.000163:swift:PUT 
/swift/v1/bucket1::getting op
2013-07-09 08:07:10.764887 7fa3c37eb700  2 req 1:0.000169:swift:PUT 
/swift/v1/bucket1:create_bucket:authorizing
2013-07-09 08:07:10.764927 7fa3c37eb700 20 
token_id=42fee298460b1e74971e495e5f89fac6
2013-07-09 08:07:10.765404 7fa3c37eb700 20 successfully decoded pki token
2013-07-09 08:07:10.765413 7fa3c37eb700 20 received response: {"access": 
{"token": {"issued_at": "2013-07-09T05:16:36.523966", "expires": 
"2013-07-10T05:16:36Z", "id": "placeholder", "tenant": {"description": 
"alvarotenant", "enabled": true, "id": "665d50d75fd64166b781a53b6ab861a3", 
"name": "alvarotenant"}}, "serviceCatalog": [{"endpoints": [{"adminURL": 
"http://x.x.108.53:8774/v1.1/665d50d75fd64166b781a53b6ab861a3";, "region": 
"RegionOne", "internalURL": 
"http://x.x.108.53:8774/v1.1/665d50d75fd64166b781a53b6ab861a3";, "id": 
"301b6b830f5a47939f116a8f6d2c7cef", "publicURL": 
"http://x.x.108.53:8774/v1.1/665d50d75fd64166b781a53b6ab861a3"}], 
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": 
[{"adminURL": "http://x.x.108.53:9292";, "region": "RegionOne", "internalURL": 
"http://x.x.108.53:9292";, "id": "a4eee48b47034537bf0a3afad0387cca", 
"publicURL": "http://x.x.108.53:9292"}], "endpoints_links": [], "type": 
"image", "name": "glance"}, {"endpoints": [{"adminURL": 
"http://x.x.108.53:8776/v1/665d50d75fd64166b781a53b6ab861a3";, "region": 
"RegionOne", "internalURL": 
"http://x.x.108.53:8776/v1/665d50d75fd64166b781a53b6ab861a3";, "id": 
"27a5563e9ada4922ad96b9460a125b17", "publicURL": 
"http://x.x.108.53:8776/v1/665d50d75fd64166b781a53b6ab861a3"}], 
"endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": 
[{"adminURL": "http://x.x.108.53:8773/services/Admin";, "region": "RegionOne", 
"internalURL": "http://x.x.108.53:8773/services/Cloud";, "id": 
"8d69528dc5ee4816930bcf4bd730b6a6", "publicURL": 
"http://x.x.108.53:8773/services/Cloud"}], "endpoints_links": [], "type": 
"ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://myradosgw/swift/v1";, 
"region": "regionOne", "internalURL": "http://myradosgw/swift/v1";, "id": 
"32865da535134ad89ce00475abc864c2", "publicURL": "http://myradosgw/swift/v1"}], 
"endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": 
[{"adminURL": "http://x.x.108.53:35357/v2.0";, "region": "RegionOne", 
"internalURL": "http://x.x.108.53:5000/v2.0";, "id": 
"330fb393e56141e499dcbaa8d876934a", "publicURL": 
"http://x.x.108.53:5000/v2.0"}], "endpoints_links": [], "type": "identity", 
"name": "keystone"}], "user": {"username": "alvarouser", "roles_links": [], 
"id": "f3a7f2910dcd4c31b48d9603b013643f", "roles": [{"name": "_member_"}, 
{"name": "telefonica"}], "name": "alvarouser"}, "metadata": {"is_admin": 0, 
"roles": ["9fe2ff9ee4384b1894a90878d3e92bab", 
"7c8f69a48ad044ec957c0e4489e8e4aa"]}}}
2013-07-09 08:07:10.767183 7fa3c37eb700  0 validated token: 
alvarotenant:alvarouser expires: 1373433396
2013-07-09 08:07:10.767217 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c00a0b0 
obj=.users.uid:665d50d75fd64166b781a53b6ab861a3 state=0x7fa37c024568 
s->prefetch_data=0
2013-07-09 08:07:10.767231 7fa3c37eb700 10 cache get: 
name=.users.uid+665d50d75fd64166b781a53b6ab861a3 : miss
2013-07-09 08:07:10.768185 7fa3c37eb700 10 cache put: 
name=.users.uid+665d50d75fd64166b781a53b6ab861a3
2013-07-09 08:07:10.768199 7fa3c37eb700 10 adding 
.users.uid+665d50d75fd64166b781a53b6ab861a3 to cache LRU end
2013-07-09 08:07:10.768207 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.768216 7fa3c37eb700 10 moving 
.users.uid+665d50d75fd64166b781a53b6ab861a3 to cache LRU end
2013-07-09 08:07:10.768218 7fa3c37eb700 10 cache get: 
name=.users.uid+665d50d75fd64166b781a53b6ab861a3 : type miss (requested=1, 
cached=6)
2013-07-09 08:07:10.768226 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c009d50 
obj=.users.uid:665d50d75fd64166b781a53b6ab861a3 state=0x7fa37c019e48 
s->prefetch_data=0
2013-07-09 08:07:10.768232 7fa3c37eb700 10 moving 
.users.uid+665d50d75fd64166b781a53b6ab861a3 to cache LRU end
2013-07-09 08:07:10.768233 7fa3c37eb700 10 cache get: 
name=.users.uid+665d50d75fd64166b781a53b6ab861a3 : hit
2013-07-09 08:07:10.768236 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.768240 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c009d50 
obj=.users.uid:665d50d75fd64166b781a53b6ab861a3 state=0x7fa37c019e48 
s->prefetch_data=0
2013-07-09 08:07:10.768242 7fa3c37eb700 20 state for 
obj=.users.uid:665d50d75fd64166b781a53b6ab861a3 is not atomic, not appending 
atomic test
2013-07-09 08:07:10.768246 7fa3c37eb700 20 rados->read obj-ofs=0 read_ofs=0 
read_len=524288
2013-07-09 08:07:10.768961 7fa3c37eb700 20 rados->read r=0 bl.length=149
2013-07-09 08:07:10.769017 7fa3c37eb700 10 cache put: 
name=.users.uid+665d50d75fd64166b781a53b6ab861a3
2013-07-09 08:07:10.769022 7fa3c37eb700 10 moving 
.users.uid+665d50d75fd64166b781a53b6ab861a3 to cache LRU end
2013-07-09 08:07:10.769039 7fa3c37eb700  2 req 1:0.004321:swift:PUT 
/swift/v1/bucket1:create_bucket:reading permissions
2013-07-09 08:07:10.769045 7fa3c37eb700  2 req 1:0.004327:swift:PUT 
/swift/v1/bucket1:create_bucket:reading the cors attr
2013-07-09 08:07:10.769050 7fa3c37eb700 10 Going to read cors from attrs
2013-07-09 08:07:10.769052 7fa3c37eb700  2 req 1:0.004334:swift:PUT 
/swift/v1/bucket1:create_bucket:verifying op permissions
2013-07-09 08:07:10.769858 7fa3c37eb700  2 req 1:0.005140:swift:PUT 
/swift/v1/bucket1:create_bucket:verifying op params
2013-07-09 08:07:10.769870 7fa3c37eb700  2 req 1:0.005151:swift:PUT 
/swift/v1/bucket1:create_bucket:executing
2013-07-09 08:07:10.769895 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c002750 
obj=.rgw:bucket1 state=0x7fa37c024068 s->prefetch_data=0
2013-07-09 08:07:10.769901 7fa3c37eb700 10 cache get: name=.rgw+bucket1 : miss
2013-07-09 08:07:10.771351 7fa3c37eb700 10 cache put: name=.rgw+bucket1
2013-07-09 08:07:10.771359 7fa3c37eb700 10 adding .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.771362 7fa3c37eb700 10 updating xattr: name=user.rgw.acl 
bl.length()=249
2013-07-09 08:07:10.771368 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.771376 7fa3c37eb700 15 Read 
AccessControlPolicy<AccessControlPolicy 
xmlns="http://s3.amazonaws.com/doc/2006-03-01/";><Owner><ID>665d50d75fd64166b781a53b6ab861a3</ID><DisplayName>alvarotenant</DisplayName></Owner><AccessControlList><Grant><Grantee
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CanonicalUser"><ID>665d50d75fd64166b781a53b6ab861a3</ID><DisplayName>alvarotenant</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy>
2013-07-09 08:07:10.771401 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c01af50 
obj=.rgw:.pools.avail state=0x7fa37c00ff58 s->prefetch_data=0
2013-07-09 08:07:10.771407 7fa3c37eb700 10 cache get: name=.rgw+.pools.avail : 
miss
2013-07-09 08:07:10.772157 7fa3c37eb700 10 cache put: name=.rgw+.pools.avail
2013-07-09 08:07:10.772166 7fa3c37eb700 10 adding .rgw+.pools.avail to cache 
LRU end
2013-07-09 08:07:10.772171 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.772177 7fa3c37eb700 10 moving .rgw+.pools.avail to cache 
LRU end
2013-07-09 08:07:10.772179 7fa3c37eb700 10 cache get: name=.rgw+.pools.avail : 
type miss (requested=1, cached=6)
2013-07-09 08:07:10.772183 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c01af50 
obj=.rgw:.pools.avail state=0x7fa37c00a168 s->prefetch_data=0
2013-07-09 08:07:10.772188 7fa3c37eb700 10 moving .rgw+.pools.avail to cache 
LRU end
2013-07-09 08:07:10.772189 7fa3c37eb700 10 cache get: name=.rgw+.pools.avail : 
hit
2013-07-09 08:07:10.772193 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.772194 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c01af50 
obj=.rgw:.pools.avail state=0x7fa37c00a168 s->prefetch_data=0
2013-07-09 08:07:10.772197 7fa3c37eb700 20 state for obj=.rgw:.pools.avail is 
not atomic, not appending atomic test
2013-07-09 08:07:10.772198 7fa3c37eb700 20 rados->read obj-ofs=0 read_ofs=0 
read_len=524288
2013-07-09 08:07:10.772796 7fa3c37eb700 20 rados->read r=0 bl.length=24
2013-07-09 08:07:10.772813 7fa3c37eb700 10 cache put: name=.rgw+.pools.avail
2013-07-09 08:07:10.772816 7fa3c37eb700 10 moving .rgw+.pools.avail to cache 
LRU end
2013-07-09 08:07:10.812839 7fa3c37eb700 10 removing .rgw+bucket1 from cache
2013-07-09 08:07:10.848923 7fa3c37eb700 20 rgw_create_bucket returned ret=-17 
bucket=bucket1(@.rgw.buckets[5806.1])
2013-07-09 08:07:10.848951 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c00d5c0 
obj=.rgw:bucket1 state=0x7fa37c00a168 s->prefetch_data=0
2013-07-09 08:07:10.848960 7fa3c37eb700 10 cache get: name=.rgw+bucket1 : miss
2013-07-09 08:07:10.850258 7fa3c37eb700 10 cache put: name=.rgw+bucket1
2013-07-09 08:07:10.850270 7fa3c37eb700 10 adding .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.850274 7fa3c37eb700 10 updating xattr: name=user.rgw.acl 
bl.length()=249
2013-07-09 08:07:10.850281 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.850283 7fa3c37eb700 20 Read xattr: user.rgw.acl
2013-07-09 08:07:10.850285 7fa3c37eb700 20 Read xattr: user.rgw.idtag
2013-07-09 08:07:10.850286 7fa3c37eb700 20 Read xattr: user.rgw.manifest
2013-07-09 08:07:10.850291 7fa3c37eb700 10 moving .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.850293 7fa3c37eb700 10 cache get: name=.rgw+bucket1 : type 
miss (requested=1, cached=6)
2013-07-09 08:07:10.850299 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c00d5c0 
obj=.rgw:bucket1 state=0x7fa37c019988 s->prefetch_data=0
2013-07-09 08:07:10.850304 7fa3c37eb700 10 moving .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.850306 7fa3c37eb700 10 cache get: name=.rgw+bucket1 : hit
2013-07-09 08:07:10.850310 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.850312 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c00d5c0 
obj=.rgw:bucket1 state=0x7fa37c019988 s->prefetch_data=0
2013-07-09 08:07:10.850304 7fa3c37eb700 10 moving .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.850306 7fa3c37eb700 10 cache get: name=.rgw+bucket1 : hit
2013-07-09 08:07:10.850310 7fa3c37eb700 20 get_obj_state: s->obj_tag was set 
empty
2013-07-09 08:07:10.850312 7fa3c37eb700 20 get_obj_state: rctx=0x7fa37c00d5c0 
obj=.rgw:bucket1 state=0x7fa37c019988 s->prefetch_data=0
2013-07-09 08:07:10.850315 7fa3c37eb700 20 state for obj=.rgw:bucket1 is not 
atomic, not appending atomic test
2013-07-09 08:07:10.850316 7fa3c37eb700 20 rados->read obj-ofs=0 read_ofs=0 
read_len=524288
2013-07-09 08:07:10.851370 7fa3c37eb700 20 rados->read r=0 bl.length=110
2013-07-09 08:07:10.851386 7fa3c37eb700 10 cache put: name=.rgw+bucket1
2013-07-09 08:07:10.851389 7fa3c37eb700 10 moving .rgw+bucket1 to cache LRU end
2013-07-09 08:07:10.851394 7fa3c37eb700 20 rgw_get_bucket_info: 
bucket=bucket1(@.rgw.buckets[5640.2]) owner 665d50d75fd64166b781a53b6ab861a3
2013-07-09 08:07:10.851406 7fa3c37eb700 15 omap_set bucket=.users.uid 
oid=665d50d75fd64166b781a53b6ab861a3.buckets key=bucket1
2013-07-09 08:07:10.890680 7fa3c37eb700  2 req 1:0.125961:swift:PUT 
/swift/v1/bucket1:create_bucket:http status=201
2013-07-09 08:07:10.891019 7fa3c37eb700  1 ====== req done req=0x28711e0 
http_status=201 ======
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to