Re: crushtool won't compile its own output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 escape the space in crush.txt (tried \ and ' ').

I gather that either crushtool needs a patch to support spaces or the ceph osd crush commands need to forbid them...

Cheers, Dan





Dan Van Der Ster <daniel.vanderster@xxxxxxx> wrote:


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 ''
[root@andy01 ~]#

So I think this is a bug. crush.txt and crush.map are attached.
Any idea?
Cheers, Dan

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux