On 08/19/2011 06:56 PM, Shelby, James wrote:
> 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'


This was fixed in commit ebd9948a92945026db88932eefd23c4c0c7738ea
And should be fixed since rhn-client-tools-1.5.2-1.

You are using rhn-client-tools-1.3.12-2.fc15 which is in Fedora and
which have this bug.


-- 
Miroslav Suchy
Red Hat Satellite Engineering

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

Reply via email to