Initial satellite-sync on Red Hat Satellite Server is failing with "TypeError: 'NoneType' object is unsubscriptable"
Issue
- Initial satellite-sync on Red Hat Satellite Server is failing with
TypeError: 'NoneType' object is unsubscriptable. - Satellite-sync on newley built Satellite Server if failing with below mentioned traceback:
Exception Handler Information
Traceback (most recent call last):
File "/usr/bin/satellite-sync", line 139, in main
return satsync.Runner().main()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 229, in main
ret = method()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 330, in _step_rpms
self._packages_report = self.syncer.download_rpms()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1061, in download_rpms
self._fetch_packages(channel, missing_fs_packages)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1747, in _fetch_packages
total_size = total_size+package['package_size']
TypeError: 'NoneType' object is unsubscriptable
Environment
- Red Hat Satellite 5.x
- Satellite-sync
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
