Project

General

Profile

Bug #20559

crush_ruleset is invalid command in luminous

Added by Petr Malkov about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/10/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to Ceph - Backport #22404: luminous: crush_ruleset is invalid command in luminous Resolved

History

#1 Updated by Petr Malkov about 2 years ago

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

so you may close

#2 Updated by Greg Farnum about 2 years ago

  • Status changed from New to Closed

#3 Updated by Nathan Cutler almost 2 years ago

  • Tracker changed from Bug to Documentation
  • Status changed from Closed to Verified
  • 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/ ?

#4 Updated by Nathan Cutler almost 2 years ago

  • Backport set to luminous

#5 Updated by Nathan Cutler almost 2 years ago

  • Status changed from Verified to Need Review

#6 Updated by Nathan Cutler almost 2 years ago

  • Tracker changed from Documentation to Bug
  • Status changed from Need Review to Pending Backport
  • Regression set to No
  • Severity set to 3 - minor

#7 Updated by Nathan Cutler almost 2 years ago

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

#8 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF