Red Hat Bugzilla – Bug 1477667
cdn-sync --no-packages will disassociate all packages from channel
Last modified: 2017-08-18 05:58:39 EDT
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):
Steps to Reproduce:
1. fully sync some channel using cdn-sync
2. run cdn-sync (for given channel) again with --no-packages option
All packages are gone from channel.
Packages will stay in channel.
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):