+++ This bug was initially created as a clone of Bug #796172 +++ Description of problem: Repodata is not regenerated after removing a package from a custom channel. How reproducible: 100% Steps to Reproduce: 1. Download one RPM, f.e. zsh-4.0.7-1.1.i386.rpm 2. Create an empty Custom channel: Manage Software Channels -> Create new channel -> test_custom_channel, IA-32, sha1 3. ll /var/cache/rhn/repodata/test_custom_channel/ total 32 -rw-r--r-- 1 root root 122 Feb 22 04:03 filelists.xml.gz -rw-r--r-- 1 root root 120 Feb 22 04:03 other.xml.gz -rw-r--r-- 1 root root 129 Feb 22 04:03 primary.xml.gz -rw-r--r-- 1 root root 871 Feb 22 04:03 repomd.xml 4. Push the package to the channel using rhnpush # date Wed Feb 22 04:13:46 EST 2012 WebUI: Last Modified: 2012-02-22 04:13:06 EST Last Repo Build: 2012-02-22 04:03:40 EST # ll /var/cache/rhn/repodata/test_custom_channel/ total 32 -rw-r--r-- 1 root root 3323 Feb 22 04:13 filelists.xml.gz -rw-r--r-- 1 root root 2631 Feb 22 04:13 other.xml.gz -rw-r--r-- 1 root root 1149 Feb 22 04:13 primary.xml.gz -rw-r--r-- 1 root root 871 Feb 22 04:13 repomd.xml 5. Delete the zsh rpm from the channel using packages.removePackage API WebUI: Last Modified is not changed !!! Last Modified: 2012-02-22 04:13:06 EST Last Repo Build: 2012-02-22 04:13:06 EST Repodate is not regenerated. # ll /var/cache/rhn/repodata/test_custom_channel/ total 32 -rw-r--r-- 1 root root 3323 Feb 22 04:13 filelists.xml.gz -rw-r--r-- 1 root root 2631 Feb 22 04:13 other.xml.gz -rw-r--r-- 1 root root 1149 Feb 22 04:13 primary.xml.gz -rw-r--r-- 1 root root 871 Feb 22 04:13 repomd.xml # date Wed Feb 22 04:35:12 EST 2012 .... # ll /var/cache/rhn/repodata/test_custom_channel/ total 32 -rw-r--r-- 1 root root 3323 Feb 22 04:13 filelists.xml.gz -rw-r--r-- 1 root root 2631 Feb 22 04:13 other.xml.gz -rw-r--r-- 1 root root 1149 Feb 22 04:13 primary.xml.gz -rw-r--r-- 1 root root 871 Feb 22 04:13 repomd.xml # date Wed Feb 22 04:39:54 EST 2012 Actual results: Outdated repodata Expected results: Updated repodata
spacewalk.git: fe5971a0f0fc51ce39aa32a0c8285f8e47d9311d (related commit) 2790b43dbc17d462f72aebb3540dfff8112e997b
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18