Switching from on_demand to immediate does not work for Distributions
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:
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
Actual results: repomd.xml is still broken symlink, does not get downloaded
Expected results: repomd.xml gets populated
#13 Updated by bmbouter almost 3 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().
Please register to edit this issue