Spacewalk: Fatal error in Python code occurred [[6]]
During a recent system update that I started using Spacewalk I stumbled upon the following error message:
1Fatal error in Python code occurred [[6]]
After some troubleshooting I came up that I upgraded my spacewalk server to the most recenet release a couple of days ago. During this update I forgot to update also the Spacewalk client repository.
The solution was quite simple:
- Deleting the existing packages in the Spacewalk client repository
- Customizing the software channel URL: http://yum.spacewalkproject.org/2.1/RHEL/6/x86_64/
- Updating the software channel content
In another blog article I demonstrated how automatically update software channel contents using a cronjob - of course this script also needs to be altered:
1# cat /etc/cron.daily/spacewalk_sync.cron
2...
3/usr/bin/spacewalk-repo-sync --channel spacewalk-client-x86_64
4 --url http://yum.spacewalkproject.org/2.1-client/RHEL/6/x86_64/
5 --type yum -c spacewalk-client-x86_64 >/dev/null
6
7ESC ZZ
After a update of the appropriate Spacewalk client applications the next remote update worked like a charm.