I'm using a simple default kickstart that seems to fail when it gets to the 
registration part.  If I reboot the system and then run the rhnreg_ks it works 
fine but just seems to error if run during the kickstart.  Any ideas?  I have 
checked the time on both systems to be insync.

[Fri Aug 19 16:45:56 2011] up2date 
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 205, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 99, in main
    hardwareList = hardware.Hardware()
  File "/usr/share/rhn/up2date_client/hardware.py", line 662, in Hardware
    allhw = get_devices()
  File "/usr/share/rhn/up2date_client/hardware_gudev.py", line 45, in 
get_devices
    'desc':     _get_device_desc(device),
  File "/usr/share/rhn/up2date_client/hardware_gudev.py", line 306, in 
_get_device_desc
    (vendor_id, model_id) = device.get_property('product').split('/')[:2]
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'split'

[Fri Aug 19 10:52:21 2011] up2date 
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 205, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 99, in main
    hardwareList = hardware.Hardware()
  File "/usr/share/rhn/up2date_client/hardware.py", line 662, in Hardware
    allhw = get_devices()
  File "/usr/share/rhn/up2date_client/hardware_gudev.py", line 45, in 
get_devices
    'desc':     _get_device_desc(device),
  File "/usr/share/rhn/up2date_client/hardware_gudev.py", line 306, in 
_get_device_desc
    (vendor_id, model_id) = device.get_property('product').split('/')[:2]
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'split'

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to