Package: fai-client
Version: 3.2.17~lenny1
Tags: lenny
In the version of setup-storage in lenny, the Regex on Line 313 of
Volumes.pm:
/^\s*"(\S+)"\s+\d+\.\d+ MB\s+\[\d+\.*\d* MB\s+used \/ \d+\.\d+ MB\s+free\]$/
is too strict, as it dies when a VG is full, like this:
Starting setup-storage 1.0.3
Using config file: /var/lib/fai/config/disk_config/NEWSWEB-WEB
Executing: parted -s /dev/sda unit TiB print
Executing: parted -s /dev/sda unit B print free
Executing: parted -s /dev/sda unit chs print free
Executing: vgdisplay --units m -s
Unexpected vgdisplay output "vgMain" 69280.00 MB [69280.00 MB used / 0
MB free]
This code no longer exists in FAI 3.3, but it should be a trivial fix if
a ~lenny2 version is released, e.g. change the line to:
/^\s*"(\S+)"\s+\d+\.\d+ MB\s+\[\d+\.*\d* MB\s+used \/ \d+\.*\d*
MB\s+free\]$/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]