Project

General

Profile

Bug #11814

Updated by Loïc Dachary almost 9 years ago

h3. Context 

 * RHEL6 
 * Hammer 0.94.1 
 * 3 Mons 
 * 315 OSDs 

 h3. Steps to reproduce 

 <pre> 
 $ 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) ** 
 </pre> 

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

Back