| Summary: | An unexpected message is outputed with -v option of ipmitool. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Masahiro Matsuya <mmatsuya> |
| Component: | OpenIPMI | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.6 | CC: | azelinka, ovasik, pkovar, psklenar |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Prior to this update, a debug message "Discovered local IPMB address [address]" was included in the output of "ipmitool -v". With this update, the message severity has been lowered and it is only shown when the "-v" option is used multiple times to enable very verbose debug output.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-05 08:27:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1352.html
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Prior to this update, a debug message "Discovered local IPMB address [address]" was included in the output of "ipmitool -v". With this update, the message severity has been lowered and it is only shown when the "-v" option is used multiple times to enable very verbose debug output.
|
Description of problem: A customer is using -v (verbose) option of ipmitool to see the details of sensors. It's not for making it output messages for debugging. Simply, they want to see another format including the details, which is outputed by -v option. After they upgraded to 5.6, they saw a following message by -v option, which was not outputed with previous release. Discovered local IPMB address 0x20 It seems that it's just a notification, and it's outputed to stderr. But, they don't want to see this messages because the output made their script not to work, which didn't expect the message. Redirecting stderr into /dev/null can be a workaround in this case. But, the -v option should not be used for two purposes. (One is for debug message or notification. The other is for outputing it with another format.) So, one suggestion is adding another option (for example, -D) for outputing debug messages or notification. Otherwise, make it output the debug messages or notification only with more than verbose level 2 (like -vv or -vvv), in order that customer can use verbose level 1 just to make it output another format without any debug messages. This customer wants us to change the log level of the message into LOG_DEBUG. 123 lprintf(LOG_INFO, "Discovered local IPMB address " 124 "0x%x", local_addr); ==> 123 lprintf(LOG_DEBUG, "Discovered local IPMB address " 124 "0x%x", local_addr); Version-Release number of selected component (if applicable): OpenIPMI-2.0.16-11.el5 How reproducible: Always Steps to Reproduce: 1. Run ipmitool -v sdr entity 7 Actual results: "Discovered local IPMB address 0x20" is outputed. Expected results: "Discovered local IPMB address 0x20" is not outputed. Additional info: