RHN Satellite raises traceback if no ip6addr value is present during hw sync

Solution Verified - Updated -

Issue

  • If ipv6 is disabled on the client machine then running rhn-profile-sync raises
    following traceback messages in the Red Hat Network Satellite server
[error] RHN 916 2012/05/17 06:10:42 -04:00:
("Unknown HW key =`ip6addr'", {'ip6addr': '', 'hostname': 'unknown', 'ipaddr':
'xx.xx.xx.xx', 'class': 'NETINFO'}, {'class': None})
[error] Exception reported from

[error] Time: Thu May 17 06:10:42 2012
[error] Exception type <type 'exceptions.KeyError'>
[error] 
[error] Exception Handler Information
[error] Traceback (most recent call last):
[error]   File
"/usr/share/rhn/server/rhnServer/server_hardware.py", line 266, in __init__
[error]     dict.dict())
[error] KeyError: ("Don't know how to parse key
`ip6addr''", {'ip6addr': '', 'hostname': 'unknown', 'ipaddr': 'xx.xx.xx.xx', 'class': 'NETINFO'})
[error] 
  • Why do I see this in my Red Hat Network Satellite logs?
[Mon Jun 25 09:46:16 2012] [error] proxy: AJP: failed to make connection to backend: localhost
RHN 3417 2012/06/25 09:51:48 +01:00: ("Unknown HW key =`ip6addr'", {'ip6addr': '', 'hostname': 'examplehost', 'ipaddr': '10.0.0.1', 'class': 'NETINFO'}, {'class': None})

Environment

  • Red Hat Network Satellite 5.4 or 5.4.1 (running on Red Hat Enterprise Linux 5 or 6)
  • spacewalk-* packages with versions older than 1.2.13-75

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content