Project

General

Profile

Actions

Feature #8060

open

Make it easier to map crush rules to pools

Added by Mark Nelson about 10 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Right now when you want to create a new crush rule via create-simple, you do something like:

ceph osd crush rule create-simple foo bar osd

which generates a rule with some ruleset value. When you want to assign the ruleset to a pool, you set it like:

ceph osd pool set baz crush_ruleset <value>

where value is whatever value the result is set to as shown in the crushmap. It would be far easier if you could use the rule name (or perhaps a ruleset name?) when assigning a pool a ruleset.

Actions #1

Updated by Patrick Donnelly almost 5 years ago

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

Also available in: Atom PDF