Hi at all,
I 've a strange problem with spacewalk-repo-sync; when I try to sync a repository with a lot of new rpms (20-30 or like today 1100) to a channel, I receive the errors below (it's only a part of errors):

Exception reported from xxxxxxxx
Time: Thu Oct 22 12:59:20 2009
Exception type server.importlib.importLib.InvalidPackageError

Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/satellite_tools/reposync.py", line 157, in import_packages
   self.associate_package(pack, md5)
File "/usr/share/rhn/satellite_tools/reposync.py", line 199, in associate_package
   self._importer_run(package, caller, backend)
File "/usr/share/rhn/satellite_tools/reposync.py", line 207, in _importer_run
   importer.run()
 File "/usr/share/rhn/server/importlib/importLib.py", line 628, in run
   self.submit()
File "/usr/share/rhn/server/importlib/packageImport.py", line 114, in submit
   self.backend.lookupPackages(self.batch)
File "/usr/share/rhn/server/importlib/backend.py", line 519, in lookupPackages
   self.__lookupObjectCollection(packages, 'rhnPackage', ignore_missing)
File "/usr/share/rhn/server/importlib/backend.py", line 1771, in __lookupObjectCollection raise InvalidPackageError(object, "Could not find object %s in table %s" % (object, tableName)) InvalidPackageError: Could not find object [<server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 101, 'name': 'openssl-devel', 'md5sum': '534df303badb7ca98bf7d7559b0c397c', 'org_id': '1', 'package_id': None, 'channels': {102: 'centos5-x86_64'}, 'nevra_id': 19129, 'epoch': '', 'version': '0.9.8e', 'name_id': 1731, 'last_modified': None, 'release': '12.el5', 'arch': 'i386', 'evr_id': 4977}] in table rhnPackage


Exception reported from xxxxxxx
Time: Thu Oct 22 12:59:20 2009
Exception type server.importlib.importLib.InvalidPackageError

Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/satellite_tools/reposync.py", line 157, in import_packages
   self.associate_package(pack, md5)
File "/usr/share/rhn/satellite_tools/reposync.py", line 199, in associate_package
   self._importer_run(package, caller, backend)
File "/usr/share/rhn/satellite_tools/reposync.py", line 207, in _importer_run
   importer.run()
 File "/usr/share/rhn/server/importlib/importLib.py", line 628, in run
   self.submit()
File "/usr/share/rhn/server/importlib/packageImport.py", line 114, in submit
   self.backend.lookupPackages(self.batch)
File "/usr/share/rhn/server/importlib/backend.py", line 519, in lookupPackages
   self.__lookupObjectCollection(packages, 'rhnPackage', ignore_missing)
File "/usr/share/rhn/server/importlib/backend.py", line 1771, in __lookupObjectCollection raise InvalidPackageError(object, "Could not find object %s in table %s" % (object, tableName)) InvalidPackageError: Could not find object [<server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 100, 'name': 'tzdata', 'md5sum': '534df303badb7ca98bf7d7559b0c397c', 'org_id': '1', 'package_id': None, 'channels': {102: 'centos5-x86_64'}, 'nevra_id': 17961, 'epoch': '', 'version': '2009k', 'name_id': 2245, 'last_modified': None, 'release': '1.el5', 'arch': 'noarch', 'evr_id': 4669}] in table rhnPackage

If I try to sync again, the error messages vanish ... Is it only a problem on my server, or someone has the same issue ??

In the past I've used to sync with 'rhnpush', without any problems, but it was very slow ...

Regards,
   Marco

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

Reply via email to