Hide Forgot
Description of problem: Looks like `cdn-sync --no-rpms` downloads headers of RPMs even if they are already in the database. Version-Release number of selected component (if applicable): spacewalk-backend-cdn-2.5.3-32.el6sat.noarch How reproducible: always Steps to Reproduce: 1. cdn-sync --no-rpms --no-kickstarts -c rhel-x86_64-server-6 2. rm -rf /var/cache/rhn/reposync/* 3. cdn-sync --no-rpms --no-kickstarts -c rhel-x86_64-hpc-node-6 Actual results: Looks like second sync still downloads headers (?) of the rpms although these we already downloaded and imported Expected results: If package is in DB, it should not be downloaded again
I investigated this issue. I don't see a bug. This is how it works now: 1) It asks yum plugin for a list of packages. 2) for every package trying to find a package in DB with the same NVREA. 3) If a package exists in DB we download it *ONLY* in case if a checksum is different.
Hmm, seems you are right. Would it be possible to hide this: [...] 16:05:12 454/471 : spacewalk-remote-utils-1.7.1-7.el5sat.noarch [...] for packages we are not downloading? If not, I'm OK with that and please feel free re-close.