Hide Forgot
Description of problem: When cdn-sync prints "Channel rhel-x86_64-server-7.3.eus has no URL associated", this message is not in the "/var/log/rhn/cdnsync/rhel-x86_64-server-7.3.eus.log" Version-Release number of selected component (if applicable): spacewalk-backend-cdn-2.5.3-32.el6sat.noarch How reproducible: always Steps to Reproduce: 1. With cdn-sync-mappings-0.2-1.el6sat.noarch attempt to sync that channel: # cdn-sync --no-rpms --no-kickstarts -c rhel-x86_64-server-7.3.eus Actual results: # cdn-sync --no-rpms --no-kickstarts -c rhel-x86_64-server-7.3.eus 17:12:13 ====================================== 17:12:13 | Channel: rhel-x86_64-server-7.3.eus 17:12:13 ====================================== 17:12:13 Sync of channel started. 17:12:13 Channel rhel-x86_64-server-7.3.eus has no URL associated 17:12:13 Sync of channel completed in 0:00:00. 17:12:13 Total time: 0:00:00 # cat /var/log/rhn/cdnsync/rhel-x86_64-server-7.3.eus.log 2016/12/12 03:52:52 -04:00 Command: ['/usr/bin/cdn-sync', '--no-rpms', '--no-kickstarts', '-c', 'rhel-x86_64-server-7.3.eus'] 2016/12/12 03:52:52 -04:00 Sync of channel started. 2016/12/12 03:52:52 -04:00 Sync of channel completed in 0:00:00. Expected results: All messages I get on command-line should be in the log file - or at least this one which explains why nothing was synced.
Taking...
Patch is available in upstream. spacewalk.git: 6d7f01a05306c18dacd43ef30a2623c23843aa84
Verified on spacewalk-backend-2.5.3-137 Reproducer: I have to manually simulate this problem with URL, because cdn-mapping is already fixed. > tail /var/log/rhn/cdnsync/rhel-x86_64-server-7.3.eus.log 2017/05/30 08:59:59 -04:00 Command: ['/usr/bin/cdn-sync', '--no-rpms', '--no-kickstarts', '-c', 'rhel-x86_64-server-7.3.eus'] 2017/05/30 08:59:59 -04:00 Sync of channel started. 2017/05/30 08:59:59 -04:00 Channel rhel-x86_64-server-7.3.eus has no URL associated 2017/05/30 09:00:00 -04:00 Sync of channel completed in 0:00:00.