Project

General

Profile

Actions

Bug #18054

closed

os/bluestore/BlueStore.cc: 3576: FAILED assert(0 == "allocate failed, wtf")

Added by Sage Weil over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
BlueStore
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

plenty of space, but bitmap allocator fails...

   -14> 2016-11-23 22:40:13.295934 7f6347a23700 10 bluestore(/var/lib/ceph/osd/ceph-0) _balance_bluefs_freespace bluefs 1766 M free (0.47912) bluestore 86624 M free (0.939933), bluefs_ratio 0.0199906
   -13> 2016-11-23 22:40:13.295947 7f6347a23700 10 bluestore(/var/lib/ceph/osd/ceph-0) _balance_bluefs_freespace bluefs_ratio 0.0199906 < min_ratio 0.02, should gift 1767 M
   -12> 2016-11-23 22:40:13.295950 7f6347a23700 10 bluestore(/var/lib/ceph/osd/ceph-0) _balance_bluefs_freespace gifting 1853751296 (1767 M)
   -11> 2016-11-23 22:40:13.295952 7f6347a23700 10 bitmapalloc:reserve instance 140065024436224 num_used 88573 total 1474560
   -10> 2016-11-23 22:40:13.295954 7f6347a23700 10 bitmapalloc:allocate instance 140065024436224 want_size 0x6e7e0000 alloc_unit 0x10000 hint 0x0
     0> 2016-11-23 22:40:13.297552 7f6347a23700 -1 /mnt/jenkins/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.0.2-1896-gf08f2d5/rpm/el7/BUILD/ceph-11.0.2-1896-gf08f2d5/src/os/bluestore/BlueStore.cc: In function 'int BlueStore::_balance_bl
uefs_freespace(std::vector<bluestore_pextent_t>*)' thread 7f6347a23700 time 2016-11-23 22:40:13.295957
/mnt/jenkins/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/11.0.2-1896-gf08f2d5/rpm/el7/BUILD/ceph-11.0.2-1896-gf08f2d5/src/os/bluestore/BlueStore.cc: 3576: FAILED assert(0 == "allocate failed, wtf")

 ceph version 11.0.2-1896-gf08f2d5 (f08f2d580391855858361f9e6b24f3778b165d4e)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x85) [0x7f63636b1c15]
 2: (BlueStore::_balance_bluefs_freespace(std::vector<bluestore_pextent_t, std::allocator<bluestore_pextent_t> >*)+0x1295) [0x7f6363417fe5]
 3: (BlueStore::_kv_sync_thread()+0x14f7) [0x7f63634297d7]
 4: (BlueStore::KVSyncThread::entry()+0xd) [0x7f636344c98d]

/a/sage-2016-11-23_20:05:59-rados-wip-sage-testing---basic-smithi/573166

Actions

Also available in: Atom PDF