Fog Version: 1.5.0 RC 12
Case Asset Tag:
I had the client machine re-run the inventory task and as I was watching, the field for Case Asset Number was blank.
Reviewing the FOS
funcs.sh script I saw that the
doInventory function assigns the chassis-asset-tag using this:
casesasset=$(dmidecode -s chassis-asset-tag)
fog.inventory the following is used to display the case asset tag:
dots "Case Asset Number:"
Changing the echo statement to use
$casesasset while in FOS Debug mode, fixes the echo that occurs during the inventory task.
The case asset tag, however, is still not being recorded in the database. I think there is just a variable mismatch where some code is using ‘caseasset’ and other code is using ‘casesasset’. I have not been able to confirm this yet.
Hard Disk Model, Firmware and Serial Number:
I think there is a compatibility issue with NVMe drives. I have looked at a couple of different clients and it seems that only the machines that have NVMe drives is impacted. Here is the output I gathered on a Dell Optiplex 5050 with a M.2 256GB PCIe Class 40 SSD for FOS Debug.
# lsblk -dpno KNAME -I 3,8,9,179,202,253,259 | uniq | sort -V
# hdparm -i /dev/nvme0n1
HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device