Description of problem: After deleting packages from /var/satellite/ spacewalk-repo-sync does not retrieve missing packages from repositories. How reproducible: always Steps to Reproduce: 1. Add new channel and sync 2. /usr/sbin/rhn-satellite stop rm -rf /var/satellite/* rm -rf /var/cache/rhn/reposync/ /usr/sbin/rhn-satellite start 3. Sync again (webui) 4. cat /var/log/rhn/reposync/*.log Actual results: Removed packages are not synced! Expected results: Shouldn't sync retrieve all missing packages? Additional info: none
fixed in master: 734a36aea070062f11530cc6ba0e7f9900218245
Changing to VERIFIED: Testing procedure: Reproducer from comment 1 on i386 machine. Packages were correctly synced. Verified against: Satellite-5.4.0-RHEL5-re20100924.0
Verified in stage. [root@tyan-gt24-03 ~]# spacewalk-repo-sync -c spacewalk-client-rhel5-64 Repo http://spacewalk.redhat.com/yum/1.1-client/RHEL/5/x86_64 has 24 packages. 1/24 : rhnlib-2.5.26-1.el5-0.noarch 2/24 : rhn-virtualization-common-5.4.14-1.el5-0.noarch 3/24 : osad-5.9.38-1.el5-0.noarch 4/24 : spacewalk-koan-0.2.7-1.el5-0.noarch 5/24 : spacewalk-certs-tools-1.1.1-1.el5-0.noarch 6/24 : rhncfg-actions-5.9.27-1.el5-0.noarch 7/24 : rhn-check-1.1.15-1.el5-0.noarch 8/24 : python-hwdata-1.2-1.el5-0.noarch 9/24 : rhn-kickstart-virtualization-5.4.3-1.el5-0.noarch 10/24 : rhn-custom-info-5.4.2-1.el5-0.noarch 11/24 : rhncfg-5.9.27-1.el5-0.noarch 12/24 : rhnmd-5.3.7-1.el5-0.noarch 13/24 : yum-rhn-plugin-1.1.7-1.el5-0.noarch 14/24 : rhnsd-4.9.5-1.el5-0.x86_64 15/24 : python-ethtool-0.3-5.el5-0.x86_64 16/24 : rhn-virtualization-host-5.4.14-1.el5-0.noarch 17/24 : rhn-setup-gnome-1.1.15-1.el5-0.noarch 18/24 : rhn-client-tools-1.1.15-1.el5-0.noarch 19/24 : rhn-kickstart-common-5.4.3-1.el5-0.noarch 20/24 : rhn-kickstart-5.4.3-1.el5-0.noarch 21/24 : rhncfg-client-5.9.27-1.el5-0.noarch 22/24 : rhn-setup-1.1.15-1.el5-0.noarch 23/24 : rhncfg-management-5.9.27-1.el5-0.noarch 24/24 : spacewalk-backend-libs-1.1.51-1.el5-0.noarch Sync complete [root@tyan-gt24-03 ~]# find /var/satellite/ -name rhn-kickstart*5.4* | xargs rm -f [root@tyan-gt24-03 ~]# spacewalk-repo-sync -c spacewalk-client-rhel5-64 Repo http://spacewalk.redhat.com/yum/1.1-client/RHEL/5/x86_64 has 24 packages. 1/5 : rhn-kickstart-virtualization-5.4.3-1.el5-0.noarch 2/5 : rhn-kickstart-common-5.4.3-1.el5-0.noarch 3/5 : rhn-kickstart-5.4.3-1.el5-0.noarch Sync complete
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford