Project

General

Profile

Actions

Bug #56307

open

crash: virtual void PrimaryLogPG::on_local_recover(const hobject_t&, const ObjectRecoveryInfo&, ObjectContextRef, bool, ObjectStore::Transaction*): assert(is_primary())

Added by Telemetry Bot almost 2 years ago. Updated over 1 year ago.

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):

008efeb554e31368901f858223b3213215dd74e918199c1325bd33424aa68c69


Description

http://telemetry.front.sepia.ceph.com:4000/d/jByk5HaMz/crash-spec-x-ray?orgId=1&var-sig_v2=1bffe92eb6037f0945a6822d7ce9c6f46d05f63f9a97963ba076eb8333539071

Assert condition: is_primary()
Assert function: virtual void PrimaryLogPG::on_local_recover(const hobject_t&, const ObjectRecoveryInfo&, ObjectContextRef, bool, ObjectStore::Transaction*)

Sanitized backtrace:

    pthread_kill()
    raise()
    PrimaryLogPG::on_local_recover(hobject_t const&, ObjectRecoveryInfo const&, std::shared_ptr<ObjectContext>, bool, ceph::os::Transaction*)
    ReplicatedBackend::handle_push(pg_shard_t, PushOp const&, PushReplyOp*, ceph::os::Transaction*, bool)
    ReplicatedBackend::_do_push(boost::intrusive_ptr<OpRequest>)
    ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>)
    PGBackend::handle_message(boost::intrusive_ptr<OpRequest>)
    PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&)
    OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)
    ceph::osd::scheduler::PGRecoveryMsg::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)
    OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)
    ShardedThreadPool::shardedthreadpool_worker(unsigned int)
    ShardedThreadPool::WorkThreadSharded::entry()

Crash dump sample:
{
    "archived": "2022-05-25 07:09:44.124447",
    "assert_condition": "is_primary()",
    "assert_file": "osd/PrimaryLogPG.cc",
    "assert_func": "virtual void PrimaryLogPG::on_local_recover(const hobject_t&, const ObjectRecoveryInfo&, ObjectContextRef, bool, ObjectStore::Transaction*)",
    "assert_line": 421,
    "assert_msg": "osd/PrimaryLogPG.cc: In function 'virtual void PrimaryLogPG::on_local_recover(const hobject_t&, const ObjectRecoveryInfo&, ObjectContextRef, bool, ObjectStore::Transaction*)' thread 7f7d82ff0640 time 2022-05-25T08:57:56.969023+0200\nosd/PrimaryLogPG.cc: 421: FAILED ceph_assert(is_primary())",
    "assert_thread_name": "tp_osd_tp",
    "backtrace": [
        "/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f7e0717b520]",
        "pthread_kill()",
        "raise()",
        "abort()",
        "(ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x182) [0x555a665f8775]",
        "/usr/bin/ceph-osd(+0x58c8d7) [0x555a665f88d7]",
        "(PrimaryLogPG::on_local_recover(hobject_t const&, ObjectRecoveryInfo const&, std::shared_ptr<ObjectContext>, bool, ceph::os::Transaction*)+0x452) [0x555a6680f3c2]",
        "(ReplicatedBackend::handle_push(pg_shard_t, PushOp const&, PushReplyOp*, ceph::os::Transaction*, bool)+0x385) [0x555a66ab8345]",
        "(ReplicatedBackend::_do_push(boost::intrusive_ptr<OpRequest>)+0x26d) [0x555a66ab877d]",
        "(ReplicatedBackend::_handle_message(boost::intrusive_ptr<OpRequest>)+0x291) [0x555a66abc521]",
        "(PGBackend::handle_message(boost::intrusive_ptr<OpRequest>)+0x49) [0x555a668e8959]",
        "(PrimaryLogPG::do_request(boost::intrusive_ptr<OpRequest>&, ThreadPool::TPHandle&)+0x4b9) [0x555a66887549]",
        "(OSD::dequeue_op(boost::intrusive_ptr<PG>, boost::intrusive_ptr<OpRequest>, ThreadPool::TPHandle&)+0x1b1) [0x555a666ffcf1]",
        "(ceph::osd::scheduler::PGRecoveryMsg::run(OSD*, OSDShard*, boost::intrusive_ptr<PG>&, ThreadPool::TPHandle&)+0x69) [0x555a669aea99]",
        "(OSD::ShardedOpWQ::_process(unsigned int, ceph::heartbeat_handle_d*)+0x913) [0x555a66719b63]",
        "(ShardedThreadPool::shardedthreadpool_worker(unsigned int)+0x414) [0x555a66dd1534]",
        "(ShardedThreadPool::WorkThreadSharded::entry()+0x14) [0x555a66dd3a94]",
        "/lib/x86_64-linux-gnu/libc.so.6(+0x94b43) [0x7f7e071cdb43]",
        "/lib/x86_64-linux-gnu/libc.so.6(+0x126a00) [0x7f7e0725fa00]" 
    ],
    "ceph_version": "17.1.0",
    "crash_id": "2022-05-25T06:57:57.138819Z_f5e45617-bc1a-453b-a9f4-ab317a1fcc11",
    "entity_name": "osd.3f63a157722526b6d25061a9e7a440b072d803f3",
    "os_id": "22.04",
    "os_name": "Ubuntu 22.04 LTS",
    "os_version": "22.04 LTS (Jammy Jellyfish)",
    "os_version_id": "22.04",
    "process_name": "ceph-osd",
    "stack_sig": "008efeb554e31368901f858223b3213215dd74e918199c1325bd33424aa68c69",
    "timestamp": "2022-05-25T06:57:57.138819Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.15.0-33-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022" 
}

Actions #1

Updated by Telemetry Bot almost 2 years ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v17.1.0 added
Actions

Also available in: Atom PDF