Issue #3877
closedSwitching from on_demand to immediate does not work for Distributions
Description
If you sync the RHEL 6.10 kickstart repo as on_demand, you'll see a bunch of repomd.xml files that are broken symlinks (correct behavior). For example:
/var/lib/pulp/published/yum/https/repos/ACME/Library/content/dist/rhel/server/6/6.10/x86_64/kickstart/HighAvailability/repodata/repomd.xml
However, if you change the repo type to "immediate" and resync, these repomd.xml files will not get populated.
Version-Release number of selected component (if applicable): 6.3.2
Steps to Reproduce:
1. enable and sync rhel 6.10 kickstart
2. switch repo from on_demand to immediate
3. resync
Actual results: repomd.xml is still broken symlink, does not get downloaded
Expected results: repomd.xml gets populated
Updated by milan over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to milan
Updated by milan over 5 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
milan)
Updated by amacdona@redhat.com over 5 years ago
- Sprint changed from Sprint 43 to Sprint 44
Updated by daviddavis over 5 years ago
- Sprint changed from Sprint 44 to Sprint 45
Updated by bmbouter over 5 years ago
FYI the _release_resource() should 100% resolve this with this code: https://github.com/pulp/pulp/blob/2-master/server/pulp/server/async/tasks.py#L288-L297
Do the logs show that the _release_resource() is running? I suspect it is not running and ^ code never ran. If that is the case the task is still running but perhaps has exited strangely in a way that causes celery to not process the next task in the queue which would be _release_resource().
Updated by daviddavis over 5 years ago
- Status changed from NEW to CLOSED - DUPLICATE
Closing in favor of #4267 which more accurately describes the problem.