Project

General

Profile

Actions

Bug #8984

closed

creating erasure-code pool when not having a root item default

Added by Kenneth Waegeman almost 10 years ago. Updated almost 7 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
5 - suggestion
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When creating a EC pool:

ceph osd pool create poolio 128 128 erasure profile15

It returns

Error ENOENT: root item default does not exist

Which is indeed true here, but by design, because I have multiple roots for sas and ssd pools.

I worked around it by manually putting the rule for this pool in my crushmap:

rule poolio {
        ruleset 2
        type erasure
        min_size 3
        max_size 20
        step set_chooseleaf_tries 5
        step take default-ec
        step choose indep 0 type osd
        step emit
}

Actions

Also available in: Atom PDF