Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Bucket Tree & Rules Help

I am having problem creating anything beside the default replicated_rule. I am not sure what i am doing wrong but the pool kept on showing INACTIVE so i cannot create the "CephFS File Systems" and therefore cannot create cifs storage. But when i switch back to default replicated_rule it suddenly work even without changing the tree below back its original format.

For example when i use this rule:

replicated-chassis-and-all-below

{
id 5
type replicated
step take default
step chooseleaf firstn 0 type chassis
step chooseleaf firstn 0 type host
step emit
}

with bucket tree or ceph osd tree:

 

Pools:

Showing 1 to 3 of 3 entries

the crush rule looks incorrect, try

step take default class ssd
step chooseleaf firstn 0 type chassis
step emit

This it turn out like you said a issue with my script. Thanks I went and look at more example and barely scratching the surface in understanding the usage of it. But i at least figure how to to change the failure domain now thanks!