Bug #20559
closedcrush_ruleset is invalid command in luminous
0%
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
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
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/ ?
Updated by Nathan Cutler over 6 years ago
- Status changed from 12 to Fix Under Review
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
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #22404: luminous: crush_ruleset is invalid command in luminous added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved