Re: [ceph-users] crushtool won't compile its own output

2013-07-08 Thread Dan van der Ster
On 2013-07-08 9:56 PM, "Sage Weil" wrote: > > On Mon, 8 Jul 2013, Gregory Farnum wrote: > > That explanation makes quite a lot of sense ? unfortunately the crush > > parser isn't very intelligent right now. > > > > Could you put a ticket in the tracker (ceph.com/tracker) describing > > this issue?

Re: [ceph-users] crushtool won't compile its own output

2013-07-08 Thread Sage Weil
On Mon, 8 Jul 2013, Gregory Farnum wrote: > That explanation makes quite a lot of sense ? unfortunately the crush > parser isn't very intelligent right now. > > Could you put a ticket in the tracker (ceph.com/tracker) describing > this issue? :) Already there, http://tracker.ceph.com/iss

Re: [ceph-users] crushtool won't compile its own output

2013-07-08 Thread Gregory Farnum
That explanation makes quite a lot of sense — unfortunately the crush parser isn't very intelligent right now. Could you put a ticket in the tracker (ceph.com/tracker) describing this issue? :) -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Mon, Jul 8, 2013 at 12:45 PM, Da

Re: [ceph-users] crushtool won't compile its own output

2013-07-08 Thread Dan Van Der Ster
Hi again, I realized that the problem is caused by the space in our room name '0513 R-0050'. If I change the space to a dash, it compiles. The strange thing is that neither ceph osd crush add-bucket nor ceph osd crush set complain about the space in a bucket name. And I didn't find a way to es

[ceph-users] crushtool won't compile its own output

2013-07-08 Thread Dan Van Der Ster
Hi, We are just deploying a new cluster (0.61.4) and noticed this: [root@andy01 ~]# ceph osd getcrushmap -o crush.map got crush map from osdmap epoch 2166 [root@andy01 ~]# crushtool -d crush.map -o crush.txt [root@andy01 ~]# crushtool -c crush.txt -o crush2.map crush.txt:640 error: parse error at