Actions
Bug #74203
open
JP
crimson::PipelineHandle::enter_maybe_sync(): Assertion `stage.core == seastar::this_shard_id()' failed
Bug #74203:
crimson::PipelineHandle::enter_maybe_sync(): Assertion `stage.core == seastar::this_shard_id()' failed
Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:
0%
Source:
Q/A
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Tags:
Description
- First seen in https://pulpito.ceph.com/jjperez-2025-12-11_15:57:53-crimson-rados-wip-perezjos-crimson-only-11-12-2025-PR66368-distro-crimson-debug-smithi/8651429
- osd.1:
- Note the timestamp of the backtrace is 2 mins after the reported blocking event assert:
DEBUG 2025-12-11 17:13:09,175 [shard 1:main] osd - OSD::handle_peering_op: 2.1 from 0 DEBUG 2025-12-11 17:13:09,175 [shard 1:main] osd - peering_event(id=16777293, detail=PeeringEvent(from=0 pgid=2.1 sent=323 requested=323 evt=epoch_sent: 323 epoch_requested: 323 MNotifyRec 2.1 from 0 notify: (query:323 sent:323 2.1( empty local-lis/les=311/313 n=0 ec=15/15 lis/c=301/301 les/c/f=302/302/0 sis=323 pruub=15.681703568s) ([301,322] all_participants={0, 1, 3} intervals=[([311,317] acting={0, 1, 3})])) features: 0x3f07fffffffdffff +create_info)): starting start_pg_operation DEBUG 2025-12-11 17:13:09,175 [shard 2:main] seastore_t - TransactionManager::flush: H0x7c622833fef8 start ceph-osd: /ceph/rpmbuild/BUILD/ceph-20.3.0-4516-ge80b1668/src/crimson/common/operation.h:560: std::optional<seastar::future<> > crimson::PipelineHandle::enter_maybe_sync(T&, typename T::BlockingEvent::Trigger<OpT>&&) [with OpT = crimson::osd::RemotePeeringEvent; T = crimson::osd::ConnectionPipeline::AwaitActive; typename T::BlockingEvent::Trigger<OpT> = crimson::BlockerT<crimson::osd::ConnectionPipeline::AwaitActive>::BlockingEvent::Trigger<crimson::osd::RemotePeeringEvent>; typename T::BlockingEvent = crimson::BlockerT<crimson::osd::ConnectionPipeline::AwaitActive>::BlockingEvent]: Assertion `stage.core == seastar::this_shard_id()' failed. ERROR 2025-12-11 17:13:09,175 [shard 1:main] osd - Aborting Got SIGABRT on shard 1 - Stopping all shards Aborting Got SIGABRT on shard 1 - Stopping all shardsDEBUG 2025-12-11 17:13:09,175 [shard 2:main] seastore_journal - SegmentedJournal::flush: H0x7c622833fef8 flush ... ERROR 2025-12-11 17:15:34,656 [shard 1:main] osd - Got SIGABRT on shard 1 Backtrace: 0# 0x00007FF22883EA60 in /lib64/libc.so.6 1# 0x00007FF22888C0FC in /lib64/libc.so.6 2# raise in /lib64/libc.so.6 3# abort in /lib64/libc.so.6 4# 0x00007FF22882875B in /lib64/libc.so.6 5# 0x00007FF2288376F6 in /lib64/libc.so.6 6# std::optional<seastar::future<void> > crimson::PipelineHandle::enter_maybe_sync<crimson::osd::RemotePeeringEvent, crimson::osd::ConnectionPipeline::AwaitActive>(crimson::osd::ConnectionPipeline::AwaitActive&, crimson::osd::ConnectionPipeline::AwaitActive::BlockingEvent::Trigger<crimson::osd::RemotePeeringEvent>&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/common/operation.h:561 (discriminator 1) 7# std::_Optional_base_impl<seastar::future<void>, std::_Optional_base<seastar::future<void>, false, false> >::_M_is_engaged() const at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/optional:473 8# auto crimson::osd::PhasedOperationT<crimson::osd::RemotePeeringEvent>::enter_stage<void, crimson::osd::ConnectionPipeline::AwaitActive>(crimson::osd::ConnectionPipeline::AwaitActive&)::{lambda(auto:1&&)#1}::operator()<crimson::BlockerT<crimson::osd::ConnectionPipeline::AwaitActive>::BlockingEvent::Trigger<crimson::osd::RemotePeeringEvent> >(crimson::BlockerT<crimson::osd::ConnectionPipeline::AwaitActive>::BlockingEvent::Trigger<crimson::osd::RemotePeeringEvent>&&) const at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd_operation.h:303 9# auto crimson::osd::TrackableOperationT<crimson::osd::RemotePeeringEvent>::with_blocking_event<crimson::BlockerT<crimson::osd::ConnectionPipeline::AwaitActive>::BlockingEvent, void, crimson::osd::PhasedOperationT<crimson::osd::RemotePeeringEvent>::enter_stage<void, crimson::osd::ConnectionPipeline::AwaitActive>(crimson::osd::ConnectionPipeline::AwaitActive&)::{lambda(auto:1&&)#1}>(crimson::osd::PhasedOperationT<crimson::osd::RemotePeeringEvent>::enter_stage<void, crimson::osd::ConnectionPipeline::AwaitActive>(crimson::osd::ConnectionPipeline::AwaitActive&)::{lambda(auto:1&&)#1}&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd_operation.h:269 (discriminator 1) 10# auto crimson::osd::PhasedOperationT<crimson::osd::RemotePeeringEvent>::enter_stage<void, crimson::osd::ConnectionPipeline::AwaitActive>(crimson::osd::ConnectionPipeline::AwaitActive&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd_operation.h:300 11# auto crimson::osd::PGShardManager::start_pg_operation<crimson::osd::RemotePeeringEvent, crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >&, pg_shard_t, spg_t, PGPeeringEvent>(crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >&, pg_shard_t&&, spg_t&&, PGPeeringEvent&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/pg_shard_manager.h:376 12# crimson::osd::OSD::handle_peering_op(crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >, boost::intrusive_ptr<MOSDPeeringOp>) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd.cc:1701 13# crimson::osd::OSD::do_ms_dispatch(crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >, boost::intrusive_ptr<Message>) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd.cc:985 (discriminator 2) 14# crimson::osd::OSD::ms_dispatch(crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >, boost::intrusive_ptr<Message>) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/osd/osd.cc:905 (discriminator 5) 15# crimson::net::ChainedDispatchers::ms_dispatch(crimson::local_shared_foreign_ptr<seastar::shared_ptr<crimson::net::Connection> >, boost::intrusive_ptr<Message>) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/net/chained_dispatchers.cc:20 (discriminator 2) 16# auto crimson::net::IOHandler::read_message(crimson::net::IOHandler::shard_states_t&, utime_t, unsigned long)::{lambda(auto:1)#1}::operator()<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*) const [clone .lto_priv.0] at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/crimson/net/io_handler.cc:1111 (discriminator 5) 21# auto seastar::futurize_invoke<crimson::net::IOHandler::read_message(crimson::net::IOHandler::shard_states_t&, utime_t, unsigned long)::{lambda(auto:1)#1}, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(crimson::net::IOHandler::read_message(crimson::net::IOHandler::shard_states_t&, utime_t, unsigned long)::{lambda(auto:1)#1}&&, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:2036 22# _ZZN7seastar6futureIPN5boost9container13static_vectorIN4ceph6buffer7v15_2_04listELm4EvEEE4thenIZN7crimson3net9IOHandler12read_messageERNSE_14shard_states_tE7utime_tmEUlT_E_NS0_IvEEEET0_OSI_ENUlDpOT_E_clIJS9_EEEDaSP_.lto_priv.0 at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:1373 23# _ZN7seastar20noncopyable_functionIFNS_6futureIvEEOPN5boost9container13static_vectorIN4ceph6buffer7v15_2_04listELm4EvEEEE17direct_vtable_forIZNS1_ISB_E4thenIZN7crimson3net9IOHandler12read_messageERNSK_14shard_states_tE7utime_tmEUlT_E_S2_EET0_OSO_EUlDpOT_E_E4callEPKSE_SC_ at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/util/noncopyable_function.hh:139 24# seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>::operator()(boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) const at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/util/noncopyable_function.hh:225 25# seastar::future<void> std::__invoke_impl<seastar::future<void>, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(std::__invoke_other, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/bits/invoke.h:61 26# std::__invoke_result<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::type std::__invoke<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/bits/invoke.h:98 27# std::invoke_result<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::type std::invoke<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/functional:115 28# auto seastar::internal::future_invoke<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:1136 29# seastar::future<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::then_impl_nrvo<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, seastar::future<void> >(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&)::{lambda(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&)#1}::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&) const::{lambda()#1}::operator()() const at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:1429 30# void seastar::futurize<seastar::future<void> >::satisfy_with_result_of<seastar::future<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::then_impl_nrvo<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, seastar::future<void> >(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&)::{lambda(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&)#1}::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&) const::{lambda()#1}>(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:1989 (discriminator 1) 31# seastar::future<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::then_impl_nrvo<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, seastar::future<void> >(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&)::{lambda(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&)#1}::operator()(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&) const at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:1425 32# seastar::continuation<seastar::internal::promise_base_with_type<void>, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, seastar::future<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::then_impl_nrvo<seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>, seastar::future<void> >(seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&)::{lambda(seastar::internal::promise_base_with_type<void>&&, seastar::noncopyable_function<seastar::future<void> (boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*&&)>&&, seastar::future_state<boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>&&)#1}, boost::container::static_vector<ceph::buffer::v15_2_0::list, 4ul, void>*>::run_and_dispose() at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/include/seastar/core/future.hh:731 (discriminator 4) 33# seastar::reactor::task_queue::run_tasks() at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/reactor.cc:2667 34# seastar::reactor::task_queue_group::run_tasks() at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/reactor.cc:3173 (discriminator 1) 35# seastar::reactor::task_queue_group::run_some_tasks() at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/reactor.cc:3159 36# seastar::reactor::do_run() at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/reactor.cc:3330 (discriminator 1) 37# seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::{lambda()#2}::operator()() const at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/reactor.cc:4626 (discriminator 2) 38# std::_Function_handler<void (), seastar::smp::configure(seastar::smp_options const&, seastar::reactor_options const&)::{lambda()#2}>::_M_invoke(std::_Any_data const&) at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/bits/std_function.h:292 39# std::function<void ()>::operator()() const at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/bits/std_function.h:592 40# seastar::posix_thread::start_routine(void*) at /usr/src/debug/ceph-20.3.0-4516.ge80b1668.el9.x86_64/src/seastar/src/core/posix.cc:92 41# 0x00007FF22AC2A58A in /lib64/libasan.so.8 42# 0x00007FF22888A3B2 in /lib64/libc.so.6
MB Updated by Matan Breizman 12 months ago
- Tags changed from crimson, UnmergedPRs to crimson
- Priority changed from Normal to High
Thank you for the tracker Jose!
For context, We've recently bumped the number of reactors in testing.. This probably gave rise to issues like this. I'll mark the last occurrences as related for easier debugging.
MB Updated by Matan Breizman 12 months ago
- Related to Bug #74084: osd is aborted with msg "The pg mapping is inconsistent!" added
MB Updated by Matan Breizman 12 months ago
- Related to Bug #74085: crimson::mgr::Client::ms_handle_connect assert ceph_assert_always(prv_shard == seastar::this_shard_id()); added
MB Updated by Matan Breizman 7 months ago
- Has duplicate Bug #76657: Crimson: wrong core added
Actions