Project

General

Profile

Actions

Bug #7512

closed

osd/PG.cc: 5279: FAILED assert(0 == "we got a bad state machine event")

Added by Samuel Just about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

OSD::project_pg_history needs to take into account up_primary/acting_primary -- testing.

2014-02-22 01:48:56.318063 7f93711cb700 10 log is not dirty
2014-02-22 01:48:56.318066 7f93711cb700 10 osd.3 565 queue_want_up_thru want 565 <= queued 565, currently 562
2014-02-22 01:48:56.319027 7f93709ca700 -1 osd/PG.cc: In function 'PG::RecoveryState::Crashed::Crashed(boost::statechart::state<PG::RecoveryState::Crashed, PG::RecoveryState::RecoveryMachine>::my_context)' thread 7f93709ca700 time 2014-02-22 01:48:56.316363
osd/PG.cc: 5279: FAILED assert(0 == "we got a bad state machine event")

ceph version 0.77-497-gcfdb527 (cfdb527de22bc3a618ef8eb83f4032ad5ae74bde)
1: (PG::RecoveryState::Crashed::Crashed(boost::statechart::state&lt;PG::RecoveryState::Crashed, PG::RecoveryState::RecoveryMachine, boost::mpl::list&lt;mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na&gt;, (boost::statechart::history_mode)0>::my_context)+0xdf) [0x7e7e4f]
2: ceph-osd() [0x814996]
3: (boost::statechart::detail::reaction_result boost::statechart::simple_state&lt;PG::RecoveryState::Started, PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Start, (boost::statechart::history_mode)0&gt;::local_react_impl_non_empty::local_react_impl&lt;boost::mpl::list2&lt;boost::statechart::custom_reaction&lt;PG::FlushedEvt&gt;, boost::statechart::transition&lt;boost::statechart::event_base, PG::RecoveryState::Crashed, boost::statechart::detail::no_context&lt;boost::statechart::event_base&gt;, &(boost::statechart::detail::no_context&lt;boost::statechart::event_base&gt;::no_function(boost::statechart::event_base const&))> >, boost::statechart::simple_state&lt;PG::RecoveryState::Started, PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Start, (boost::statechart::history_mode)0&gt; >(boost::statechart::simple_state&lt;PG::RecoveryState::Started, PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Start, (boost::statechart::history_mode)0&gt;&, boost::statechart::event_base const&, void const*)+0xc3) [0x83c533]
4: (boost::statechart::simple_state&lt;PG::RecoveryState::Started, PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Start, (boost::statechart::history_mode)0&gt;::react_impl(boost::statechart::event_base const&, void const*)+0xc0) [0x83c690]
5: (boost::statechart::simple_state&lt;PG::RecoveryState::Primary, PG::RecoveryState::Started, PG::RecoveryState::Peering, (boost::statechart::history_mode)0&gt;::react_impl(boost::statechart::event_base const&, void const*)+0xdc) [0x841a6c]
6: (boost::statechart::simple_state&lt;PG::RecoveryState::Peering, PG::RecoveryState::Primary, PG::RecoveryState::GetInfo, (boost::statechart::history_mode)0&gt;::react_impl(boost::statechart::event_base const&, void const*)+0xf8) [0x841558]
7: (boost::statechart::simple_state&lt;PG::RecoveryState::GetInfo, PG::RecoveryState::Peering, boost::mpl::list&lt;mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na&gt;, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*)+0xf8) [0x83d818]
8: (boost::statechart::state_machine&lt;PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator&lt;void&gt;, boost::statechart::null_exception_translator>::send_event(boost::statechart::event_base const&)+0x5b) [0x8215fb]
9: (boost::statechart::state_machine&lt;PG::RecoveryState::RecoveryMachine, PG::RecoveryState::Initial, std::allocator&lt;void&gt;, boost::statechart::null_exception_translator>::process_event(boost::statechart::event_base const&)+0x11) [0x821951]
10: (PG::handle_peering_event(std::tr1::shared_ptr&lt;PG::CephPeeringEvt&gt;, PG::RecoveryCtx*)+0x303) [0x7d9763]
11: (OSD::process_peering_events(std::list&lt;PG*, std::allocator&lt;PG*&gt; > const&, ThreadPool::TPHandle&)+0x2c6) [0x656c36]
12: (OSD::PeeringWQ::_process(std::list&lt;PG*, std::allocator&lt;PG*&gt; > const&, ThreadPool::TPHandle&)+0x12) [0x6a5842]
13: (ThreadPool::worker(ThreadPool::WorkThread*)+0x4e6) [0xa4d966]
14: (ThreadPool::WorkThread::entry()+0x10) [0xa4f770]
15: (()+0x7e9a) [0x7f9385aede9a]
16: (clone()+0x6d) [0x7f93842b23fd]
NOTE: a copy of the executable, or `objdump -rdS &lt;executable&gt;` is needed to interpret this.

--- begin dump of recent events ---

Actions #1

Updated by Sage Weil about 10 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF