Project

Profile

Help

Issue #3877

closed

Switching from on_demand to immediate does not work for Distributions

Added by dkliban@redhat.com over 5 years ago. Updated about 5 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

Actions #2

Updated by dkliban@redhat.com over 5 years ago

  • Sprint set to Sprint 40
Actions #4

Updated by CodeHeeler over 5 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 40 to Sprint 41
Actions #6

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 41 to Sprint 42
Actions #7

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 42 to Sprint 43
Actions #8

Updated by milan over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to milan
Actions #9

Updated by milan over 5 years ago

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

Updated by amacdona@redhat.com over 5 years ago

  • Sprint changed from Sprint 43 to Sprint 44
Actions #11

Updated by daviddavis over 5 years ago

  • Sprint changed from Sprint 44 to Sprint 45
Actions #12

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 45 to Sprint 46
Actions #13

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

Actions #14

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.

Actions #15

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF