Project

General

Profile

Actions

Bug #46807

closed

crash in website tests when returning 404

Added by Yuval Lifshitz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

both in civetweb and beast:

 -26> 2020-07-31T20:03:30.883+0000 7f8570ff9700  1 ====== starting new request req=0x7f867c0c5670 =====
   -25> 2020-07-31T20:03:30.883+0000 7f8570ff9700  2 req 1 0s initializing for trans_id = tx000000000000000000001-005f247912-11bc-default
   -24> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 rgw api priority: s3=-1 s3website=1
   -23> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 host=smithi117.front.sepia.ceph.com
   -22> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0
   -21> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 final domain/bucket subdomain=smithi117.front.sepia.ceph.com domain= in_hosted_domain=1 in_hosted_domain_s3website=1 s->info.domain= s->info.request_uri=/smithi117.front.sepia.ceph.com/
   -20> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 req 1 0s get_handler handler=32RGWHandler_REST_Bucket_S3Website
   -19> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 handler=32RGWHandler_REST_Bucket_S3Website
   -18> 2020-07-31T20:03:30.883+0000 7f8570ff9700  2 req 1 0s getting op 0
   -17> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 req 1 0s s3:get_obj scheduling with dmclock client=2 cost=1
   -16> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 op=28RGWGetObj_ObjStore_S3Website
   -15> 2020-07-31T20:03:30.883+0000 7f8570ff9700  2 req 1 0s s3:get_obj verifying requester
   -14> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 req 1 0s s3:get_obj rgw::auth::StrategyRegistry::s3_main_strategy_t: trying rgw::auth::s3::AWSAuthStrategy
   -13> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 req 1 0s s3:get_obj rgw::auth::s3::AWSAuthStrategy: trying rgw::auth::s3::S3AnonymousEngine
   -12> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 req 1 0s s3:get_obj rgw::auth::s3::S3AnonymousEngine granted access
   -11> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 req 1 0s s3:get_obj rgw::auth::s3::AWSAuthStrategy granted access
   -10> 2020-07-31T20:03:30.883+0000 7f8570ff9700  2 req 1 0s s3:get_obj normalizing buckets and tenants
    -9> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 s->object= s->bucket=smithi117.front.sepia.ceph.com
    -8> 2020-07-31T20:03:30.883+0000 7f8570ff9700  2 req 1 0s s3:get_obj init permissions
    -7> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 get_system_obj_state: rctx=0x7f867c0c3cc0 obj=default.rgw.meta:root:smithi117.front.sepia.ceph.com state=0x7f8450014c10 s->prefetch_data=0
    -6> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 cache get: name=default.rgw.meta+root+smithi117.front.sepia.ceph.com : miss
    -5> 2020-07-31T20:03:30.883+0000 7f8570ff9700 20 WARNING: blocking librados call
    -4> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 cache put: name=default.rgw.meta+root+smithi117.front.sepia.ceph.com info.flags=0x0
    -3> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 adding default.rgw.meta+root+smithi117.front.sepia.ceph.com to cache LRU end
    -2> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 req 1 0s init_permissions on <NULL> failed, ret=-2002
    -1> 2020-07-31T20:03:30.883+0000 7f8570ff9700 10 req 1 0s RGWHandler_REST_S3Website::error_handler err_no=-2002 http_ret=404
     0> 2020-07-31T20:03:30.887+0000 7f8570ff9700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f8570ff9700 thread_name:radosgw

 ceph version 16.0.0-3866-ge940a70df8c (e940a70df8c573e0338d40374e79ea0a064f4d36) pacific (dev)
 1: (()+0x3efd0) [0x7f8692af0fd0]
 2: (RGWBucketWebsiteConf::should_redirect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, RGWBWRoutingRule*)+0x24) [0x7f8693726e84]
 3: (RGWHandler_REST_S3Website::error_handler(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)+0x1d6) [0x7f86936c1196]
 4: (abort_early(req_state*, RGWOp*, int, RGWHandler*)+0x6a) [0x7f869367202a]
 5: (process_request(rgw::sal::RGWRadosStore*, RGWREST*, RGWRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rgw::auth::StrategyRegistry const&, RGWRestfulIO*, OpsLogSocket*, optional_yield, rgw::dmclock::Scheduler*, int*)+0x1617) [0x7f86932695b7]
 6: (()+0x34611c) [0x7f86931e911c]
 7: (()+0x347808) [0x7f86931ea808]
 8: (()+0x347a88) [0x7f86931eaa88]
 9: (make_fcontext()+0x2f) [0x7f86938e9f5f]

http://pulpito.front.sepia.ceph.com/yuvalif-2020-07-31_16:16:13-rgw-wip-yuval-persistent-notif4-distro-basic-smithi/5273450
http://pulpito.front.sepia.ceph.com/yuvalif-2020-07-31_16:16:13-rgw-wip-yuval-persistent-notif4-distro-basic-smithi/5273503

Actions #1

Updated by Daniel Gryniewicz over 3 years ago

  • Pull request ID set to 36381

This is fixed as part of zipper-7

Actions #2

Updated by Daniel Gryniewicz over 3 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Casey Bodley over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF