Cannot create ceph pools with pool-type=erasure-coded

Bug #1903352 reported by Felipe Alencastro on 2020-11-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceph-FS Charm
Undecided
Unassigned
OpenStack cinder-ceph charm
Undecided
Unassigned
OpenStack glance charm
Undecided
Unassigned
OpenStack nova-compute charm
Undecided
Unassigned

Bug Description

When setting pool-type=erasure-coded and sticking with default ec-profile-k and ec-profile-m values, ceph pools and erasure code profiles don't get created.

That's probably due to invalid default values, as ceph requires a 'k' value >=2, while the charm defaults to k=1 and m=2:

root@juju-bd9197-0-lxd-0:~# ceph osd erasure-code-profile set test-profile k=1 m=2
Error EINVAL: k=1 must be >= 2

Passing a value equal or larger than 2 to ec-profile-k, allows both the ec profile and pool to be created.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers