Project

General

Profile

Actions

Bug #20559

closed

crush_ruleset is invalid command in luminous

Added by Petr Malkov almost 7 years ago. Updated over 6 years ago.

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

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version 12.1.0

ceph osd crush class ls
[
"ssd",
"hdd"
]

rule default {
ruleset 0
type replicated
min_size 2
max_size 10
step take default class hdd
step chooseleaf firstn 0 type host
step emit
}

rule ssd {
ruleset 1
type replicated
min_size 2
max_size 10
step take default class ssd
step chooseleaf firstn 0 type host
step emit
}

ceph osd dump | grep data
pool 8 'data' replicated size 3 min_size 2 crush_rule 0

ceph osd pool set data crush_ruleset 1
Invalid command: crush_ruleset not in....
Error EINVAL: invalid command


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #22404: luminous: crush_ruleset is invalid command in luminousResolvedNathan CutlerActions
Actions #1

Updated by Petr Malkov almost 7 years ago

actually it changed to
crush_rule <name>
ceph osd pool set data crush_rule ssd

so you may close

Actions #2

Updated by Greg Farnum almost 7 years ago

  • Status changed from New to Closed
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Tracker changed from Bug to Documentation
  • Status changed from Closed to 12
  • Assignee set to Nathan Cutler

Changing this to a documentation bug - the fix shouldn't be much more complicated than s/crush_ruleset/crush_rule/g in http://docs.ceph.com/docs/master/rados/operations/pools/ ?

Actions #4

Updated by Nathan Cutler over 6 years ago

  • Backport set to luminous
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Status changed from 12 to Fix Under Review
Actions #6

Updated by Nathan Cutler over 6 years ago

  • Tracker changed from Documentation to Bug
  • Status changed from Fix Under Review to Pending Backport
  • Regression set to No
  • Severity set to 3 - minor
Actions #7

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #22404: luminous: crush_ruleset is invalid command in luminous added
Actions #8

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF