Bug 1840546

Summary: ipmitool pef info should include a new line after command output
Product: Red Hat Enterprise Linux 8 Reporter: Vaclav Dolezal <vdolezal>
Component: ipmitoolAssignee: Vaclav Dolezal <vdolezal>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: ovasik, rasibley, rvr
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipmitool-1.8.18-16.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1627527 Environment:
Last Closed: 2020-11-04 03:17:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vaclav Dolezal 2020-05-27 08:01:25 UTC
+++ This bug was initially created as a clone of Bug #1627527 +++

Description of problem:
'ipmitool pef status' or 'ipmitool pef info' should include a new line after the command output
is displayed

Version-Release number of selected component (if applicable):
ipmitool-1.8.18-7.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. 'ipmitool pef info' or 'ipmitool pef status'
2.
3.

Actual results:
~]# ipmitool pef status
 09/10/2018 15:22:12 | 0x06b6 | 0xffff | 0x06b6 | PEF | Alert,Power-off,Reset,Power-cycle,OEM-defined~]# ipmitool pef info
 0x51 | 20 | 120 | ffffffff-ffff-ffff-ffff-ffffffffffff | Alert,Power-off,Reset,Power-cycle,Diagnostic-interrupt


Expected results:
~]# ipmitool pef status
 09/10/2018 15:22:12 | 0x06b6 | 0xffff | 0x06b6 | PEF | Alert,Power-off,Reset,Power-cycle,OEM-defined
~]# ipmitool pef info
 0x51 | 20 | 120 | ffffffff-ffff-ffff-ffff-ffffffffffff | Alert,Power-off,Reset,Power-cycle,Diagnostic-interrupt


Additional info:


Fix is already in upstream master branch

Comment 2 Rachel Sibley 2020-06-02 12:56:14 UTC
Hi sorry for the delay I was on pto, all set!

Comment 6 Rachel Sibley 2020-09-08 22:26:24 UTC
ALL TESTS PASSED

Verified as fixed, pef info/status commands now have a new line break

Before
~~~~~~~~~~~~~~~~
[root@ci-vm-10-0-139-249 ~]# rpm -q ipmitool
ipmitool-1.8.18-14.el8.x86_64

[root@ci-vm-10-0-139-249 ~]# ipmitool -I lanplus -H 10.9.103.29 -U ADMINISTRATOR -P password pef info
Unable to Get Channel Cipher Suites
 0x51 | 32 | 16 | 37353532-3538-4d58-5137-333630304231 | Alert,Power-off,Reset,Power-cycle,Diagnostic-interrupt[root@ci-vm-10-0-139-249 ~]# ipmitool -I lanplus -H 10.9.103.29 -U ADMINISTRATOR -P password pef status
Unable to Get Channel Cipher Suites
 08/10/2020 09:14:20 | 0x040e | 0xffff | 0x040e[root@ci-vm-10-0-139-249 ~]# 


After
~~~~~~~~~~~~~~~~
[root@ci-vm-10-0-139-249 ~]# rpm -q ipmitool
ipmitool-1.8.18-17.el8.x86_64

[root@ci-vm-10-0-139-249 ~]# ipmitool -I lanplus -H 10.9.103.29 -U ADMINISTRATOR -P password pef status
Unable to Get Channel Cipher Suites
 08/10/2020 09:14:20 | 0x040e | 0xffff | 0x040e

[root@ci-vm-10-0-139-249 ~]# ipmitool -I lanplus -H 10.9.103.29 -U ADMINISTRATOR -P password pef info
Unable to Get Channel Cipher Suites
 0x51 | 32 | 16 | 37353532-3538-4d58-5137-333630304231 | Alert,Power-off,Reset,Power-cycle,Diagnostic-interrupt

Comment 9 errata-xmlrpc 2020-11-04 03:17:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ipmitool bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4720