Bug #56319
crash: int OSDMap::build_simple_optioned(ceph::common::CephContext*, epoch_t, uuid_d&, int, int, int, bool): assert(default_replicated_rule >= 0)
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Telemetry
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
2d56daa5587248d36bb6369ef8369dcdcd95a39fd6bfaa63e76fb1bf8188c836
Crash signature (v2):
Description
Assert condition: default_replicated_rule >= 0
Assert function: int OSDMap::build_simple_optioned(ceph::common::CephContext*, epoch_t, uuid_d&, int, int, int, bool)
Sanitized backtrace:
OSDMap::build_simple_optioned(ceph::common::CephContext*, unsigned int, uuid_d&, int, int, int, bool) OSDMonitor::create_initial() PaxosService::_active() Context::complete(int) void finish_contexts<std::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::list<Context*, std::allocator<Context*> >&, int) Paxos::finish_round() Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>) Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>) Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>) Monitor::_ms_dispatch(Message*) Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&) DispatchQueue::entry() DispatchQueue::DispatchThread::entry()
Crash dump sample:
{ "archived": "2022-05-31 05:44:28.587544", "assert_condition": "default_replicated_rule >= 0", "assert_file": "osd/OSDMap.cc", "assert_func": "int OSDMap::build_simple_optioned(ceph::common::CephContext*, epoch_t, uuid_d&, int, int, int, bool)", "assert_line": 4224, "assert_msg": "osd/OSDMap.cc: In function 'int OSDMap::build_simple_optioned(ceph::common::CephContext*, epoch_t, uuid_d&, int, int, int, bool)' thread 7f9bd2c51700 time 2022-05-31T10:59:40.078560+0700\nosd/OSDMap.cc: 4224: FAILED ceph_assert(default_replicated_rule >= 0)", "assert_thread_name": "ms_dispatch", "backtrace": [ "/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f9bda903420]", "gsignal()", "abort()", "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b7) [0x7f9bdadd582e]", "/usr/lib/ceph/libceph-common.so.2(+0x27b9d8) [0x7f9bdadd59d8]", "(OSDMap::build_simple_optioned(ceph::common::CephContext*, unsigned int, uuid_d&, int, int, int, bool)+0x1809) [0x7f9bdb2d4e99]", "(OSDMonitor::create_initial()+0x188) [0x5585cb8f53b8]", "(PaxosService::_active()+0x2c2) [0x5585cb8e33a2]", "(Context::complete(int)+0xd) [0x5585cb78439d]", "(void finish_contexts<std::__cxx11::list<Context*, std::allocator<Context*> > >(ceph::common::CephContext*, std::__cxx11::list<Context*, std::allocator<Context*> >&, int)+0xb0) [0x5585cb7ba6f0]", "(Paxos::finish_round()+0x8c) [0x5585cb8d7e5c]", "(Paxos::handle_last(boost::intrusive_ptr<MonOpRequest>)+0x11e3) [0x5585cb8d96c3]", "(Paxos::dispatch(boost::intrusive_ptr<MonOpRequest>)+0x49f) [0x5585cb8dc39f]", "(Monitor::dispatch_op(boost::intrusive_ptr<MonOpRequest>)+0x14f4) [0x5585cb7818c4]", "(Monitor::_ms_dispatch(Message*)+0xa68) [0x5585cb782568]", "(Dispatcher::ms_dispatch2(boost::intrusive_ptr<Message> const&)+0x5d) [0x5585cb7bc03d]", "(Messenger::ms_deliver_dispatch(boost::intrusive_ptr<Message> const&)+0x460) [0x7f9bdb06d9b0]", "(DispatchQueue::entry()+0x58f) [0x7f9bdb06b24f]", "(DispatchQueue::DispatchThread::entry()+0x11) [0x7f9bdb1398f1]", "/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f9bda8f7609]", "clone()" ], "ceph_version": "17.2.0", "crash_id": "2022-05-31T03:59:40.101856Z_35b7d155-f33a-43b2-a711-85ec793193a8", "entity_name": "mon.bb3d7a9c1d11e8d21ede076b23b27060e3ef7601", "os_id": "ubuntu", "os_name": "Ubuntu", "os_version": "20.04.4 LTS (Focal Fossa)", "os_version_id": "20.04", "process_name": "ceph-mon", "stack_sig": "2d56daa5587248d36bb6369ef8369dcdcd95a39fd6bfaa63e76fb1bf8188c836", "timestamp": "2022-05-31T03:59:40.101856Z", "utsname_machine": "x86_64", "utsname_release": "5.4.0-110-generic", "utsname_sysname": "Linux", "utsname_version": "#124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022" }