Bug 1450738

Summary: It displays exception info to rhsm log when run virt-who with wrong rhsm_hostname/rhsm_port
Product: Red Hat Enterprise Linux 7 Reporter: yuefliu <yuefliu>
Component: virt-whoAssignee: Chris Snyder <csnyder>
Status: CLOSED ERRATA QA Contact: Eko <hsun>
Severity: low Docs Contact:
Priority: low    
Version: 7.4CC: hsun, khowell, wpoteat
Target Milestone: rcKeywords: Triaged
Target Release: 7.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 19:22:11 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:

Comment 2 yuefliu 2017-05-15 06:08:19 UTC
it also exits with wrong rhsm_prefix

Comment 3 Kevin Howell 2017-05-15 14:35:21 UTC
Note to dev: let's log at error level just the message (ex. "gaierror: [Errno -2] Name or service not known"), and log at *debug* level the actual traceback.

Comment 4 William Poteat 2020-05-08 13:27:42 UTC
When set to debug mode, the stack trace does appear in the log.
When not set to debug mode, only the error message appears, as requested.

Comment 9 errata-xmlrpc 2020-09-29 19:22:11 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 (virt-who bug fix 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/RHBA-2020:3865