Skip to content

get_fru_inventory() CompletionCodeError on Asus ASMB5-iKVM #187

@mark99i

Description

@mark99i
Traceback (most recent call last):
  File "C:\Users\mark\PycharmProjects\test\ipmi_fetch_info.py", line 16, in <module>
    ipmi.inventory_device()
  File "C:\Users\mark\PycharmProjects\test\ipmi.py", line 104, in inventory_device
    self.data['fru'] = self._decode_fru(self._session.get_fru_inventory(), device_id)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\fru.py", line 156, in get_fru_inventory
    fru.product_info_area = self.get_fru_product_area(fru_id=fru_id)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\fru.py", line 116, in get_fru_product_area
    data = self._read_fru_area(offset=header.product_info_area_offset,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\fru.py", line 100, in _read_fru_area
    return self.read_fru_data(offset=offset, count=count, fru_id=fru_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\fru.py", line 70, in read_fru_data
    rsp = self.send_message_with_name('ReadFruData', fru_id=fru_id,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\__init__.py", line 213, in send_message_with_name
    check_rsp_completion_code(rsp)
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\utils.py", line 72, in check_rsp_completion_code
    raise CompletionCodeError(
pyipmi.errors.CompletionCodeError: CompletionCodeError cc=0xcc desc=Invalid data field in Request

get_lan_config_param() some error

File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\lan.py", line 179, in get_lan_config_param
    check_rsp_completion_code(rsp)
  File "C:\Users\mark\PycharmProjects\test\.venv\Lib\site-packages\pyipmi\utils.py", line 72, in check_rsp_completion_code
    raise CompletionCodeError(
pyipmi.errors.CompletionCodeError: CompletionCodeError cc=0xcc desc=Invalid data field in Request

get_chassis_status() is working

how I can help fix this?

# ipmitool -I lanplus -H <> -U <> -P <> fru
FRU Device Description : Builtin FRU Device (ID 0)
 Chassis Type          : Main Server Chassis
 Chassis Part Number   : xxxxxxx
 Chassis Serial        : xxxxxxx
 Board Mfg Date        : Fri Aug 18 14:38:00 2006 MSD
 Board Mfg             : Your Board Manf.
 Board Product         : Your Board Name
 Board Serial          : xxxxxxx
 Board Part Number     : xxxxxxx
Segmentation fault (core dumped)

# ipmitool -I lanplus -H <> -U <> -P <> mc info
Device ID                 : 32
Device Revision           : 1
Firmware Revision         : 1.10
IPMI Version              : 2.0
Manufacturer ID           : 4163
Manufacturer Name         : Quarry Technologies
Product ID                : 2883 (0x0b43)
Product Name              : Unknown (0xB43)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    IPMB Event Generator
    Chassis Device
Aux Firmware Rev Info     :
    0x01
    0x00
    0x00

# ipmitool -V
ipmitool version 1.8.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions