Project

General

Profile

Actions

Bug #62048

open

Create multi-step erasure profile from CLI

Added by Kyle Bader 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
EC Pools
Target version:
-
% Done:

0%

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

Description

Right now we can specify the failure domain via

ceph osd erasure-code-profile set ec86 \
  plugin=jerasure \
  k=8 \
  m=6 \
  osd-failure-domain=host

It would be nice if two-step rules could be created a la

ceph osd erasure-code-profile set ec86 \
  plugin=jerasure \
  k=8 \
  m=6 \
  osd-failure-domain=host:4,osd:4

That results in

"rule ecpool-86 {
    id 86
    type erasure
    step set_chooseleaf_tries 5
    step set_choose_tries 100
    step take default class hdd
    step choose indep 4 type host
    step chooseleaf indep 4 type osd
    step emit
}" 

No data to display

Actions

Also available in: Atom PDF