Ceph: MDS crashes In function 'std::ostream& operator<<(std::ostream&, const ClientMetricType&)'

Solution Verified - Updated -

Issue

Ceph MDS is repeatedly crashing with the follow log signature:

Dec 08 14:11:45 mdss-1 conmon[3431]: debug     -1> 2021-12-08T13:11:45.526+0000 7f08eb0aa700 -1 /builddir/build/BUILD/ceph-16.2.0/src/include/cephfs/metrics/Types.h: In function 'std::ostream& operator<<(std::ostream&, const ClientMetricType&)' thread 7f08eb0aa700 time 2021-12-08T13:11:45.526200+0000
Dec 08 14:11:45 mdss-1 conmon[3431]: /builddir/build/BUILD/ceph-16.2.0/src/include/cephfs/metrics/Types.h: 56: ceph_abort_msg("abort() called")
Dec 08 14:11:45 mdss-1 conmon[3431]: 
Dec 08 14:11:45 mdss-1 conmon[3431]:  ceph version 16.2.0-117.el8cp (0e34bb74700060ebfaa22d99b7d2cdc037b28a57) pacific (stable)
Dec 08 14:11:45 mdss-1 conmon[3431]:  1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xe5) [0x7f08f3d15cd4]
Dec 08 14:11:45 mdss-1 conmon[3431]:  2: (operator<<(std::ostream&, ClientMetricType const&)+0x10e) [0x7f08f3f9a2ce]
Dec 08 14:11:45 mdss-1 conmon[3431]:  3: (MClientMetrics::print(std::ostream&) const+0x1a1) [0x7f08f3f9a4a1]
Dec 08 14:11:45 mdss-1 conmon[3431]:  4: (DispatchQueue::entry()+0x1be2) [0x7f08f3f50312]
Dec 08 14:11:45 mdss-1 conmon[3431]:  5: (DispatchQueue::DispatchThread::entry()+0x11) [0x7f08f3fff9b1]
Dec 08 14:11:45 mdss-1 conmon[3431]:  6: /lib64/libpthread.so.0(+0x814a) [0x7f08f2ab714a]
Dec 08 14:11:45 mdss-1 conmon[3431]:  7: clone()

Please note the following:
Module: /builddir/build/BUILD/ceph-16.2.0/src/include/cephfs/metrics/Types.h
Function: std::ostream& operator<<(std::ostream&, const ClientMetricType&)

Environment

Red Hat Ceph Storage (RHCS) 5.0.0
Red Hat Ceph Storage (RHCS) 5.0.1
Red Hat Ceph Storage (RHCS) 5.0.2
Red Hat Ceph Storage (RHCS) 5.0.3

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