Project

General

Profile

Actions

Support #46532

closed

Cannot create rbd when erasure pool as data pool when set k=4 m=2

Added by Tingjie Chen almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I tried to create EC pool and provision rbd as following commands:

  1. ceph osd erasure-code-profile set ecprofile k=4 m=2
  2. ceph osd pool create rbd_ec 1024 1024 erasure ecprofile
  3. ceph osd pool set rbd_ec allow_ec_overwrites true
  1. ceph osd pool create rbd 1024 1024
  2. ceph osd pool application enable rbd rbd --yes-i-really-mean-it
  3. ceph osd pool application enable rbd cephfs --yes-i-really-mean-it
  4. ceph osd pool application enable rbd rgw --yes-i-really-mean-it
  1. rbd create --size 61440 --data-pool rbd_ec rbd/rbd-001 --image-format 2

the rbd create command have no response for more than 10 minutes.

but using the default setting for ec pool is fine to create rbd volumes:
  1. ceph osd pool create rbd_ec 1024 1024 erasure
Actions #1

Updated by Greg Farnum almost 3 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Closed

This is probably a result of some CRUSH rule misconfiguration which meant the specified pool was never actually created, but who knows at this point.

Actions

Also available in: Atom PDF