[rhn-users] Hardware List Refresh failure

Nikolaos Mitsis mitsis at ceid.upatras.gr
Fri Mar 16 11:24:27 UTC 2007


Greetings,

I've installed RH5 yesterday on two machines, one server and one client
version. The server version is installed on a NEC server and the client
on a no-name amd64 pc.

All seems ok but on the client I'm getting the following when I do a
hardware list refresh via RHN:

Client execution returned "Error refreshing system hardware" (code 12)

Running rhn-profile-sync manualy I get:

# rhn-profile-sync -vv
updating login info
logging into up2date server
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': ... things deleted ... '3600.0'}
Updating package profile...
Updating package profile
Updating hardware profile...
An error has occurred:
Internal Server Error
See /var/log/up2date for more information

# tail -20 /var/log/up2date
[Fri Mar 16 12:28:53 2007] up2date Updating package profile
[Fri Mar 16 12:29:02 2007] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhn-profile-sync", line 54, in ?
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn-profile-sync", line 45, in main
    rhnHardware.updateHardware()
  File "/usr/share/rhn/up2date_client/rhnHardware.py", line 12, in
updateHardware
    hardwareList)
  File "/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 323, in
_request
    raise pe
xmlrpclib.ProtocolError: <ProtocolError for xmlrpc.rhn.redhat.com
/XMLRPC: 500 Internal Server Error>


Rescheduling in RHN an running rhn_check I get:

# rhn_check -vv
D: check_action {'action': "<?xml
version='1.0'?>\n<methodCall>\n<methodName>hardware.refresh_list</methodName>\n<params>\n</params>\n</methodCall>\n",
'version': 2, 'id': 50101425}
updating login info
logging into up2date server
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': ... stuff deleted .... }
D: handle_action {'action': "<?xml
version='1.0'?>\n<methodCall>\n<methodName>hardware.refresh_list</methodName>\n<params>\n</params>\n</methodCall>\n",
'version': 2, 'id': 50101425}
D: handle_action actionid = 50101425, version = 2
D: do_call hardware.refresh_list ()
ERROR: sending hardware database for System Profile
D: Sending back response (12, 'Error refreshing system hardware', {})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: local action status:  (0, 'rpm database not modified since last
update (or package list recently updated)', {})


This only applies in the client PC and not in the server. I've also
checked it manualy on the server and it's ok.

Also, the package list is updated (I've run rhn-profile-sync after
installing a package and shows up in RHN), only the hardware list seems
to have the problem.

Is it possible that some hardware or software missconfiguration that is
causing this or is it a problem with RHN? Is there something else I can
check from my side?




More information about the rhn-users mailing list