Bug 1727203

Summary: UnicodeEncodeError error occurs when run virt-who in ESX mode with server option containing non-ascii characters.
Product: Red Hat Enterprise Linux 8 Reporter: yuefliu <yuefliu>
Component: virt-whoAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Eko <hsun>
Severity: low Docs Contact:
Priority: medium    
Version: 8.1CC: csnyder, kuhuang, wpoteat
Target Milestone: rcKeywords: Triaged
Target Release: 8.2Flags: pm-rhel: mirror+
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-04-28 15:37:04 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 1 William Poteat 2020-02-10 18:24:44 UTC
It appears that the suds package makes a specific check to ensure ascii only server names:

File "/usr/lib/python3.6/site-packages/suds/transport/__init__.py", line 85, in __set_URL
    url.encode("ascii")  # Check for non-ASCII characters.

This means that we must follow that check. Added an ascii check to our code to capture this requirement.

Comment 7 errata-xmlrpc 2020-04-28 15:37:04 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, 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:1592