Description of problem: trying to sync a channel content through spacewalk-repo-sync goes on with tracebacks like: --- local variable 'cid' referenced before assignment -or- Could not find object [<server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 119, 'name': 'perl-CGI', 'checksum_list': None, 'md5sum': None, 'org_id': '1', 'package_id': None, 'checksums': {'sha256': '234be13ae01a4e44cc7d61b947359f2f7fda911ff873a5eace50129edda1b462'}, 'channels': {101: 'rhel-x86_64-server-6-beta'}, 'nevra_id': 107, 'epoch': '', 'version': '3.49', 'name_id': 61, 'last_modified': None, 'checksum': '234be13ae01a4e44cc7d61b947359f2f7fda911ff873a5eace50129edda1b462', 'release': '115.el6', 'checksum_type': 'sha256', 'arch': 'x86_64', 'evr_id': 100, 'checksum_id': 5304}] in table rhnPackage --- Version-Release number of selected component (if applicable): Satellite-5.4.0-RHEL5-re20100817.1-x86_64.iso How reproducible: always on run of spacewalk-repo-sync Steps to Reproduce: 1.make a custom channel 2.run: spacewalk-repo-sync --channel <channel_name> --url file://<your_mounted_point>/os --type yum 3. Actual results: in the console are continually tracing the errors above. Expected results: no tracebacks, getting channel content into Satellite. Additional info:
taking priority up - as without having packages, no much sense on many functionalities to check.
milan just said, that justin already fixed it yesterday giving to justin
the update to spacewalk-backend-1.2.6 fixed seems the issue there looking forward to the next iso to see it there.
confirm: the Satellite-5.4.0-RHEL5-re20100818.0-x86_64.iso fixes the problem. @devel: please put the bug in a state making possible QE to verify it. thx.
# VERIFIED the current iso Satellite-5.4.0-RHEL5-re20100910.2 fixes the issue with traceback. Clean run of the spacewalk-repo-sync now. thx.
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford