Project

General

Profile

Bug #23816

disable bluestore cache caused a rocksdb error

Added by Honggang Yang over 1 year ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
luminous
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Component(RADOS):
BlueStore
Pull request ID:
Crash signature:

Description

I disabled bluestore/rocksdb cache to estimate ceph-osd's memory consumption
by set bluestore_cache_size_ssd/bluestore_cache_size_hdd/bluestore_cache_size to 0.

This caused a rocksdb error:

 2018-04-19 10:24:29.444 7f6926908240 -1 bluestore(/var/lib/ceph/osd/ceph-0/) _read_fsid unparsable uuid
  2018-04-19 10:24:29.468 7f6926908240 -1 rocksdb: Invalid argument: Enable cache_index_and_filter_blocks, , but block cache is disabled
  2018-04-19 10:24:29.468 7f6926908240 -1 bluestore(/var/lib/ceph/osd/ceph-0/) _open_db erroring opening db:
  2018-04-19 10:24:30.468 7f6926908240 -1 bluestore(/var/lib/ceph/osd/ceph-0/) mkfs failed, (5) Input/output error
  2018-04-19 10:24:30.468 7f6926908240 -1 OSD::mkfs: ObjectStore::mkfs failed with error (5) Input/output error
  2018-04-19 10:24:30.468 7f6926908240 -1  ** ERROR: error creating empty object store in /var/lib/ceph/osd/ceph-0/: (5) Input/output error 

So, if block cache is disabled, we should not set cache_index_and_filter_blocks.


Related issues

Copied to RADOS - Backport #23926: luminous: disable bluestore cache caused a rocksdb error Need More Info

History

#2 Updated by Josh Durgin over 1 year ago

  • Status changed from New to Fix Under Review

#3 Updated by Sage Weil over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to luminous

#4 Updated by Nathan Cutler over 1 year ago

  • Copied to Backport #23926: luminous: disable bluestore cache caused a rocksdb error added

Also available in: Atom PDF