Description of problem: Currently it has been suggested to use verify-all-units to validate rpms. This seems to work well, except any on_demand repository will be completely downloaded during the process. This is not desired, as we would only want the already downloaded packages to be corrected. Version-Release number of selected component (if applicable): pulp 2.8.7 - Satellite 6.2 (but not a feature currently implemented in katello)
As part of this we need to handle two scenarios when verifying all units: * Immediate download policy * On Demand download policy * Background download policy For immediate and background, we would want all rpms to be downloaded. For on_demand we would not.
I think the "download_repository" task should always download the full repository. If we need a way to just verify the files for packages that have previously been downloaded, that would be a new and separate feature. I think that's covered under this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1223023 So I'm going to mark this as a duplicate, but feel free to re-open if you think that's not the case. *** This bug has been marked as a duplicate of bug 1223023 ***