Project

General

Profile

Actions

Bug #11814

closed

implicit erasure code crush ruleset is not validated

Added by Herve Rousseau almost 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Monitor
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Context

  • RHEL6
  • Hammer 0.94.1
  • 3 Mons
  • 315 OSDs

Steps to reproduce

$ rm -fr out dev ; MON=1 OSD=3 ./vstart.sh -X -n -l mon osd
$ ceph osd erasure-code-profile set myprofile plugin=lrc mapping=__DD__DD layers='[[ "_cDD_cDD", "" ],[ "cDDD____", "" ],[ "____cDDD", "" ],]' ruleset-steps='[ [ "choose", "datacenter", 3 ], [ "chooseleaf", "osd", 0] ]'
$ ceph osd crush rule create-erasure myrule myprofile
created ruleset myrule at 1
$ ceph osd getcrushmap > /tmp/c
got crush map from osdmap epoch 13
$ ceph osd setcrushmap -i /tmp/c
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
Error EINVAL: Failed to parse crushmap: *** Caught signal (Segmentation fault) **

https://github.com/ceph/ceph/pull/4807


Files

crush.txt (16.9 KB) crush.txt Crush MAP Herve Rousseau, 05/29/2015 02:36 PM
ceph-mon.2.log (9.32 KB) ceph-mon.2.log Part of the log when mon is crashing Herve Rousseau, 05/29/2015 02:36 PM

Related issues 3 (0 open3 closed)

Related to Ceph - Feature #11815: mon: allow injecting new crushmapResolvedKefu Chai05/29/2015

Actions
Related to Ceph - Bug #12419: TEST_crush_rule_create_erasure consistently fails on i386 builderResolvedLoïc Dachary07/21/2015

Actions
Copied to Ceph - Backport #11824: implicit erasure code crush ruleset is not validatedResolvedLoïc Dachary05/29/2015Actions
Actions

Also available in: Atom PDF