Actions
Bug #21309
closedmon/OSDMonitor: deleting pool while pgs are being created leads to assert(p != pools.end) in update_creating_pgs()
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
ceph version 13.0.0-429-gbc5fe2e (bc5fe2e9099dbb560c2153d3ac85f38b46593a77) mimic (dev)
Easily reproducible on a vstart cluster with
ceph osd pool create testpool 4000 4000 replicated sleep 10 ceph osd pool rm testpool testpool --yes-i-really-really-mean-it
This will cause
/home/joao/code/ceph.master/src/osd/OSDMapMapping.h: 287: FAILED assert(p != pools.end()) ceph version 13.0.0-429-gbc5fe2e (bc5fe2e9099dbb560c2153d3ac85f38b46593a77) mimic (dev) 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x555923081f52] 2: (OSDMonitor::update_creating_pgs()+0x9f2) [0x555922fa8f62] 3: (C_UpdateCreatingPGs::finish(int)+0x77) [0x555922ffc977] 4: (Context::complete(int)+0x9) [0x555922e44679] 5: (ParallelPGMapper::WQ::_process(ParallelPGMapper::Item*, ThreadPool::TPHandle&)+0xa3) [0x55592318f883] 6: (ThreadPool::worker(ThreadPool::WorkThread*)+0xa8f) [0x555923088c8f] 7: (ThreadPool::WorkThread::entry()+0x10) [0x555923089b90] 8: (()+0x76aa) [0x7f360bbe46aa] 9: (clone()+0x6d) [0x7f360a48deed] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
Actions