Re: crushtool won't compile its own output

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

 



On 2013-07-08 9:56 PM, "Sage Weil" <sage@xxxxxxxxxxx> 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? :)
>
> Already there,
>
>         http://tracker.ceph.com/issues/4779
>

Doh, need to look harder next time.

Cheers, Dan

> > -Greg
> > Software Engineer #42 @ http://inktank.com | http://ceph.com
> >
> >
> > On Mon, Jul 8, 2013 at 12:45 PM, Dan Van Der Ster
> > <daniel.vanderster@xxxxxxx> wrote:
> > > 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
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
> >
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux