Project

General

Profile

Actions

Bug #16577

closed

String::to_gb fails to parse "0 Bytes"

Added by Brandon Weeks over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Statistics
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

On some Ubuntu 14.04 boxes with swap disabled facter returns a value of "0 bytes" for the swapfree fact. This is unparseable by String::to_gb which causes /statistics to show an error.

weeks@host:~$ facter swapfree
0 bytes
weeks@host:~$

Files

backtrace.txt backtrace.txt 24.1 KB Brandon Weeks, 09/16/2016 06:23 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2314: Smaller grains for VM memory/RAM choice neededClosedMarek Hulán03/13/2013Actions
Actions

Also available in: Atom PDF