Project

General

Profile

Subtask #7158

Feature #4929: Erasure encoded placement group

EC: flesh out how the ceph tool should be used to manage ec pools and create sub tasks for doing it

Added by Samuel Just over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
01/15/2014
Due date:
% Done:

100%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Not sure how much of this has been handled already.


Related issues

Related to Ceph - Subtask #7146: implement osd crush rule create-erasure Resolved 01/14/2014

History

#1 Updated by Samuel Just over 5 years ago

  • Assignee set to Joao Eduardo Luis

#2 Updated by Ian Colle over 5 years ago

  • Target version changed from v0.76a to v0.76b

#3 Updated by Loic Dachary over 5 years ago

  • Parent task set to #4929

#4 Updated by Joao Eduardo Luis over 5 years ago

Loic pointed out that there's already support to create pools via the ceph tool

https://github.com/ceph/ceph/blob/master/doc/dev/osd_internals/erasure_coding/developer_notes.rst#erasure-code-library

Unless I'm misunderstanding the task, this should cover the creation part.

wrt the management part of the task, it seems that nothing can be changed once the pool is create, hence why this is specified on pool creation.

What however appears to be missing is transpiring the pool creation parameters to the user on lspools, although Loic tells me that they're already shown on pool dump.

#5 Updated by Sage Weil over 5 years ago

  • Source deleted (other)

i think pool creation is all there. the create-pyramid rule we can treat separately, i think!

but... should we have a create-erasure command?

#6 Updated by Ian Colle over 5 years ago

  • Assignee changed from Joao Eduardo Luis to Loic Dachary
  • Priority changed from Normal to Urgent

#7 Updated by Loic Dachary over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0

http://tracker.ceph.com/issues/7146 was created and implemented. There does not seem to be a need for more tools.

Creating a pool is done with the (already modified) ceph osd pool create command. Erasure coded crush rulesets can either be created manually ( the indep behavior was adapted to match the needs of erasure coded pools ) or with the rule create-erasure command which is more convenient from the sysadmin point of view. Chosing the right erasure code plugin and the parameters to configure it is done through the pool properties if fine grain control is needed. Some operations are not available for erasure coded pools ( omap family ) and the user facing interface is an EINVAL error rather than a new command.

Also available in: Atom PDF