Error: at /usr/share/fai/setup-storage//Parser.pm line 382

Thomas Neumann blacky+fai at fluffbunny.de
Tue Sep 3 14:46:11 CEST 2013


Hello

> convert_unit 42,75TiB
> Please report this error to the Debian Bug Tracking System.
>   at /usr/share/fai/setup-storage//Parser.pm line 382

Which locale are you using? "42,75TiB" looks very much like a german locale 
has crept in there somewhere. The setup-storage parser complains it can not 
parse the value. (The parser expects '42.75TiB'.)

possible QuickFix: add 'LC_ALL=C' to class/LAST.var (in your config space)

This overwrite all locale specific variables to use the english locale. FAI 
automatically adds the class LAST to all clients, defining the variable 
there makes sure it is not overwritten by some other class.


Strictly speaking this is a bug (or at least a serious coding flaw) in 
setup-storage. One should never parse command output without setting the 
desired locale beforehand.


bye
thomas


More information about the linux-fai-devel mailing list