Project

General

Profile

Actions

Bug #10779

open

Memory detection of Xen hosts is incorrect

Added by Florian Heigl over 7 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Fusion Inventory seems to only look at /proc/meminfo to detect the memory a Xen host has.

That will reflect the memory assigned the dom0 - likely 2-16GB, whereas all the other ram is managed by the hypervisor.
The problem here is that Rudder uses that to fill the field named "Total physical memory (RAM)"

That is wrong. Total physical memory is obtained only via xl info | grep total_memory (newer systems) or xm info | grep total_memory (old systems)

It matters, really:
In my example server the difference between the two is just about 990GB.

That way you can't apply any rule-based tuning profiles (not that I have one yet, but not that I could have one, either ;-)

Actions

Also available in: Atom PDF