This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Device Report audit results #871
Labels
database
involves database schema or config changes, or non-trivial query authoring
device reports
Involves data coming from reporters
discussion
needs-reporter
needs accompanying changes in conch-reporter/livesys
validation
Device Report Audit
Categories
CPUS
cpus[]
is an array of logical processors, with one array member per logical CPU. Each member contains information that is specific to that logical CPU.Before
cpus[]
existed, we used and still have a section that counts the physical CPUs present and uses themodel_name
string from one of them to identify the type:The
CpuCount
validation already counts the number of processors by counting the number of array members incpus[]
, however that is in error as it is a count of logical CPUs, not physical CPUs. This is probably better, as core count is going to be more critical than socket count.Can Remove
flags[]
model_family
model_stepping
core_id
clock
microcode
Needs Validation
model_name
Disks
disks
is one of the remaining sets of data that is still in hash form instead of an array (disks[]
). Some of the info is not validated on specifically, but is used to help locate a disk in the system should it need attention during the preflight process. This means that we may retain information that is not directly used for validation purposes, but is used to support preflight in other ways.All information in this set is used in some way, or needs to be.
Example (SATA)
Example (NVMe)
Needs Validation
firmware
model
Interfaces
interfaces
is also a legacy hash of hashes and must be converted to arrays. This section holds data on each physical ethernet interface in the system and its LLDP peers, which is required for determining proper switch wiring. All data in this section is used, and it currently does not lack any validations.Example
DIMMs
dimms[]
is an array of memory modules, with one member per module. We currently use the info in this area to validate total system memory (RamTotal
), DIMM count (DimmCount
) and where DIMMs are plugged in on the motherboard (DimmMap
).Example (populated slot)
Example (unpopulated slot)
As a part of past efforts, we now count DIMMs and the amount of memory in a system by counting
dimm[]
array members and summing the capacities of them using thememory-size
member in each DIMM. This means we can completely remove the separatememory
section of the report, which contains a toal count (in GB) of memory and a total count of DIMMS:"memory": { "total": 768, "count": 24 }
Must Retain
memory-locator
DimmMap
memory-serial-number
DimmMap
memory-size
RamTotal
All other
memory-*
elements can be elided at this time.Special Item: MegaRAID cards
There are currently a few things that may or may not show up in a given report. As a part of the Ceres v2 rollout, we had to ensure that an LSI/Avago/Broadcom MegaRAID card was present in the system. The presense of one and technical details concerning it will show up in a
megaraid[]
array in the report. We must formulate a validation for signalling its presensce.The text was updated successfully, but these errors were encountered: