Project

General

Profile

Bug #21309

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 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Urgent
Category:
Correctness/Safety
Target version:
Start date:
09/08/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:

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

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() Resolved

History

#1 Updated by Joao Eduardo Luis over 1 year ago

  • Status changed from New to In Progress
  • Backport changed from luminou to luminous

#2 Updated by Joao Eduardo Luis over 1 year ago

  • Description updated (diff)

#3 Updated by Joao Eduardo Luis over 1 year ago

  • Description updated (diff)

#4 Updated by Joao Eduardo Luis over 1 year ago

  • Status changed from In Progress to Need Review

#5 Updated by Joao Eduardo Luis over 1 year ago

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

#6 Updated by Sage Weil over 1 year ago

  • Status changed from Need Review to Pending Backport

#7 Updated by Nathan Cutler over 1 year 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

#8 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF