v10.2.5 - crushtool working fine to show rack mappings. How are you running
the command? Get some sleep! ha.
crushtool -i /tmp/crush.map --test --ruleset 3 --num-rep 3 --show-mappings
rule byrack {
ruleset 3
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type rack
step emit
}
On Thu, Feb 16, 2017 at 7:10 AM, Blair Bethwaite <[email protected]>
wrote:
> Am I going nuts (it is extremely late/early here), or is crushtool
> totally broken? I'm trying to configure a ruleset that will place
> exactly one replica into three different racks (under each of which
> there are 8-10 hosts). crushtool has given me empty mappings for just
> about every rule I've tried that wasn't just the simplest: chooseleaf
> 0 host. Suspecting something was up with crushtool I have now tried to
> verify correctness on an existing rule and it is including OSDs in the
> result mappings that are not even in this hierarchy...
>
> (this is on a 10.2.2 install)
>
> --
> Cheers,
> ~Blairo
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
--
Brian Andrus | Cloud Systems Engineer | DreamHost
[email protected] | www.dreamhost.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com