Project

General

Custom queries

Profile

Actions

Bug #16577

closed

String::to_gb fails to parse "0 Bytes"

Added by Brandon Weeks over 8 years ago. Updated almost 7 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
#2

Updated by Brandon Weeks over 8 years ago

#3

Updated by Marek Hulán over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • Translation missing: en.field_release set to 160
#4

Updated by Marek Hulán over 8 years ago

  • Related to Bug #2314: Smaller grains for VM memory/RAM choice needed added
#5

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3854 added
#6

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release deleted (160)
#8

Updated by Marek Hulán over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
#9

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release set to 160
Actions

Also available in: Atom PDF