Story #3693: Lazy for Pulp3
Support On_demand and Background downloaders
This is a stub story, created so QE has a redmine issue to track for their download_policy = on_demand and download_policy=background test.
#2 Updated by Ichimonji10 over 1 year ago
Here's some background information.
One can create an importer for a file repository with one of three download policies: immediate, on_demand and background. For more information, see the documentation on pulp.app.models.Importer. Unfortunately, the on_demand and background download policies are implemented as no-ops. This means that:
- If the desired content has already been downloaded and cached on disk, syncs will succeed.
- If the desired content has not been downloaded and cached on disk, syncs will fail.
As a user, my expectation is that if a download policy is unsupported, then it should be impossible to create an importer with that download policy. It's highly surprising that one can create a file importer with an unsupported download policy.
Please register to edit this issue