Dear all, Into /var/log/up2date, it cannot find valid URL in base repo. As I know, rhn registration is done before %post installation script thus system try to contact defined URL into Centos-Base.repo instead of spacewalk directly, I solved my issue when I modified the kickstart snippet (spacewalk/redhat_register):
[...] sed -i '/^gpgcheck=.*$/aenabled=0' /etc/yum.repos.d/Cent* if [ $key ]; then rhnreg_ks --serverUrl=https://srv-man-01.ptc.lu/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey= $key,1-4cf8a5f51842734548528a3a6bd85fc4,1-349612183f1cca3a4a75b1d920211975 else rhnreg_ks --serverUrl=https://srv-man-01.ptc.lu/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-4cf8a5f51842734548528a3a6bd85fc4,1-349612183f1cca3a4a75b1d920211975 fi And now every thing is working fine with activation key. Is it the right way or is existing a better solution? Best regards, On Tue, 2013-05-28 at 10:36 +0200, Michael Mraka wrote: > Michael Linder wrote: > % Dear all, > % > % Currently I am testing activation key into spacewalk in order to install > % package automatically, but it is not working and I get the following > % error message under overview menu via web interface: > % > % Fatal error in Python code occurred [[6]] > % > % Do you have any idea about this? > > Hi Michael, > > Is there anything suspicious in /var/log/up2date? > > Regards, > > -- > Michael Mráka > Satellite Engineering, Red Hat > -- Michael Linder System Administrator
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list