[Spacewalk-list] error sending hardware profile to spacewalk server

Edwind Richzendy Contreras Soto richzendy at gmail.com
Fri Jul 3 18:46:28 UTC 2009


Hi, all.

I can't register a machine with Fedora 10 in spacewalk server, i use:

/usr/sbin/rhnreg_ks --serverUrl=http://spacewalk.example.com/XMLRPC
--activationkey=1-71ffe74ddaskldjaldjasljdlkajsdkljsa

this problem it's better explained in a bug[1]

I could register the machine using the following command::


/usr/sbin/rhnreg_ks --nohardware --force
--serverUrl=http://spacewalk.example.com/XMLRPC
--activationkey=1-71ffe74ddaskldjaldjasljdlkajsdkljsa

i use:

[root at callp3e1 ~]# rpm -qa | grep rhn
rhnlib-2.5.12-1.fc10.noarch
rhnsd-4.5.10-1.fc10.i386
rhn-setup-0.6.1-1.fc10.noarch
rhncfg-client-5.9.6-1.fc10.noarch
yum-rhn-plugin-0.5.7-1.fc10.noarch
rhncfg-management-5.9.6-1.fc10.noarch
rhn-check-0.6.1-1.fc10.noarch
rhn-client-tools-0.6.1-1.fc10.noarch
rhncfg-5.9.6-1.fc10.noarch
rhncfg-actions-5.9.6-1.fc10.noarch

[root at callp3e1 ~]# rhn-profile-sync
Actualizando perfil de paquetes...
Actualizando perfil de hardware...
Ha ocurrido un error:
<type 'exceptions.AttributeError'>
Vea /var/log/up2date para obtener mayor información

And the file /var/log/up2date contains:

 [Fri Jul  3 13:31:23 2009] up2date logging into up2date server
[Fri Jul  3 13:31:23 2009] up2date successfully retrieved
authentication token from up2date server
[Fri Jul  3 13:46:24 2009] up2date updateLoginInfo() login info
[Fri Jul  3 13:46:24 2009] up2date logging into up2date server
[Fri Jul  3 13:46:24 2009] up2date successfully retrieved
authentication token from up2date server
[Fri Jul  3 14:12:04 2009] up2date updateLoginInfo() login info
[Fri Jul  3 14:12:04 2009] up2date logging into up2date server
[Fri Jul  3 14:12:04 2009] up2date successfully retrieved
authentication token from up2date server
[Fri Jul  3 14:12:04 2009] up2date Updating package profile
[Fri Jul  3 14:12:05 2009] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhn-profile-sync", line 54, in <module>
    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/lib/python2.5/xmlrpclib.py", line 1150, 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.5/site-packages/rhn/rpclib.py", line 318, in _request
    request = self._req_body(params, methodname)
  File "/usr/lib/python2.5/site-packages/rhn/rpclib.py", line 222, in _req_body
    return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1083, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.5/xmlrpclib.py", line 623, in dumps
    dump(v, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 638, in __dump
    f(self, value, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 698, in dump_array
    dump(v, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 638, in __dump
    f(self, value, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 719, in dump_struct
    dump(v, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 634, in __dump
    self.dump_instance(value, write)
  File "/usr/lib/python2.5/xmlrpclib.py", line 753, in dump_instance
    self.dump_struct(value.__dict__, write)
<type 'exceptions.AttributeError'>: 'dbus.String' object has no
attribute '__dict__'


any solution to this problem?


[1] https://bugzilla.redhat.com/show_bug.cgi?id=494019




More information about the Spacewalk-list mailing list