Project

Profile

Help

Issue #3877

Switching from on_demand to immediate does not work for Distributions

Added by dkliban@redhat.com over 3 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 46
Quarter:

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

History

#2 Updated by dkliban@redhat.com over 3 years ago

  • Sprint set to Sprint 40

#4 Updated by CodeHeeler about 3 years ago

  • Triaged changed from No to Yes

#5 Updated by rchan about 3 years ago

  • Sprint changed from Sprint 40 to Sprint 41

#6 Updated by rchan about 3 years ago

  • Sprint changed from Sprint 41 to Sprint 42

#7 Updated by rchan about 3 years ago

  • Sprint changed from Sprint 42 to Sprint 43

#8 Updated by milan about 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to milan

#9 Updated by milan about 3 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (milan)

#10 Updated by amacdona@redhat.com about 3 years ago

  • Sprint changed from Sprint 43 to Sprint 44

#11 Updated by daviddavis almost 3 years ago

  • Sprint changed from Sprint 44 to Sprint 45

#12 Updated by rchan almost 3 years ago

  • Sprint changed from Sprint 45 to Sprint 46

#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().

#14 Updated by daviddavis almost 3 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

Closing in favor of #4267 which more accurately describes the problem.

#15 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF