Ceph - OSD asserts with FAILED assert(!m_filestore_fail_eio || r != -5)

Solution Verified - Updated -

Issue

  • Ceph OSD asserts with FAILED assert(!m_filestore_fail_eio || r != -5)
2015-12-15 01:08:45.190418 7fb08650e700 -1 os/FileStore.cc: In function 'int FileStore::lfn_find(const ghobject_t&, const Index&, IndexedPath*)' thread 7fb08650e700 time 2015-12-15 01:08:45.175487
os/FileStore.cc: 179: FAILED assert(!m_filestore_fail_eio || r != -5)

 ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x7f) [0xb1a76f]
 2: (FileStore::lfn_find(ghobject_t const&, Index const&, std::tr1::shared_ptr<CollectionIndex::Path>*)+0xad) [0x8b009d]
 3: (FileStore::lfn_stat(coll_t, ghobject_t const&, stat*)+0xde) [0x8b339e]
 4: (FileStore::stat(coll_t, ghobject_t const&, stat*, bool)+0x57) [0x8bc3f7]
 5: (PGBackend::be_scan_list(ScrubMap&, std::vector<hobject_t, std::allocator<hobject_t> > const&, bool, unsigned int, ThreadPool::TPHandle&)+0x13e) [0x897c1e]
 6: (PG::build_scrub_map_chunk(ScrubMap&, hobject_t, hobject_t, bool, unsigned int, ThreadPool::TPHandle&)+0x1f7) [0x7ac7a7]
 7: (PG::replica_scrub(MOSDRepScrub*, ThreadPool::TPHandle&)+0x45a) [0x7ace5a]
 8: (OSD::RepScrubWQ::_process(MOSDRepScrub*, ThreadPool::TPHandle&)+0xfa) [0x6ba35a]
 9: (ThreadPool::worker(ThreadPool::WorkThread*)+0x48e) [0xb0964e]
 10: (ThreadPool::WorkThread::entry()+0x10) [0xb0c4b0]
 11: (()+0x7e9a) [0x7fb0a530ce9a]
 12: (clone()+0x6d) [0x7fb0a3ffe2ed]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Environment

  • Red Hat Ceph Storage 2.x
  • Red Hat Ceph Storage 1.3.x
  • Red Hat Ceph Storage 1.2.x
  • Red Hat Enterprise Linux 6.x
  • Red Hat Enterprise Linux 7.x

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