Bug 1267382 - ipmitool event file results in 'Platform Event Message command failed: Request data length invalid'
ipmitool event file results in 'Platform Event Message command failed: Reques...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipmitool (Show other bugs)
7.2
Unspecified Linux
unspecified Severity medium
: rc
: ---
Assigned To: Josef Ridky
Rachel Sibley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-29 17:01 EDT by Rachel Sibley
Modified: 2017-07-07 12:28 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rachel Sibley 2015-09-29 17:01:48 EDT
Description of problem:
ipmitool event file results in the following error when restoring the sel log:
Platform Event Message command failed: Request data length invalid

Not reproducible on all systems.

Version-Release number of selected component (if applicable):
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 Beta (Maipo)

# uname -r
3.10.0-319.el7.x86_64

How reproducible:
Not reproducible on all systems

Steps to Reproduce:
1. ipmitool sel clear
2. mktemp
3. ipmitool sel list
4. ipmitool sel save /tmp/tmp.GBZ113va2E
5. ipmitool sel clear
6. ipmitool event file /tmp/tmp.GBZ113va2E

Actual results:
Platform Event Message command failed: Request data length invalid

Expected results:
No error

Additional info:
# ipmitool sel clear
Clearing SEL.  Please allow a few seconds to erase.

# mktemp
/tmp/tmp.GBZ113va2E

# ipmitool sel list
   1 | 09/29/2015 | 20:41:32 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted

#  ipmitool sel save /tmp/tmp.GBZ113va2E
   1 | 09/29/2015 | 20:41:32 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted

# ipmitool sel clear
Clearing SEL.  Please allow a few seconds to erase.

# ipmitool event file /tmp/tmp.GBZ113va2E
   0 |  Pre-Init  |0000000000| Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
Platform Event Message command failed: Request data length invalid

# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            15
Model:                 6
Model name:            Intel(R) Xeon(TM) CPU 3.73GHz
Stepping:              4
CPU MHz:               3733.000
BogoMIPS:              7449.97
Virtualization:        VT-x
L1d cache:             16K
L2 cache:              2048K
NUMA node0 CPU(s):     0-7
Comment 6 Rachel Sibley 2017-07-07 12:28:08 EDT
Hi Josef, I'm still seeing it on with the latest ipmitool in 7.4:

[root@dell-pe1950-01 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)

[root@dell-pe1950-01 ~]# rpm -q ipmitool
ipmitool-1.8.18-5.el7.x86_64

[root@dell-pe1950-01 ~]# ipmitool sel clear
Clearing SEL.  Please allow a few seconds to erase.

[root@dell-pe1950-01 ~]# mktemp
/tmp/tmp.FCNa5H6h3i

[root@dell-pe1950-01 ~]# ipmitool sel list
   1 | 07/07/2017 | 16:24:05 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
   2 | 07/07/2017 | 16:24:17 | Battery #0x11 | Failed | Asserted

[root@dell-pe1950-01 ~]# ipmitool sel save /tmp/tmp.FCNa5H6h3i
   1 | 07/07/2017 | 16:24:05 | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
   2 | 07/07/2017 | 16:24:17 | Battery #0x11 | Failed | Asserted

[root@dell-pe1950-01 ~]# ipmitool sel clear
Clearing SEL.  Please allow a few seconds to erase.

[root@dell-pe1950-01 ~]# ipmitool event file /tmp/tmp.FCNa5H6h3i
   0 |  Pre-Init  |0000000000| Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
Platform Event Message command failed: Request data length invalid
   0 |  Pre-Init  |0000000000| Battery #0x11 | Failed | Asserted
Platform Event Message command failed: Request data length invalid

Note You need to log in before you can comment on or make changes to this bug.