RGW pod crashing with Segmentation Fault while resharding a bucket in an OCS 4 cluster.

Solution Verified - Updated -

Issue

  • RGW pod crashing with Segmentation Fault while resharding a bucket in an OCS 4 cluster.

  • RGW pod crashing with following stack trace

    *** Caught signal (Segmentation fault) **
     in thread 7f16ab942700 thread_name:rgw_reshard
     ceph version 14.2.4-69.el8cp (8d72f97ca776c758a7ce0009959ca3044cd0b9c2) nautilus (stable)
     1: (()+0x12dc0) [0x7f16d7c54dc0]
     2: (rgw_get_system_obj(RGWRados*, RGWSysObjectCtx&, rgw_pool const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::v14_2_0::list&, RGWObjVersionTracker*, std::chrono::time_point<ceph::time_detail::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v14_2_0::list> > >*, rgw_cache_entry_info*, boost::optional<obj_version>)+0xb3) [0x555f3d87eb73]
     3: (RGWRados::get_bucket_entrypoint_info(RGWSysObjectCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RGWBucketEntryPoint&, RGWObjVersionTracker*, std::chrono::time_point<ceph::time_detail::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v14_2_0::list, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ceph::buffer::v14_2_0::list> > >*, rgw_cache_entry_info*, boost::optional<obj_version>)+0x16f) [0x555f3d7e12df]
     4: (rgw_link_bucket(RGWRados*, rgw_user const&, rgw_bucket&, std::chrono::time_point<ceph::time_detail::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >, bool, rgw_ep_info*)+0x802) [0x555f3d5db7c2]
     5: (RGWBucketReshard::do_reshard(int, RGWBucketInfo&, int, bool, std::ostream*, ceph::Formatter*)+0x1a71) [0x555f3d741471]
     6: (RGWBucketReshard::execute(int, int, bool, std::ostream*, ceph::Formatter*, RGWReshard*)+0x550) [0x555f3d742020]
     7: (RGWReshard::process_single_logshard(int)+0x301) [0x555f3d742ce1]
     8: (RGWReshard::process_all_logshards()+0x198) [0x555f3d743fd8]
     9: (RGWReshard::ReshardWorker::entry()+0x249) [0x555f3d744379]
     10: (()+0x82de) [0x7f16d7c4a2de]
     11: (clone()+0x43) [0x7f16d704c133]
     in thread 7f16ab942700 thread_name:rgw_reshard
    

Environment

  • Red Hat OpenShift Container Storage 4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content