Ceph OSD crash with "ceph_assert((uint64_t)r == len"
Issue
2024-12-04T15:11:28.046775736Z -1> 2024-12-04T15:11:28.040+0000 7fece443e900 -1 /builddir/build/BUILD/ceph-17.2.6/src/blk/kernel/KernelDevice.cc: In function 'virtual int KernelDevice::read(uint64_t, uint64_t, ceph::bufferlist*, IOContext*, bool)' thread 7fece443e900 time 2024-12-04T15:11:28.038540+0000
2024-12-04T15:11:28.046775736Z /builddir/build/BUILD/ceph-17.2.6/src/blk/kernel/KernelDevice.cc: 1276: FAILED ceph_assert((uint64_t)r == len)
2024-12-04T15:11:28.046775736Z
2024-12-04T15:11:28.046775736Z ceph version 17.2.6-246.el9cp (0f65af2d95ce0936640f6ccd6a4825dce6237e4f) quincy (stable)
2024-12-04T15:11:28.046775736Z 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const)+0x12e) [0x7fece5083b55]
2024-12-04T15:11:28.046775736Z 2: /usr/lib64/ceph/libceph-common.so.2(+0x14dd13) [0x7fece5083d13]
2024-12-04T15:11:28.046775736Z 3: (KernelDevice::read(unsigned long, unsigned long, ceph::buffer::v15_2_0::list, IOContext*, bool)+0x8af) [0x55ebf6e5c67f]
2024-12-04T15:11:28.046775736Z 4: (BlueFS::_read(BlueFS::FileReader*, unsigned long, unsigned long, ceph::buffer::v15_2_0::list*, char*)+0x5d1) [0x55ebf6c2f5b1]
2024-12-04T15:11:28.046775736Z 5: ceph-bluestore-tool(+0x461311) [0x55ebf6d6b311]
Environment
ODF 4.*
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.