Description of problem: For the yum repo association to a channel, the yum repo must have the repodata directory inside the directory in which the packages are. It should be possible to have the repodata directory one level higher, i.e. in the same directory where the directory with the packages is in, too. i.e. instead of: http://server/mirror/Packages/*.rpm http://server/mirror/Packages/repodata/ this should also be possible: http://server/mirror/Packages/*.rpm http://server/mirror/repodata/ Version-Release number of selected component (if applicable): # rpm -qa | grep spacewalk spacewalk-backend-0.6.30-1.el5 spacewalk-html-0.6.19-1.el5 spacewalk-backend-server-0.6.30-1.el5 spacewalk-backend-app-0.6.30-1.el5 spacewalk-backend-package-push-server-0.6.30-1.el5 spacewalk-base-minimal-0.6.19-1.el5 spacewalk-monitoring-selinux-0.6.12-1.el5 spacewalk-setup-0.6.21-1.el5 spacewalk-0.6.4-1.el5 spacewalk-backend-xml-export-libs-0.6.30-1.el5 spacewalk-backend-config-files-tool-0.6.30-1.el5 spacewalk-backend-iss-0.6.30-1.el5 spacewalk-java-0.6.42-1.el5 spacewalk-pxt-0.6.19-1.el5 spacewalk-moon-0.6.19-1.el5 spacewalk-monitoring-0.6.7-1.el5 spacewalk-selinux-0.6.13-1.el5 spacewalk-repo-0.6-1.el5 spacewalk-java-config-0.6.42-1.el5 spacewalk-doc-indexes-0.6.1-1.el5 spacewalk-backend-config-files-common-0.6.30-1.el5 spacewalk-backend-config-files-0.6.30-1.el5 spacewalk-backend-applet-0.6.30-1.el5 spacewalk-taskomatic-0.6.42-1.el5 spacewalk-base-0.6.19-1.el5 spacewalk-grail-0.6.19-1.el5 spacewalk-sniglets-0.6.19-1.el5 spacewalk-admin-0.6.3-1.el5 spacewalk-schema-0.6.22-1.el5 spacewalk-certs-tools-0.6.3-1.el5 spacewalk-config-0.6.13-1.el5 spacewalk-java-lib-0.6.42-1.el5 spacewalk-branding-0.6.8-1.el5 spacewalk-backend-sql-0.6.30-1.el5 spacewalk-backend-xmlrpc-0.6.30-1.el5 spacewalk-backend-iss-export-0.6.30-1.el5 spacewalk-backend-xp-0.6.30-1.el5 spacewalk-search-0.6.11-1.el5 spacewalk-cypress-0.6.19-1.el5 spacewalk-backend-tools-0.6.30-1.el5 How reproducible: Always Steps to Reproduce: 1. create a repo with 'external' repodata 2. spacewalk-repo-sync -> fail 3. mv repodata <packages-dir> 4. spacewalk-repo-sync -> works
Not able to reproduce: # mkdir /tmp/repodata # mkdir /tmp/repodata/Packages # cp /mnt/local/spacewalk-0.1/i386/*rpm /tmp/repodata/Packages/ # createrepo /tmp/repodata/ 190/190 - Packages/perl-Authen-PAM-0.14-14.el5.i386.rpm Saving Primary metadata Saving file lists metadata Saving other metadata # ll /tmp/repodata/ total 28 drwxr-xr-x 2 root root 16384 Feb 4 18:56 Packages drwxr-xr-x 2 root root 4096 Feb 4 18:56 repodata [root@xen90 ~]# spacewalk-repo-sync --type yum --channel yumrepo1 --label 1 --url file:///tmp/repodata/ Repo file:///tmp/repodata/ has 190 packages. 1/190 : perl-DateTime-TimeZone-0.59-5.el5-0.noarch 2/190 : jabberd-2.0s10-3.42.el5-0.i386 ... 190/190 : perl-Authen-PAM-0.14-14.el5-0.i386 Sync complete #
Spacewalk 0.8 has been released