Bug 1977802 - Setting osd_max_scrubs > 1 can lead to FAILED ceph_assert(!is_scrubbing())
Summary: Setting osd_max_scrubs > 1 can lead to FAILED ceph_assert(!is_scrubbing())
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0
Assignee: Ronen Friedman
QA Contact: skanta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-30 14:00 UTC by Neha Ojha
Modified: 2021-08-30 08:31 UTC (History)
12 users (show)

Fixed In Version: ceph-16.2.0-88.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:31:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 50346 0 None None None 2021-06-30 14:02:22 UTC
Github ceph ceph pull 41944 0 None open pacific: osd/scrub: replace a ceph_assert() with a test 2021-06-30 14:03:25 UTC
Red Hat Issue Tracker RHCEPH-429 0 None None None 2021-08-19 06:20:57 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:31:37 UTC

Description Neha Ojha 2021-06-30 14:00:13 UTC
Description of problem:

Setting a value of osd_max_scrubs greater than 1 (default) can lead to the following crash.

2021-06-23T20:55:00.571+0000 7f3a45c0b700 -1 /home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-5425-gda5d094f/rpm/el8/BUILD/ceph-17.0.0-5425-gda5d094f/src/osd/PG.cc: In function 'bool PG::sched_scrub()' thread 7f3a45c0b700 time 2021-06-23T20:55:00.569263+0000
/home/jenkins-build/build/workspace/ceph-dev-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/17.0.0-5425-gda5d094f/rpm/el8/BUILD/ceph-17.0.0-5425-gda5d094f/src/osd/PG.cc: 1333: FAILED ceph_assert(!is_scrubbing())

 ceph version 17.0.0-5425-gda5d094f (da5d094f2647a6a32316cdd11e40fce91c572df8) quincy (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x152) [0x55be96e7959c]
 2: ceph-osd(+0x5b47a4) [0x55be96e797a4]
 3: (PG::sched_scrub()+0x561) [0x55be970293a1]
 4: (OSD::sched_scrub()+0x8e6) [0x55be96f736f6]
 5: (OSD::tick_without_osd_lock()+0x678) [0x55be96f83248]
 6: (Context::complete(int)+0xd) [0x55be96fb865d]
 7: (SafeTimer::timer_thread()+0x1c0) [0x55be9761e7b0]
 8: (SafeTimerThread::entry()+0x11) [0x55be97621351]
 9: (Thread::_entry_func(void*)+0xd) [0x55be9761042d]
 10: /lib64/libpthread.so.0(+0x814a) [0x7f3a5304114a]
 11: clone()

Comment 12 errata-xmlrpc 2021-08-30 08:31:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294


Note You need to log in before you can comment on or make changes to this bug.