Ceph: Node or VM using Ceph RBD volume crashes with "librbd/Journal.cc: 1019: FAILED ceph_assert(it != m_events.end())".

Solution Verified - Updated -

Issue

Node or VM using Ceph RBD volume crashes with "librbd/Journal.cc: 1019: FAILED ceph_assert(it != m_events.end())".

Example #1:

/builddir/build/BUILD/ceph-17.2.6/src/librbd/Journal.cc: In function 'librbd::Journal<ImageCtxT>::Future librbd::Journal<ImageCtxT>::wait_event(ceph::mutex&, uint64_t, Context*) [with ImageCtxT = librbd::ImageCtx; librbd::Journal<ImageCtxT>::Future = journal::Future; ceph::mutex = std::mutex; uint64_t = long unsigned int]' thread 7f146cff9640 time 2024-04-01T13:14:50.462607+0530
/builddir/build/BUILD/ceph-17.2.6/src/librbd/Journal.cc: 1062: FAILED ceph_assert(it != m_events.end())
 ceph version 17.2.6-196.el9cp (cbbf2cfb549196ca18c0c9caff9124d83ed681a4) quincy (stable)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x12e) [0x7f147c470af1]
 2: /usr/lib64/ceph/libceph-common.so.2(+0x142caf) [0x7f147c470caf]

Example #2:

/home/ceph-build/ceph-build/Ubuntu/WORKDIR/ceph-16.2.13-133-ga5a112d/src/librbd/Journal.cc: In function 'librbd::Journal<ImageCtxT>::Future librbd::Journal<ImageCtxT>::wait_event(ceph::mutex&, uint64_t, Context*) [with ImageCtxT = librbd::ImageCtx; librbd::Journal<ImageCtxT>::Future = journal::Future; ceph::mutex = std::mutex; uint64_t = long unsigned int]' thread 7f9f2effd700 time 2023-11-02T15:52:25.213408+0000
/home/ceph-build/ceph-build/Ubuntu/WORKDIR/ceph-16.2.13-133-ga5a112d/src/librbd/Journal.cc: 1019: FAILED ceph_assert(it != m_events.end())
 ceph version 16.2.13-133-ga5a112d (a5a112dc153167aadfd9bda69fde6cb6531dfb63) pacific (stable)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x152) [0x7f9f37650d85]
 2: /usr/lib/ceph/libceph-common.so.2(+0x267f8d) [0x7f9f37650f8d]

Environment

Red Hat Ceph Storage (RHCS) 5
Red Hat Ceph Storage (RHCS) 6
Red Hat Ceph Storage (RHCS) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content