Re: [Spacewalk-devel] Fedora 15 rhnreg_ks error with nightly build

2011-08-23 Thread Miroslav Suchý
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 
> 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]
> : '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


Re: [Spacewalk-devel] Fedora 15 rhnreg_ks error with nightly build

2011-08-19 Thread Shelby, James
I added to my post script to install the 
spacewalk-client-1.6-1.fc15.noarch.repo and then replaced the 1.6 with nightly 
in the repo.  I then did a yum -y update and the client does register as 
intended.  I guess this will be in the 1.6 final and is resolved or a conflict 
with the fc15 rhn client compared to the 1.6





-Original Message-
From: spacewalk-devel-boun...@redhat.com 
[mailto:spacewalk-devel-boun...@redhat.com] On Behalf Of Shelby, James
Sent: Friday, August 19, 2011 10:56 AM
To: 'spacewalk-devel@redhat.com'
Subject: [Spacewalk-devel] Fedora 15 rhnreg_ks error with nightly build

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 
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]
: '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 
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]
: 'NoneType' object has no attribute 'split'

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

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