Story #3320
closedStory #3693: Lazy for Pulp3
Support On_demand and Background downloaders
0%
Description
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.
Related issues
Updated by Ichimonji10 almost 7 years 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.
Updated by amacdona@redhat.com almost 6 years ago
- Is duplicate of Task #3763: Add "policy" attribute to Remote added
Updated by amacdona@redhat.com almost 6 years ago
- Status changed from NEW to CLOSED - DUPLICATE
- Parent issue set to #3693