You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using phosphor-host-ipmid at SRCREV = "a23af1206bc4c835516909c87c71be0e7428264c" (this is slightly out of date), when I run ipmitool commands, such as ipmitool sdr or ipmitool fru on the host or BMC I get something like this:
Get SDR 004b command failed: Invalid data field in request
Get SDR 004b command failed: Invalid data field in request
Get SDR 004b command failed: Invalid data field in request
Get SDR 004b command failed: Invalid data field in request
Get SDR 004b command failed: Invalid data field in request
I can recreate this in qemu, less sensors so the number is lower.
~# ipmitool sdr
CPU | no reading | ns
Memory | no reading | ns
Storage RW | no reading | ns
Get SDR 0005 command failed: Invalid data field in request
Get SDR 0005 command failed: Invalid data field in request
Get SDR 0005 command failed: Invalid data field in request
Get SDR 0005 command failed: Invalid data field in request
Get SDR 0005 command failed: Invalid data field in request
The error is printed to stderr so it is pretty easy to ignore, but it winds up causing ipmitool commands to retry and bunch and take a lot longer to exit than they should. It seems as if ipmitool commands are exiting cleanly, despite the error, but in this case that is actually good as all of the expected data is present.
I unfortunately cannot share source, but I believe this can be recreated by simply enabling dynamic sensors.
The text was updated successfully, but these errors were encountered:
This was resolved by @zevweiss by adding the following snippet to phosphor-ipmi-config.bbappend:
do_install:append() {
# the default dummy data provided for this file causes breakage in
# Get SDR commands. Clearing out the provided entity-map entirely
# avoids the issue.
echo "[]" > ${D}${datadir}/ipmi-providers/entity-map.json
}
I'll leave this open for maintainers to decide whether or not that is a sufficient fix.
I am using phosphor-host-ipmid at
SRCREV = "a23af1206bc4c835516909c87c71be0e7428264c"
(this is slightly out of date), when I runipmitool
commands, such asipmitool sdr
oripmitool fru
on the host or BMC I get something like this:I can recreate this in qemu, less sensors so the number is lower.
The error is printed to stderr so it is pretty easy to ignore, but it winds up causing
ipmitool
commands to retry and bunch and take a lot longer to exit than they should. It seems as ifipmitool
commands are exiting cleanly, despite the error, but in this case that is actually good as all of the expected data is present.I unfortunately cannot share source, but I believe this can be recreated by simply enabling dynamic sensors.
The text was updated successfully, but these errors were encountered: