Hi, I´ve found a bug in one of the perl format helpers, used by
The file is:
Line: 75
There is a method
We use the
A FIX for now is, to remove the $precision from sprintf and just use the hardcoded fallback value 2.
Bash:
pvesh get /cluster/resources
The file is:
/usr/share/perl5/PVE/Format.pm
Line: 75
There is a method
render_bytes
which expects the second parameter to be INT $precision, but instead receives some STRING "HASH(0x123456789)".We use the
pvesh get
to extract information for our monitoring, which results in bad disk space sizes (see attached png).A FIX for now is, to remove the $precision from sprintf and just use the hardcoded fallback value 2.