Project

Profile

Help

Issue #1897

closed

catalog entries not created for pre-existing units

Added by mhrivnak almost 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.2
Platform Release:
2.8.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 2
Quarter:

Description

When syncing a repo with download policy of on_demand, if it associates units to the repo that were already in pulp's DB, the sync does not create catalog entries. It should create catalog entries at least for any units where downloaded=False.

To reproduce:

  • create a repo with on_demand and sync it
  • see catalog entries for those units in the DB
  • delete the repo
  • see there are no catalog entries for those units in the DB
  • re-create the same repo with on_demand and sync it
  • see that there are no catalog entries for those units in the DB
Actions #2

Updated by dkliban@redhat.com almost 8 years ago

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.4
  • Triaged changed from No to Yes
Actions #3

Updated by jortel@redhat.com almost 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
  • Priority changed from High to Normal
  • Severity changed from 3. High to 2. Medium
  • Platform Release deleted (2.8.4)
  • Triaged changed from Yes to No
Actions #4

Updated by jcline@redhat.com almost 8 years ago

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.4
  • Triaged changed from No to Yes
Actions #5

Updated by jortel@redhat.com almost 8 years ago

  • Status changed from ASSIGNED to POST

Added by jortel@redhat.com almost 8 years ago

Revision 39d08814 | View on GitHub

Add catalog entries based on unit association instead of creation. closes #1897

Actions #6

Updated by mhrivnak almost 8 years ago

  • Sprint/Milestone set to 20
Actions #7

Updated by semyers almost 8 years ago

  • Platform Release changed from 2.8.4 to 2.8.5
Actions #8

Updated by jortel@redhat.com almost 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #9

Updated by pthomas@redhat.com almost 8 years ago

  • Status changed from MODIFIED to 6

verified

[root@mgmt3 ~]# rpm -qa pulp-server
pulp-server-2.8.5-0.1.beta.git.23.1073566.el7.noarch
[root@mgmt3 ~]#

Actions #10

Updated by semyers almost 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #12

Updated by bmbouter about 6 years ago

  • Sprint set to Sprint 2
Actions #13

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (20)
Actions #14

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF