Re: [ceph-users] crushtool mappings wrong

2017-02-17 Thread Gregory Farnum
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 >

Re: [ceph-users] crushtool mappings wrong

2017-02-16 Thread Blair Bethwaite
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

Re: [ceph-users] crushtool mappings wrong

2017-02-16 Thread Brian Andrus
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

[ceph-users] crushtool mappings wrong

2017-02-16 Thread Blair Bethwaite
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