Actions
Bug #579
closedOSD::sched_scrub: FAILED assert(pg_map.count(pgid)
% Done:
0%
Spent time:
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
On unfound_last_epoch_clean at commit commit:7201497f2feef6a2bbd0baf89e3a14b8a880e79f
I found this assert when running
./test/test_unfound.sh stray_test
At first glance, seems to be a refcount issue in the scrub code.
=============================================================
osd/OSD.cc: In function 'PG* OSD::_lookup_lock_pg(pg_t)':osd/OSD.cc:956: FAILED assert(pg_map.count(pgid))
ceph version 0.24~rc (commit:7201497f2feef6a2bbd0baf89e3a14b8a880e79f)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x81ee4e]
2: (OSD::_lookup_lock_pg(pg_t)+0x6f) [0x6d3d57]
3: (OSD::sched_scrub()+0x2e9) [0x6e4445]
4: (OSD::tick()+0x204) [0x6f168e]
5: (OSD::C_Tick::finish(int)+0x1c) [0x7613bc]
6: (SafeTimer::timer_thread()+0x189) [0x81bcf5]
7: (SafeTimerThread::entry()+0x19) [0x81dd73]
8: (Thread::_entry_func(void*)+0x20) [0x66496a]
9: (()+0x68ba) [0x7fb807d118ba]
10: (clone()+0x6d) [0x7fb806a7002d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
- Caught signal (ABRT) **
ceph version 0.24~rc (commit:7201497f2feef6a2bbd0baf89e3a14b8a880e79f)
1: (ceph::BackTrace::BackTrace(int)+0x2a) [0x81f134]
2: (sigabrt_handler(int)+0x41) [0x8302eb]
3: (()+0x321e0) [0x7fb8069d31e0]
4: (gsignal()+0x35) [0x7fb8069d3165]
5: (abort()+0x180) [0x7fb8069d5f70]
6: (_gnu_cxx::_verbose_terminate_handler()+0x115) [0x7fb807266dc5]
7: (()+0xcb166) [0x7fb807265166]
8: (()+0xcb193) [0x7fb807265193]
9: (()+0xcb28e) [0x7fb80726528e]
10: (ceph::__ceph_assert_fail(char const, char const*, int, char const*)+0x217) [0x81f031]
11: (OSD::_lookup_lock_pg(pg_t)+0x6f) [0x6d3d57]
12: (OSD::sched_scrub()+0x2e9) [0x6e4445]
13: (OSD::tick()+0x204) [0x6f168e]
14: (OSD::C_Tick::finish(int)+0x1c) [0x7613bc]
15: (SafeTimer::timer_thread()+0x189) [0x81bcf5]
16: (SafeTimerThread::entry()+0x19) [0x81dd73]
17: (Thread::_entry_func(void*)+0x20) [0x66496a]
18: (()+0x68ba) [0x7fb807d118ba]
19: (clone()+0x6d) [0x7fb806a7002d]
Actions