Integrating Ceph RGW 12.2.2 with OpenStack

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

 



Hi ceph-users!

I'm trying to integrate Swift in OpenStack with ceph rgw(12.2.2) as a backend.

I'm facing problem with creating bucket. I see return code -34. Has anybody similiar issue? My config and log below.

ceph.conf

rgw keystone verify ssl = false
rgw keystone accepted roles = Member, _member_, admin
rgw keystone admin domain = default
rgw keystone admin project = service
rgw keystone admin user = swift
rgw keystone admin password = password
rgw keystone api version = 3
rgw keystone revocation interval = 0
rgw keystone token cache size = 10000
rgw keystone url = https://ip_address:5000
rgw s3 auth use keystone = true

Log from rgw

2017-12-18 15:44:41.627043 7f065499c700  0 validated token: admin:admin expires: 1513615480 2017-12-18 15:44:41.627070 7f065499c700 20 rgw::auth::keystone::TokenEngine granted access 2017-12-18 15:44:41.627087 7f065499c700 20 get_system_obj_state: rctx=0x7f0654994140 obj=default.rgw.meta:users.uid:06b25e10c29c4e5aa725f545df5e2dd8$06b25e10c29c4e5aa725f545df5e2dd8 state=0x56175a9aeba0 s->prefetch_data=0 2017-12-18 15:44:41.627104 7f065499c700 10 cache get: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8$06b25e10c29c4e5aa725f545df5e2dd8 : miss 2017-12-18 15:44:41.627144 7f065499c700 10 librados: getxattrs oid=06b25e10c29c4e5aa725f545df5e2dd8$06b25e10c29c4e5aa725f545df5e2dd8 nspace=users.uid 2017-12-18 15:44:41.628089 7f065499c700 10 librados: Objecter returned from getxattrs r=-2 2017-12-18 15:44:41.628112 7f065499c700 10 cache put: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8$06b25e10c29c4e5aa725f545df5e2dd8 info.flags=0x0 2017-12-18 15:44:41.628119 7f065499c700 10 adding default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8$06b25e10c29c4e5aa725f545df5e2dd8 to cache LRU end 2017-12-18 15:44:41.628130 7f065499c700 20 get_system_obj_state: rctx=0x7f0654994140 obj=default.rgw.meta:users.uid:06b25e10c29c4e5aa725f545df5e2dd8 state=0x56175a9aeba0 s->prefetch_data=0 2017-12-18 15:44:41.628135 7f065499c700 10 cache get: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 : miss 2017-12-18 15:44:41.628146 7f065499c700 10 librados: getxattrs oid=06b25e10c29c4e5aa725f545df5e2dd8 nspace=users.uid 2017-12-18 15:44:41.628753 7f065499c700 10 librados: Objecter returned from getxattrs r=0 2017-12-18 15:44:41.628764 7f065499c700 10 cache put: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 info.flags=0x6 2017-12-18 15:44:41.628779 7f065499c700 10 adding default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 to cache LRU end 2017-12-18 15:44:41.628784 7f065499c700 20 get_system_obj_state: s->obj_tag was set empty 2017-12-18 15:44:41.628787 7f065499c700 10 cache get: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 : type miss (requested=0x1, cached=0x6)
2017-12-18 15:44:41.628791 7f065499c700 20 rados->read ofs=0 len=524288
2017-12-18 15:44:41.628800 7f065499c700 10 librados: read oid=06b25e10c29c4e5aa725f545df5e2dd8 nspace=users.uid 2017-12-18 15:44:41.629289 7f065499c700 10 librados: Objecter returned from read r=0
2017-12-18 15:44:41.629296 7f065499c700 20 rados->read r=0 bl.length=232
2017-12-18 15:44:41.629312 7f065499c700 10 cache put: name=default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 info.flags=0x1 2017-12-18 15:44:41.629314 7f065499c700 10 moving default.rgw.meta+users.uid+06b25e10c29c4e5aa725f545df5e2dd8 to cache LRU end 2017-12-18 15:44:41.629336 7f065499c700  2 req 1:0.854982:swift:PUT /swift/v1/asd:create_bucket:normalizing buckets and tenants
2017-12-18 15:44:41.629342 7f065499c700 10 s->object=<NULL> s->bucket=asd
2017-12-18 15:44:41.629348 7f065499c700  2 req 1:0.854994:swift:PUT /swift/v1/asd:create_bucket:init permissions 2017-12-18 15:44:41.629351 7f065499c700  2 req 1:0.854997:swift:PUT /swift/v1/asd:create_bucket:recalculating target
2017-12-18 15:44:41.629353 7f065499c700 10 Starting retarget
2017-12-18 15:44:41.629361 7f065499c700  2 req 1:0.855008:swift:PUT /swift/v1/asd:create_bucket:reading permissions 2017-12-18 15:44:41.629366 7f065499c700  2 req 1:0.855010:swift:PUT /swift/v1/asd:create_bucket:init op 2017-12-18 15:44:41.629368 7f065499c700  2 req 1:0.855014:swift:PUT /swift/v1/asd:create_bucket:verifying op mask
2017-12-18 15:44:41.629370 7f065499c700 20 required_mask= 2 user.op_mask=7
2017-12-18 15:44:41.629371 7f065499c700  2 req 1:0.855017:swift:PUT /swift/v1/asd:create_bucket:verifying op permissions 2017-12-18 15:44:41.629388 7f065499c700 10 librados: call oid=06b25e10c29c4e5aa725f545df5e2dd8.buckets nspace=users.uid 2017-12-18 15:44:41.629913 7f065499c700 10 librados: Objecter returned from call r=-2 2017-12-18 15:44:41.629924 7f065499c700  2 req 1:0.855570:swift:PUT /swift/v1/asd:create_bucket:verifying op params 2017-12-18 15:44:41.629927 7f065499c700  2 req 1:0.855573:swift:PUT /swift/v1/asd:create_bucket:pre-executing 2017-12-18 15:44:41.629929 7f065499c700  2 req 1:0.855575:swift:PUT /swift/v1/asd:create_bucket:executing 2017-12-18 15:44:41.629964 7f065499c700 20 get_system_obj_state: rctx=0x7f0654994e80 obj=default.rgw.meta:root:asd state=0x56175a9aeba0 s->prefetch_data=0 2017-12-18 15:44:41.629973 7f065499c700 10 cache get: name=default.rgw.meta+root+asd : miss 2017-12-18 15:44:41.629988 7f065499c700 10 librados: call oid=asd nspace=root 2017-12-18 15:44:41.630585 7f065499c700 10 librados: Objecter returned from call r=-2 2017-12-18 15:44:41.630595 7f065499c700 10 cache put: name=default.rgw.meta+root+asd info.flags=0x0 2017-12-18 15:44:41.630600 7f065499c700 10 adding default.rgw.meta+root+asd to cache LRU end 2017-12-18 15:44:42.642525 7f065499c700 20 rgw_create_bucket returned ret=-34 bucket=asd[cc6a5270-ae82-4e9f-a9bf-7edd2b5012ee.35169688.1]) 2017-12-18 15:44:42.642533 7f065499c700  2 req 1:1.868179:swift:PUT /swift/v1/asd:create_bucket:completing 2017-12-18 15:44:42.642558 7f065499c700 30 AccountingFilter::send_status: e=0, sent=46, total=0 2017-12-18 15:44:42.642562 7f065499c700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2017-12-18 15:44:42.642565 7f065499c700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2017-12-18 15:44:42.642578 7f065499c700 30 AccountingFilter::send_content_length: e=0, sent=20, total=0 2017-12-18 15:44:42.642581 7f065499c700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2017-12-18 15:44:42.642583 7f065499c700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2017-12-18 15:44:42.642620 7f065499c700 30 AccountingFilter::complete_header: e=0, sent=242, total=0 2017-12-18 15:44:42.642632 7f065499c700 30 AccountingFilter::set_account: e=1 2017-12-18 15:44:42.642642 7f065499c700 30 AccountingFilter::send_body: e=1, sent=12, total=0 2017-12-18 15:44:42.642679 7f065499c700 30 AccountingFilter::complete_request: e=1, sent=0, total=12 2017-12-18 15:44:42.642695 7f065499c700  2 req 1:1.868341:swift:PUT /swift/v1/asd:create_bucket:op status=-34 2017-12-18 15:44:42.642699 7f065499c700  2 req 1:1.868345:swift:PUT /swift/v1/asd:create_bucket:http status=416 2017-12-18 15:44:42.642706 7f065499c700  1 ====== req done req=0x7f06549961f0 op status=-34 http_status=416 ======
2017-12-18 15:44:42.642716 7f065499c700 20 process_request() returned -34

During debugging i see that "int RGWRados::init_bucket_index(RGWBucketInfo& bucket_info, int num_shards)" function return -34.

Is it known bug or I have some wrong parameters in configuration?

--
BR,

Rafał Wądołowski

_______________________________________________
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