Project

General

Profile

Actions

Feature #3807

closed

crush: simple commands to create common rules

Added by Sage Weil over 11 years ago. Updated almost 7 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

These should be in CrushWrapper or similar, and available via crushtool and via some 'ceph osd crush ...' commands.

Even something like "ceph osd rule add take default chooseleaf host emit" is way better than exporting/decompiling/editing/compiling/inserting the map.

Or 'ceph osd rule new simple root=default failure_domain=host'.

Actions #1

Updated by Sage Weil over 11 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Sage Weil about 11 years ago

ceph osd crush rule list
ceph osd crush rule create-simple <name> <root> <failure domain>
ceph osd crush rule create-complex <name> [ruleset=<ruleset>] <steps ...>
step is
take <name>
chooseleaf [<number>] <type>
emit
ceph osd crush rule rm <name>
(will verify it is not in use)

Actions #3

Updated by Sage Weil about 11 years ago

  • Status changed from 12 to Fix Under Review

see wip-osd-commands

Actions #4

Updated by Sage Weil about 11 years ago

  • Status changed from Fix Under Review to Resolved

commit:9eff2ee13dc03f245a11c91f4ed7d5bc15c55aef

Actions #5

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (10)
Actions

Also available in: Atom PDF