FS not created when using erasure coding

Bug #1895154 reported by Liam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceph-FS Charm
Fix Released
High
James Page

Bug Description

When the ceph-mon charm tries to create a new fs it fails if an erasure-coded data pool is being used. This is because the client tool requires a '--force' option as using an ec default data pool is not recommended *1 *2. The suggested approach is to use a replicated pool for metatdata and a replicated pool as the default data pool. The add an additional EC data pool. Access to the datapools is the specified by the client using xattrs.

*1 https://tracker.ceph.com/issues/42450
*2 https://docs.ceph.com/docs/master/cephfs/createfs/#creating-pools

Liam Young (gnuoy)
Changed in charm-ceph-fs:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
milestone: none → 20.10
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-fs (master)

Fix proposed to branch: master
Review: https://review.opendev.org/751017

Changed in charm-ceph-fs:
status: Confirmed → In Progress
James Page (james-page)
Changed in charm-ceph-fs:
assignee: Liam Young (gnuoy) → James Page (james-page)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-fs (master)

Reviewed: https://review.opendev.org/751017
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-fs/commit/?id=051ba2a55fe821611fb1ae250770ceebea4de2d4
Submitter: Zuul
Branch: master

commit 051ba2a55fe821611fb1ae250770ceebea4de2d4
Author: Liam Young <email address hidden>
Date: Thu Sep 10 14:49:10 2020 +0000

    Align EC usage with best practice

    When using erasure coding three pools are needed. One metadata
    pool which is replicated, one default data pool which is replicated
    and one erasure coded pool.

    Add an additional ec-pool-weight option to allow the erasure coded
    pool usage to be modelled within the deployment.

    The consumer of the share will need to use xattrs to ensure that
    the hierarchy of directories and files are stored in EC pool while
    leaving the default replicated data pool for file backtraces.

    Depends-On: Ib19e545fc676fa9e986f3fddcfb92cf99e778a3f
    Depends-On: I48348ab2b6c8952c5e22008a074a60c1f35be952
    Change-Id: I1af386d5e1d031f2f0387c7381af683f948172d9
    Closes-Bug: #1895154

Changed in charm-ceph-fs:
status: In Progress → Fix Committed
Changed in charm-ceph-fs:
status: Fix Committed → Fix Released
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.