Bug 1329706

Summary: ipmitool sunoem should print unsupported message for non-sunoem hardware
Product: Red Hat Enterprise Linux 6 Reporter: Rachel Sibley <rasibley>
Component: ipmitoolAssignee: Josef Ridky <jridky>
Status: CLOSED WONTFIX QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-25 07:55:35 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:

Description Rachel Sibley 2016-04-22 16:16:35 UTC
Description of problem:
If ipmitool sunoem is executed on an unsupported host, a usage message should be printed stating it's running on unsupported hardware.

Version-Release number of selected component (if applicable):
~]# rpm -q ipmitool
ipmitool-1.8.15-2.el6.i686
~]# uname -r
2.6.32-642.el6.i686
~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)

How reproducible:
Always

Steps to Reproduce:
1. ipmitool sunoem <command>
2.
3.

Actual results:
~]# ipmitool sunoem version
Sun OEM Get SP Version Failed: 193
~]# ipmitool sunoem cli
Failed to connect: 
~]# ipmitool sunoem led get all
#

Expected results:
~]# ipmitool sunoem version
Sun OEM Get SP Version Failed: Unsupported Command
~]# ipmitool sunoem cli
Failed to connect: Unsupported Command
~]# ipmitool sunoem led get all
Failed to connect: Unsupported Command

Additional info:

Comment 2 Josef Ridky 2017-09-25 07:55:35 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the
Production 3 Phase, Critical impact Security Advisories (RHSAs) and
selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as
they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase
and will be marked as CLOSED/WONTFIX. If this remains a critical
requirement, please contact Red Hat Customer Support to request
a re-evaluation of the issue, citing a clear business justification. Note
that a strong business justification will be required for re-evaluation.
Red Hat Customer Support can be contacted via the Red Hat Customer Portal
at the following URL:

https://access.redhat.com/