Story #3320
closed
Story #3693: Lazy for Pulp3
Support On_demand and Background downloaders
Status:
CLOSED - DUPLICATE
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.
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.
- Is duplicate of Task #3763: Add "policy" attribute to Remote added
- Status changed from NEW to CLOSED - DUPLICATE
- Parent issue set to #3693
- Sprint/Milestone set to 3.0.0
Also available in: Atom
PDF