Project

General

Profile

Actions

Bug #21309

closed

mon/OSDMonitor: deleting pool while pgs are being created leads to assert(p != pools.end) in update_creating_pgs()

Added by Joao Eduardo Luis over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Urgent
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.

Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #21341: luminous: mon/OSDMonitor: deleting pool while pgs are being created leads to assert(p != pools.end) in update_creating_pgs()ResolvedNathan CutlerActions
Actions #1

Updated by Joao Eduardo Luis over 6 years ago

  • Status changed from New to In Progress
  • Backport changed from luminou to luminous
Actions #2

Updated by Joao Eduardo Luis over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Joao Eduardo Luis over 6 years ago

  • Description updated (diff)
Actions #4

Updated by Joao Eduardo Luis over 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #5

Updated by Joao Eduardo Luis over 6 years ago

  • Priority changed from Normal to Urgent
  • Severity changed from 3 - minor to 2 - major
Actions #6

Updated by Sage Weil over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21341: luminous: mon/OSDMonitor: deleting pool while pgs are being created leads to assert(p != pools.end) in update_creating_pgs() added
Actions #8

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF