Project

General

Profile

Actions

Subtask #7158

closed

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 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

100%

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

Description

Not sure how much of this has been handled already.


Related issues 1 (0 open1 closed)

Related to Ceph - Subtask #7146: implement osd crush rule create-erasureResolvedLoïc Dachary01/14/2014

Actions
Actions #1

Updated by Samuel Just over 10 years ago

  • Assignee set to Joao Eduardo Luis
Actions #2

Updated by Ian Colle over 10 years ago

  • Target version changed from v0.76a to v0.76b
Actions #3

Updated by Loïc Dachary over 10 years ago

  • Parent task set to #4929
Actions #4

Updated by Joao Eduardo Luis over 10 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.

Actions #5

Updated by Sage Weil over 10 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?

Actions #6

Updated by Ian Colle about 10 years ago

  • Assignee changed from Joao Eduardo Luis to Loïc Dachary
  • Priority changed from Normal to Urgent
Actions #7

Updated by Loïc Dachary about 10 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.

Actions

Also available in: Atom PDF