On Thu, Feb 16, 2017 at 3:51 PM, Blair Bethwaite
wrote:
> Hi Brian,
>
> After another hour of staring at the decompiled crushmap and playing around
> with crushtool command lines I finally looked harder at your command line
> and noticed I was also specifying "--simulate", removing that gives me
>
Hi Brian,
After another hour of staring at the decompiled crushmap and playing around
with crushtool command lines I finally looked harder at your command line
and noticed I was also specifying "--simulate", removing that gives me
mappings that make much more sense (at least for the existing produ
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 ra
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