Bug 639226

Summary: error sending hardware profile when non-xmlrpc-compliant chars are returned by dmidecode
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: rhnlibAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.5CC: ahumbe, cperry, dmair, jhutar, jwest, marcobillpeter, mosvald, mpoole, msuchy, mzazrivec, pm-eus, pnovotny, psklenar, tao, vgaikwad, xdmoon
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn-client-tools-0.4.20-33.el5_5.4 rhnlib-2.5.22-3.el5_5.1 Doc Type: Bug Fix
Doc Text:
Previously, the presence of less commonly used characters from Latin-1 and UTF-8 character sets in the hardware name rendered the system unable to register to both Red Hat Network and Red Hat Network Satellite Server. This error has been fixed, and the system registration now works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-22 17:05:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 618250    
Bug Blocks:    

Description RHEL Program Management 2010-10-01 07:31:47 UTC
This bug has been copied from bug #618250 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 7 Jaromir Hradilek 2010-10-05 08:46:17 UTC
    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:
Previously, the presence of less commonly used characters from Latin-1 and UTF-8 character sets in the hardware name rendered the system unable to register to both Red Hat Network and Red Hat Network Satellite Server. This error has been fixed, and the system registration now works as expected.

Comment 9 Pavel Novotny 2010-10-20 14:10:50 UTC
Verified.

Used reproducer from https://bugzilla.redhat.com/show_bug.cgi?id=618250#c9

-------------------
# PYTHONPATH=/usr/share/rhn python -c "from up2date_client import hardware;
from pprint import pprint;  pprint(hardware.Hardware())"
...
...
{ 'bus': u'pci',
  'class': 'OTHER',
  'desc': u'Intel Corporation|80332 [Dobson signs:\xa9\x0c\x0e\xae\x01\x12\x10]
I/O processor (A-Segment Bridge) ',
  'detached': 0,
  'driver': 'unknown',
  'pciType': 1 }
...
...

# rpm -q rhnlib rhn-client-tools
rhnlib-2.5.22-3.el5_5.1
rhn-client-tools-0.4.20-33.el5_5.4
# rhnreg_ks --serverUrl=... --username=... --password=... --force
-------------------
Passed, machine registered without any error nor traceback on client/server side.

Comment 12 errata-xmlrpc 2010-10-22 17:05:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0790.html