openbmc-tools
openbmc-tools copied to clipboard
openbmctool 1.13 fru print does not print correctly.
The parsing of the data when running fru print does not look right. This is the openbmctool level that is in CORAL 1.13
fru print is not parsing correctly with this last openbmctool update | |
---|---|
it throws everything in one line | |
[yesenia@rzansel59:obmcdump_3_1550167112]$ openbmctool -H przansel12 -U root -P 0penBmc fru printAttempting login...{'Hardware': {'/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm6': {'SerialNumber': '0x36cc3181', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core21': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core20': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core12': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm1': {'SerialNumber': '0x36cc3419', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core11': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core15': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core6': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc': {'SerialNumber': '000000000000', 'FieldReplaceable': 0, 'Model': '', 'PartNumber': '01DH137', 'BuildDate': '', 'UUID': '', 'Manufacturer': 'IBM', 'Present': 1, 'PrettyName': 'BMC PLANAR '}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core18': {'Present': 0, 'Functional': 0, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core8': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core10': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core7': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core13': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm9': {'SerialNumber': '0x36cc334d', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/powersupply1': {'SerialNumber': '82C15Y', 'Model': '2B1D', 'PartNumber': '02CL517', 'Version': '0114011B', 'BuildDate': '', 'Manufacturer': '', 'Present': 1, 'Purpose': 'xyz.openbmc_project.Software.Version.VersionPurpose.Other', 'PrettyName': 'powersupply1'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core4': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm3': {'SerialNumber': '0x36cc31c0', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core17': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core10': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core3': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/fan3': {'Present': 1, 'Functional': 1, 'PrettyName': 'fan3', 'MeetsMinimumShipLevel': 1}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core1': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core1': {'Present': 0, 'Functional': 0, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core22': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core6': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core11': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core17': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core22': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/gv100card3': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core2': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm0': {'SerialNumber': '0x36cc2b9b', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core5': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm14': {'SerialNumber': '0x36cc3279', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core4': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis': {'WaterCooled': 1, 'AirCooled': 1}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core3': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc/ethernet': {'FieldReplaceable': 0, 'Present': 1, 'PrettyName': '', 'MACAddress': '70:e2:84:14:c1:31'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm15': {'SerialNumber': '0x36cc3278', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm11': {'SerialNumber': '0x36cc3351', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/fan1': {'Present': 0, 'Functional': 1, 'PrettyName': 'fan1', 'MeetsMinimumShipLevel': 1}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0': {'SerialNumber': 'YA1934383282', 'FieldReplaceable': 1, 'Model': '', 'Functional': 1, 'Version': '21', 'BuildDate': '1996-01-01 - 00:00:00', 'PartNumber': '02AA966', 'Cached': 0, 'Present': 1, 'Manufacturer': 'IBM', 'PrettyName': 'PROCESSOR MODULE'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core16': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core13': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core2': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm13': {'SerialNumber': '0x36cc3778', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/activation': {'endpoints': ['/xyz/openbmc_project/software/33029bc1', '/xyz/openbmc_project/software/4eb81900']}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core16': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core23': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core9': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc/activation': {'endpoints': ['/xyz/openbmc_project/software/4d824a90', '/xyz/openbmc_project/software/b04fff27']}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core14': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm10': {'SerialNumber': '0x36cc3951', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm8': {'SerialNumber': '0x36cc33a7', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core0': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core7': {'Present': 1, 'Functional': 1, 'PrettyName': ''}, '/xyz/openbmc_project/inventory/system/chassis/motherboard/dimm2': {'SerialNumber': '0x36cc3052', 'FieldReplaceable': 1, 'Model': 'M393A2G40EB2-CTD ', 'Functional': 1, 'Version': '0x00', 'BuildDate': '', 'PartNumber': '', 'Cached': 0, 'Present': 1, 'Manufacturer': '0xce80', 'PrettyName': '0x0c'}, '/xyz/o |
@thalerj?
There's a currently working patch for this and was discovered on an earlier release. I'll verify what level the patch was in and respond shortly.
The patch is here and I recommend creating a new release to pull it in. 761484a11d7027bea1648cca28f3f20a2b2a4f4f