Project

General

Profile

Actions

Support #8600

closed

MON crashes on new crushmap injection

Added by Jean-Charles Lopez almost 10 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Tags:
monitor crush segfault
Reviewed:
Affected Versions:
Component(RADOS):
Monitor
Pull request ID:

Description

The crush map contains the following rule
rule ssd {
ruleset 1
type replicated
min_size 1
max_size 10
step take ssd
step chooseleaf firstn 0 type rack
step chooseleaf firstn 0 type host
step emit
}

crushtool compiles the map with no warning nor error.

When the new map is injected into the cluster, it causes the MON to segfault.

Restarting the faulted MON brings cluster back to norma operation mode.

Issue can be reproduced at will


Files

ceph-mon.log (89.3 KB) ceph-mon.log ceph-mon log while injecting the map Jean-Charles Lopez, 06/14/2014 01:44 PM
cmbad.txt (2.67 KB) cmbad.txt map that can compile and containing above directives Jean-Charles Lopez, 06/14/2014 01:44 PM

Related issues 1 (0 open1 closed)

Has duplicate Ceph - Bug #9485: Monitor crash due to wrong crush rule setResolvedLoïc Dachary09/15/2014

Actions
Actions

Also available in: Atom PDF