Ceph - after upgrading to 2.4 - 10.2.7-32.el7cp OSD assert in FAILED assert(weak_refs.empty()) during OSD shutdown.

Solution Verified - Updated -

Issue

  • After upgrading to 2.4 - 10.2.7-32.el7cp OSD assert in FAILED assert(weak_refs.empty()) during OSD shutdown.
-3> 2017-10-04 18:00:36.038817 7fdffe78d800 10 -- :/4103384 wait: done.
    -2> 2017-10-04 18:00:36.038818 7fdffe78d800  1 -- :/4103384 shutdown complete.
    -1> 2017-10-04 18:00:36.061972 7fdffe78d800 -1 leaked refs:
dump_weak_refs 0x5595a82d8cb0 weak_refs: 207607 = 0x5595ca644480 with 2 refs

     0> 2017-10-04 18:00:36.063904 7fdffe78d800 -1 ./common/shared_cache.hpp: In function 'SharedLRU<K, V, C, H>::~SharedLRU() [with K = unsigned int; V = const OSDMap; C = std::less<unsigned int>; H = std::hash<unsigned int>]' thread 7fdffe78d800 time 2017-10-04 18:00:36.061988

./common/shared_cache.hpp: 107: FAILED assert(weak_refs.empty())

 ceph version 10.2.7-32.el7cp (ef49626371ba965ec4d3f8eff67a811528c0a334)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x85) [0x55959d432185]
 2: (()+0x3e96ca) [0x55959cde86ca]
 3: (OSDService::~OSDService()+0x18f) [0x55959cd75d0f]
 4: (OSD::~OSD()+0x133) [0x55959cdc1023]
 5: (OSD::~OSD()+0x9) [0x55959cdc1689]
 6: (main()+0x2d55) [0x55959cd147c5]
 7: (__libc_start_main()+0xf5) [0x7fdffb69dc05]
 8: (()+0x35fae7) [0x55959cd5eae7]

Environment

  • Red Hat Ceph Storage 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.