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

Bug #1903352 reported by Felipe Alencastro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceph-FS Charm
New
Undecided
Unassigned
OpenStack Cinder-Ceph charm
New
Undecided
Unassigned
OpenStack Glance Charm
New
Undecided
Unassigned
OpenStack Nova Compute Charm
New
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.