Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1404927

Summary: Possibly just a CDN error, but cdn-sync fails with spacewalk.server.importlib.importLib.IncompletePackage
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: Satellite SynchronizationAssignee: Jan Dobes <jdobes>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 580CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-15 09:34:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Hutař 2016-12-15 06:37:04 UTC
Description of problem:
Possibly just a CDN error, but cdn-sync fails with spacewalk.server.importlib.importLib.IncompletePackage


Version-Release number of selected component (if applicable):
spacewalk-backend-cdn-2.5.3-34.el6sat.noarch


How reproducible:
rarely


Steps to Reproduce:
1. # cdn-sync -c rhel-x86_64-server-7


Actual results:
# cdn-sync -c rhel-x86_64-server-7
[...]
17:01:53 4304/4305 : zziplib-0.13.62-5.el7.i686
17:01:53 4305/4305 : zziplib-0.13.62-5.el7.x86_64
17:01:53 Linking packages to channel.
17:02:11 ERROR: Could not find object [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'package_arch_id': 119, 'name': 'firefox', 'checksum_list': None, 'md5sum': None, 'org_id': None, 'epoch': '0', 'checksums': {'sha1': 'a907a524702d2dbca70fef8a431f111b8f9301b4'}, 'channels': {103: 'rhel-x86_64-server-7'}, 'nevra_id': 60972, 'package_id': None, 'last_modified': None, 'name_id': 572, 'version': '45.6.0', 'checksum': 'a907a524702d2dbca70fef8a431f111b8f9301b4', 'release': '1.el7_3', 'checksum_type': 'sha1', 'arch': 'x86_64', 'evr_id': 18961, 'checksum_id': 4395099}] in table rhnPackage
17:02:11 Sync of channel completed in 0:44:53.


Expected results:
If this is just a problem with downloading package or with cdn-sync tool itself, error message should be more helpful and descriptive.

In both cases, error (ideally with full traceback) should be in /var/log/rhn/cdnsync/rhel-x86_64-server-7.log

Comment 1 Jan Hutař 2016-12-15 09:34:36 UTC

*** This bug has been marked as a duplicate of bug 1397427 ***