Hardware inventory

Luna keeps a hardware inventory per node: manufacturer, product and serial number, CPUs and memory, the BIOS version, disks, NICs, GPUs and — where a BMC reports it — every firmware component with its version. It is collected, never typed in, and it is what the BIOS and firmware features read their facts from.

Every node carries one snapshot per source:

Source Collected by When Answers for a node that is switched off?
inband the node itself, while it installs early in every install: after the BMC is set up and before the disks are partitioned, so the disks are recorded as found and a node whose install fails later still reports what it is no
redfish the controller, from the BMC automatically a few minutes after a node's BMC has been set up during install, and on request yes

The redfish source needs BMC access over Redfish; nodes without a redfishsetup keep an inband inventory only.

Reading it

# luna node listinventory
+---------+--------+-----------+---------------+------+-------------+-------+-----------------+------+------+---------------------+
|   Node  | Source |  Product  |    Serial     | CPUs | Memory (MB) | Disks | Disk Total (GB) | GPUs | NICs |       Updated       |
+---------+--------+-----------+---------------+------+-------------+-------+-----------------+------+------+---------------------+
| node002 | inband | VMware7,1 | VMware-42 33… |  2   |    15993    |   2   |        52       |  0   |  1   | 2026-09-14 19:29:00 |
+---------+--------+-----------+---------------+------+-------------+-------+-----------------+------+------+---------------------+

# luna node showinventory node002

showinventory prints the full record: the summary fields, then a table per disk, per NIC and per GPU, and the firmware components the BMC listed. -R gives the same as JSON.

Refreshing over Redfish

# luna node refreshinventory node001
# luna node refreshinventory node[001-064]
# luna node refreshinventory -g gpu

The collection is queued and runs from the active controller; a node whose BMC does not answer is reported, not retried for ever. Only the latest snapshot per source is kept; there is no history.

What is recorded

Firmware components are stored as the BMC's own inventory names them, with their version and whether the BMC says they can be updated. Luna names none of them itself, so a board exposing a component nobody anticipated is stored correctly. The BIOS version and, where the board allows it, a digest of the current BIOS settings are recorded too — that is what BIOS configuration status and the firmware catalogue compare against.