Actions
Bug #71479
closed
CB
CB
blocking operations in bucket logging
Bug #71479:
blocking operations in bucket logging
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
bucket-logging s3
Merge Commit:
Fixed In:
v20.3.0-1098-g6771fb5555
Released In:
v21.2.0~2672
Upkeep Timestamp:
2026-10-24T01:39:35+00:00
Description
s3-tests is mostly passing when rgw_asio_assert_yielding is enabled, but fails on bucket logging tests
~/ceph/build $ MON=1 OSD=1 RGW=1 MDS=0 MGR=0 ../src/vstart.sh -n -d -o 'rgw asio assert yielding = 1'
s3tests_boto3/functional/test_s3.py::test_post_object_upload_checksum PASSED [ 89%] s3tests_boto3/functional/test_s3.py::test_put_bucket_logging PASSED [ 89%] s3tests_boto3/functional/test_s3.py::test_bucket_logging_key_filter_s FAILED [ 89%] s3tests_boto3/functional/test_s3.py::test_bucket_logging_key_filter_s ERROR [ 89%] s3tests_boto3/functional/test_s3.py::test_bucket_logging_key_filter_j ERROR [ 89%] s3tests_boto3/functional/test_s3.py::test_bucket_logging_flush_j ERROR [ 90%] s3tests_boto3/functional/test_s3.py::test_bucket_logging_flush_s ERROR [ 90%]
-6> 2025-05-28T10:53:39.707-0400 7f6a26c496c0 2 req 11781957135009518477 0.001000037s s3:post_bucket_logging verifying op params
-5> 2025-05-28T10:53:39.707-0400 7f6a26c496c0 2 req 11781957135009518477 0.001000037s s3:post_bucket_logging pre-executing
-4> 2025-05-28T10:53:39.707-0400 7f6a26c496c0 2 req 11781957135009518477 0.001000037s s3:post_bucket_logging check rate limiting
-3> 2025-05-28T10:53:39.707-0400 7f6a26c496c0 2 req 11781957135009518477 0.001000037s s3:post_bucket_logging executing
-2> 2025-05-28T10:53:39.707-0400 7f6a26c496c0 10 req 11781957135009518477 0.001000037s s3:post_bucket_logging cache get: name=default.rgw.buckets.data++logging..bucket.f4e3f7ca-622f-4d79-a6db-7bc4052f74ab.4179.544/log/ : hit (requested=0x11, cached=0x13)
-1> 2025-05-28T10:53:39.714-0400 7f6a26c496c0 -1 /home/cbodley/ceph/src/rgw/rgw_asio_thread.cc: In function 'void maybe_warn_about_blocking(const DoutPrefixProvider*)' thread 7f6a26c496c0 time 2025-05-28T10:53:39.707979-0400
/home/cbodley/ceph/src/rgw/rgw_asio_thread.cc: 33: FAILED ceph_assert(!conf->rgw_asio_assert_yielding)
ceph version Development (no_version) tentacle (dev - Debug)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x11d) [0x7f6aa6091309]
2: (ceph::__ceph_assert_fail(ceph::assert_data const&)+0x17) [0x7f6aa609160d]
3: /home/cbodley/ceph/build/bin/radosgw(+0x1cfeda) [0x564355e0feda]
4: (maybe_warn_about_blocking(DoutPrefixProvider const*)+0xbd) [0x564355e1005e]
5: (rgw_rados_operate(DoutPrefixProvider const*, librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, librados::v14_2_0::ObjectWriteOperation&&, optional_yield, int, opentelemetry::v1::trace::SpanContext const*, unsigned long*)+0x21f) [0x564356187435]
6: (RGWSI_SysObj_Core::write(DoutPrefixProvider const*, rgw_raw_obj const&, std::chrono::time_point<ceph::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::v15_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::v15_2_0::list> > >&, bool, ceph::buffer::v15_2_0::list const&, RGWObjVersionTracker*, std::chrono::time_point<ceph::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >, optional_yield)+0x323) [0x56435626e771]
7: (RGWSI_SysObj_Cache::write(DoutPrefixProvider const*, rgw_raw_obj const&, std::chrono::time_point<ceph::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::v15_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::v15_2_0::list> > >&, bool, ceph::buffer::v15_2_0::list const&, RGWObjVersionTracker*, std::chrono::time_point<ceph::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >, optional_yield)+0x141) [0x56435626750d]
8: (RGWSI_SysObj::Obj::WOp::write(DoutPrefixProvider const*, ceph::buffer::v15_2_0::list&, optional_yield)+0x35) [0x5643562645c9]
9: (rgw_put_system_obj(DoutPrefixProvider const*, RGWSI_SysObj*, rgw_pool const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ceph::buffer::v15_2_0::list&, bool, RGWObjVersionTracker*, std::chrono::time_point<ceph::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >, optional_yield, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ceph::buffer::v15_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::v15_2_0::list> > > const*)+0x145) [0x5643561880f6]
10: (rgw::sal::RadosBucket::set_logging_object_name(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&, optional_yield, DoutPrefixProvider const*, bool, RGWObjVersionTracker*)+0x2e7) [0x564356138cb5]
11: (rgw::bucketlogging::new_logging_object(rgw::bucketlogging::configuration const&, std::unique_ptr<rgw::sal::Bucket, std::default_delete<rgw::sal::Bucket> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, DoutPrefixProvider const*, optional_yield, bool, RGWObjVersionTracker*)+0x1f7) [0x56435607e757]
12: (rgw::bucketlogging::rollover_logging_object(rgw::bucketlogging::configuration const&, std::unique_ptr<rgw::sal::Bucket, std::default_delete<rgw::sal::Bucket> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, DoutPrefixProvider const*, optional_yield, bool, RGWObjVersionTracker*)+0x2a6) [0x56435607f849]
13: (RGWPostBucketLoggingOp::execute(optional_yield)+0x222) [0x564356092984]
14: (rgw_process_authenticated(RGWHandler_REST*, RGWOp*&, RGWRequest*, req_state*, optional_yield, rgw::sal::Driver*, bool)+0xad5) [0x564355d33106]
15: (process_request(RGWProcessEnv const&, RGWRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RGWRestfulIO*, optional_yield, rgw::dmclock::Scheduler*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*, int*)+0x13a6) [0x564355d349f9]
16: /home/cbodley/ceph/build/bin/radosgw(+0x4150f) [0x564355c8150f]
17: /home/cbodley/ceph/build/bin/radosgw(+0x42192) [0x564355c82192]
18: /home/cbodley/ceph/build/bin/radosgw(+0x42318) [0x564355c82318]
19: /home/cbodley/ceph/build/bin/radosgw(+0x42540) [0x564355c82540]
20: /home/cbodley/ceph/build/bin/radosgw(+0x42685) [0x564355c82685]
21: /home/cbodley/ceph/build/bin/radosgw(+0x427fb) [0x564355c827fb]
22: /home/cbodley/ceph/build/bin/radosgw(+0x428cc) [0x564355c828cc]
23: /home/cbodley/ceph/build/bin/radosgw(+0xb9e01f) [0x5643567de01f]
CB Updated by Casey Bodley over 1 year ago
- Status changed from New to Fix Under Review
- Assignee set to Casey Bodley
- Pull request ID set to 63561
- Tags (freeform) set to bucket-logging s3
JI Updated by J. Eric Ivancich over 1 year ago
- Status changed from Fix Under Review to Resolved
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 6771fb55550be2d677fb708f510ce56ddf79c48e
- Fixed In set to v20.3.0-1098-g6771fb55550
- Upkeep Timestamp set to 2025-07-08T18:23:33+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.3.0-1098-g6771fb55550 to v20.3.0-1098-g6771fb5555
- Upkeep Timestamp changed from 2025-07-08T18:23:33+00:00 to 2025-07-14T17:09:58+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~2672
- Upkeep Timestamp changed from 2025-07-14T17:09:58+00:00 to 2026-10-24T01:39:35+00:00
Actions