Hi,

while trying to import the channel content iso, I get the following error in /var/log/rhn/rhn_satellite_server.log:

Importing package metadata
2011/01/18 01:22:52 +01:00 Importing *relevant* package metadata: rhel-i386-server-6 (2783)
2011/01/18 01:22:52 +01:00    * WARNING: this may be a slow process.
2011/01/18 01:22:59 +01:00
SYNC ERROR: unhandled exception occurred:

Exception reported from satel.example.com
Time: Tue Jan 18 01:22:59 2011
Exception type exceptions.AttributeError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/satellite-sync", line 143, in main
    return satsync.Runner().main()
  File "/usr/share/rhn/satellite_tools/satsync.py", line 226, in main
    ret = method()
File "/usr/share/rhn/satellite_tools/satsync.py", line 342, in _step_packages
    self._affected_channels = self.syncer.import_packages()
File "/usr/share/rhn/satellite_tools/satsync.py", line 1757, in import_packages
    sync_handlers.import_packages(batch, sources)
File "/usr/share/rhn/satellite_tools/sync_handlers.py", line 433, in import_packages
    importer.run()
  File "/usr/share/rhn/server/importlib/importLib.py", line 650, in run
    self.fix()
  File "/usr/share/rhn/server/importlib/packageImport.py", line 301, in fix
    ChannelPackageSubscription.fix(self)
  File "/usr/share/rhn/server/importlib/packageImport.py", line 71, in fix
    self.backend.lookupChecksums(self.checksums)
File "/usr/share/rhn/server/importlib/backend.py", line 431, in lookupChecksums
    h.execute(ctype=ctype, csum=csum)
  File "/usr/share/rhn/server/rhnSQL/sql_base.py", line 168, in execute
    return apply(self._execute_wrapper, (self._execute, ) + p, kw)
File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 100, in _execute_wrapper
    ret = self._get_oracle_error_info(e)
File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 200, in _get_oracle_error_info
    return (e.code, e.message, self.sql)
AttributeError: 'str' object has no attribute 'code'

OS: rhel 5.5 x86
Satellite version: 5.4
Channel content iso label: rhel-i386-server-6

Any help appreciated.

Thanks,

Peter

--
Peter Idah.


http://europe.redhat.com/
Registered in England and Wales under Company Registration No. 03798903
Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to