Description of problem: spacewalk-common-channels.ini - Centos 7 i387 has incorrect repository URL Version-Release number of selected component (if applicable): Latest (Spacewalk Server 2.4) How reproducible: Very Steps to Reproduce: 1. # spacewalk-repo-sync -l | grep centos7 | grep 'centos.org' | grep i386 centos7-i386-updates | http://mirrorlist.centos.org/?release=7&arch=i386&repo=updates centos7-i386-fasttrack | http://mirrorlist.centos.org/?release=7&arch=i386&repo=fasttrack centos7-i386-centosplus | http://mirrorlist.centos.org/?release=7&arch=i386&repo=centosplus centos7-i386-extras | http://mirrorlist.centos.org/?release=7&arch=i386&repo=extras centos7-i386-contrib | http://mirrorlist.centos.org/?release=7&arch=i386&repo=contrib centos7-i386 | http://mirrorlist.centos.org/?release=7&arch=i386&repo=os 2. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=updates' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=updates is not custom or does not exist. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=fasttrack' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=fasttrack is not custom or does not exist. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=centosplus' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=centosplus is not custom or does not exist. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=extras' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=extras is not custom or does not exist. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=contrib' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=contrib is not custom or does not exist. # spacewalk-repo-sync -c 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=os' Channel http://mirrorlist.centos.org/?release=7&arch=i386&repo=os is not custom or does not exist. 3. Actual results: None of the supplied repository URLs in spacewalk-common-channels.ini work as expected for Centos 7 i286 Expected results: Would have expected the URLs to point to the actual i386 repository locations Additional info: The proper URL is along the lines of http://mirror.centos.org/altarch/7/ For CentOS 7, the i386 has been moved to 'altarch' - http://seven.centos.org/2015/10/centos-linux-7-32-bit-x86-i386-architecture-released/ For the Centos 7 i386 'Extras' repository the URL should be http://mirror.centos.org/altarch/7/extras/i386/repodata/ (even though this is empty at the moment)
1. CentOS7 is available only for x86_64 2. Incorrect using spacewalk-repo-sync >> man spacewalk-repo-sync Synchronize single channel to a repository specified on the command line. >> spacewalk-repo-sync -c custom-channel --url=http://example.com/yum-repo/ You confuse channel with repository. At first you have to create new channel and then you can sync content of repository to created channel. Correct use: spacewalk-repo-sync -c 'name-channel' -u 'http://mirrorlist.centos.org/?release=7&arch=i386&repo=os'
fix in a1d4eda75659e4ab1c27ac35090aa26d35882fc4
Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27