Project

General

Profile

Actions

Bug #13916

closed

erasure code profile name

Added by Chris Holcombe over 8 years ago. Updated over 8 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

I've been experimenting with ceph erasure pools. In my naivety I created an erasure pool with a dash in the name. Example:

ceph osd erasure-code-profile set myprofile-wide k=3 m=2 ruleset-failure-domain=rack

The pool fails to create because the pg's never get created. They get stuck in incomplete-creating. I did a query on a few of the pgs and it's not apparent what is wrong. They don't appear to be stuck or waiting on anything. When I delete the pool and recreate the same thing without the dash in the name it goes through just fine. I think the ceph tool should deny invalid names. Here's what the command returns when you query the erasure profile after creating it.


ceph osd erasure-code-profile get ceph-wide
directory=/usr/lib/x86_64-linux-gnu/ceph/erasure-code
k=10
m=3
plugin=jerasure
ceph-wide=
ruleset-failure-domain=osd
technique=reed_sol_van

Actions

Also available in: Atom PDF