Error: at /usr/share/fai/setup-storage//Parser.pm line 382
Karl Koch
cypher_head at gmx.net
Wed Sep 4 09:28:14 CEST 2013
Am 03.09.2013 14:46, schrieb Thomas Neumann:
> 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.
Good morning, is the same Problem with 'C':
# setup-storage >> store.txt
setup-storage is running in test-only mode
Starting setup-storage 1.4
Finding all volume groups
Finding volume group "vg_01"
Finding all volume groups
Finding volume group "vg_01"
Finding all volume groups
Finding volume group "vg_01"
Finding all volume groups
Finding volume group "vg_01"
Use of uninitialized value in string eq at
/usr/share/fai/setup-storage//Commands.pm line 1142.
Cannot satisfy pre-depends for true:
cleared2_/dev/sdb,exist_/dev/sdb1,flag_lvm_/dev/sdb1 -- system left
untouched.
# locale -a
C
C.UTF-8
POSIX
/# locale
LANG=
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
Now exists on the server a Volume Group.
A log file is appended in
More information about the linux-fai-devel
mailing list