Project

Profile

Help

Issue #1778

closed

Switching a repository to immediate from on_demand doesn't download its packages

Added by daviddavis over 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.0
Platform Release:
2.8.3
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

If you have create an on_demand repo, sync it, then switch its download_policy to immediate or background, then its packages don't get downloaded:

$ pulp-admin rpm repo create --repo-id zoolander --download-policy on_demand --feed https://davidd.fedorapeople.org/repos/zoo-lander/
Successfully created repository [zoolander]

$ pulp-admin rpm repo sync run --repo-id zoolander                                                                                                                                                                       
...

$ pulp-admin rpm repo update --repo-id zoolander --download-policy immediate
Repository [zoolander] successfully updated

$ pulp-admin rpm repo list --repo-id zoolander --details

## confirmed its download policy is immediate

$ pulp-admin rpm repo sync run --repo-id zoolander                                                                                                                                                                       
...                                                                                                                                                                                

$ tree /var/lib/pulp/content
                                                                                                                                                                                                                                                                                                                                                                /var/lib/pulp/content

                                                                                                                                                                                                                                                                                                                                                                0 directories, 0 files

Related issues

Related to RPM Support - Issue #1775: Content removed from a repository never returnsCLOSED - CURRENTRELEASEttereshcActions

Also available in: Atom PDF