Satellite: satellite-sync fails after updating RHEL system to latest version
Issue
- After updating the Satellite server to latest errata,
satellite-syncdoes not work, returning the following traceback:
SYNC ERROR: unhandled exception occurred:
Exception reported from satellite.example.com
Time: Thu Oct 16 13:20:10 2014
Exception type <class 'psycopg2.ProgrammingError'>
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 343, in _step_packages
self._affected_channels = self.syncer.import_packages()
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1602, in import_packages
[sources])
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1576, in _proces_batch
prompt, nevermorethan, process_function_args)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1556, in _processWithProgressBar
process_function(chunk, *process_function_args)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 1583, in _import_packages_process
sync_handlers.import_packages(batch, sources)
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/sync_handlers.py", line 385, in import_packages
importer.run()
File "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/importLib.py", line 646, in run
self.fix()
File "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/packageImport.py", line 289, in fix
self.backend.processCapabilities(self.capabilities)
File "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backendOracle.py", line 661, in processCapabilities
raise e
ProgrammingError: function lookup_package_capability_fast(unknown, unknown) does not exist
LINE 1: select lookup_package_capability_fast(E'/usr/share/man/man3/...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
- Satellite Sync fails or throws error like:-
ProgrammingError: function lookup_checksum_fast(unknown, unknown) does not exist.
Environment
- Red Hat Satellite 5.6
- Red Hat Enterprise Linux
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.
