[Spacewalk-list] 0.6 and Fedora 11 rhnreg_ks problems.

Pradeep Kilambi pkilambi at redhat.com
Fri Aug 21 12:57:18 UTC 2009


On 08/20/2009 07:59 PM, Greg Hookey wrote:
> Hi,
>
> Previous to my upgrade to Spacewalk 0.6 I was able to create a cobbler system record for a given host, and kickstart
> against that profile (eg: http://spacewalk/cblr/svc/op/ks/system/mysystemhostname).  After 0.6, the code from the redhat_register cobbler snippet seems to have no effect, specifically, the system does not get registered with Spacewalk.
>
> After the system finishes the kickstart and reboots, I attempt to run rhnreg_ks manually with the following result:
>
> [root at workstation-test rhn_rpms]# rhnreg_ks --serverUrl=https://spacewalk/XMLRPC --sslCACert=/usr/share/RHN-ORG-TRUSTED-SSL-CERT --activationkey=2-d3b595de4c7c2df7ec405217200ffd03,2-Linux-Workstation-F11 --profilename=workstation-test --force
> Traceback (most recent call last):
>    File "/usr/sbin/rhnreg_ks", line 29, in<module>
>      from up2date_client import rhnreg
> ImportError: No module named up2date_client
>    

Sounds like a path issue. Make sure /usr/share/rhn is in your pythonpath.

~ Prad

> There doesn't seem to be much, if anything, different in the kickstart file that gets sent to the client.  If anyone can provide
> any help or suggestions, it would be appreciated.
>
> Thanks,
> Greg
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>    


-- 
--
Pradeep Kilambi
Senior Software Engineer
RHN Satellite Engineering
Phone: +1 919 754 4285
RHCE # 805008680430554





More information about the Spacewalk-list mailing list