Description of problem: When cdn-sync is run with --no-packages, all existing packages in given channel(s) are disassociated. --no-packages should mean only to skip relevant stage during sync. Version-Release number of selected component (if applicable): spacewalk-backend-2.5.3-144 How reproducible: always Steps to Reproduce: 1. fully sync some channel using cdn-sync 2. run cdn-sync (for given channel) again with --no-packages option Actual results: All packages are gone from channel. Expected results: Packages will stay in channel. Additional info: Running cdn-sync again without --no-packages option will link all packages back to channel unless cdn-sync --clear-cache is executed in the meantime.
fix in spacewalk.git(master): 47a9c1e26c0bcbcc12ea3a307a128cb399b07b7d
Re-verified with spacewalk-backend-2.5.3-151.el6sat.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2645