Project

General

Profile

Actions

Bug #14046

closed

When I get AWS JS API to create buckets, using S3 Browser delete buckets, radosgw crashed

Added by Jiang Yu over 8 years ago. Updated about 8 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When I get AWS JS API to create buckets, using S3 Browser delete buckets, radosgw crashed

2015-12-10 14:36:22.548786 7f01337d6700 15 calculated digest=K5v1mTykJHIWIR1hzFv2YcLumxU=
2015-12-10 14:36:22.548790 7f01337d6700 15 auth_sign=K5v1mTykJHIWIR1hzFv2YcLumxU=
2015-12-10 14:36:22.548792 7f01337d6700 15 compare=0
2015-12-10 14:36:22.548799 7f01337d6700 2 req 121:0.000912:s3:DELETE /new-bucket-15393_06d/:delete_bucket:reading permissions
2015-12-10 14:36:22.548872 7f01337d6700 20 get_obj_state: rctx=0x7f01337d5170 obj=.rgw:d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d state=0x7f00500123b8 s->prefetch_data=0
2015-12-10 14:36:22.548887 7f01337d6700 10 cache get: name=.rgw+d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d : hit
2015-12-10 14:36:22.548905 7f01337d6700 20 get_obj_state: s->obj_tag was set empty
2015-12-10 14:36:22.548911 7f01337d6700 20 Read xattr: user.rgw.idtag
2015-12-10 14:36:22.548913 7f01337d6700 20 Read xattr: user.rgw.manifest
2015-12-10 14:36:22.548920 7f01337d6700 10 cache get: name=.rgw+d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d : hit
2015-12-10 14:36:22.549005 7f01337d6700 20 rgw_get_bucket_info: bucket instance: d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d({i=.rgw.buckets.index,e=.rgw.buckets.extra}.rgw.buckets[default.8096.2])
2015-12-10 14:36:22.549022 7f01337d6700 20 reading from .rgw:.bucket.meta.d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d:default.8096.2
2015-12-10 14:36:22.549083 7f01337d6700 20 get_obj_state: rctx=0x7f01337d5170 obj=.rgw:.bucket.meta.d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d:default.8096.2 state=0x7f0050013328 s->prefetch_data=0
2015-12-10 14:36:22.549098 7f01337d6700 10 cache get: name=.rgw+.bucket.meta.d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d:default.8096.2 : hit
2015-12-10 14:36:22.549120 7f01337d6700 20 get_obj_state: s->obj_tag was set empty
2015-12-10 14:36:22.549126 7f01337d6700 20 Read xattr: user.rgw.acl
2015-12-10 14:36:22.549129 7f01337d6700 20 Read xattr: user.rgw.idtag
2015-12-10 14:36:22.549130 7f01337d6700 20 Read xattr: user.rgw.manifest
2015-12-10 14:36:22.549137 7f01337d6700 10 cache get: name=.rgw+.bucket.meta.d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d:default.8096.2 : hit
2015-12-10 14:36:22.549211 7f01337d6700 15 Read AccessControlPolicy<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>d47b4503abf441eb90779150b20393b4</ID><DisplayName>test</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>d47b4503abf441eb90779150b20393b4</ID><DisplayName>test</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy>
2015-12-10 14:36:22.549231 7f01337d6700 2 req 121:0.001345:s3:DELETE /new-bucket-15393_06d/:delete_bucket:init op
2015-12-10 14:36:22.549239 7f01337d6700 2 req 121:0.001353:s3:DELETE /new-bucket-15393_06d/:delete_bucket:verifying op mask
2015-12-10 14:36:22.549244 7f01337d6700 20 required_mask= 4 user.op_mask=7
2015-12-10 14:36:22.549247 7f01337d6700 2 req 121:0.001361:s3:DELETE /new-bucket-15393_06d/:delete_bucket:verifying op permissions
2015-12-10 14:36:22.549251 7f01337d6700 5 Searching permissions for uid=d47b4503abf441eb90779150b20393b4 mask=50
2015-12-10 14:36:22.549255 7f01337d6700 5 Found permission: 15
2015-12-10 14:36:22.549257 7f01337d6700 5 Searching permissions for group=1 mask=50
2015-12-10 14:36:22.549259 7f01337d6700 5 Permissions for group not found
2015-12-10 14:36:22.549260 7f01337d6700 5 Searching permissions for group=2 mask=50
2015-12-10 14:36:22.549262 7f01337d6700 5 Permissions for group not found
2015-12-10 14:36:22.549263 7f01337d6700 5 Getting permissions id=d47b4503abf441eb90779150b20393b4 owner=d47b4503abf441eb90779150b20393b4 perm=2
2015-12-10 14:36:22.549265 7f01337d6700 10 uid=d47b4503abf441eb90779150b20393b4 requested perm (type)=2, policy perm=2, user_perm_mask=2, acl perm=2
2015-12-10 14:36:22.549269 7f01337d6700 2 req 121:0.001384:s3:DELETE /new-bucket-15393_06d/:delete_bucket:verifying op params
2015-12-10 14:36:22.549274 7f01337d6700 2 req 121:0.001389:s3:DELETE /new-bucket-15393_06d/:delete_bucket:executing
2015-12-10 14:36:22.549305 7f01337d6700 10 cls_bucket_list d47b4503abf441eb90779150b20393b4_new-bucket-15393_06d(
{i=.rgw.buckets.index,e=.rgw.buckets.extra}.rgw.buckets[default.8096.2]) start num 1000
2015-12-10 14:36:22.552417 7f01337d6700 -1 ** Caught signal (Segmentation fault) *
in thread 7f01337d6700

ceph version 0.80.10 (ea6c958c38df1216bf95c927f143d8b13c4a9e70)
1: (ceph::BackTrace::BackTrace(int)+0x2d) [0x733d07]
2: /usr/bin/radosgw() [0x7333fc]
3: (()+0x10340) [0x7f01b3392340]
4: [0x7f00ac02b5d0]
NOTE: a copy of the executable, or `objdump -rdS &lt;executable&gt;` is needed to interpret this.
Actions #1

Updated by Samuel Just over 8 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
Actions #2

Updated by Yehuda Sadeh over 8 years ago

can you reproduce the issue using the debug packages? The backtrace here doesn't provide any interesting info

Actions #3

Updated by Yehuda Sadeh over 8 years ago

also if you could add 'debug ms = 1' it would help.

Actions #4

Updated by Yehuda Sadeh over 8 years ago

  • Priority changed from Normal to High
Actions #5

Updated by Jiang Yu over 8 years ago

Our programmers reproduction does not come out, may not be correct to use aws sdk

Actions #6

Updated by Yehuda Sadeh about 8 years ago

  • Status changed from New to Can't reproduce

That was firefly, sadly no backtrace. Closing, can reopen if there's more info.

Actions

Also available in: Atom PDF