Project

Profile

Help

Issue #1897

catalog entries not created for pre-existing units

Added by mhrivnak over 4 years ago. Updated over 1 year 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

Associated revisions

Revision 39d08814 View on GitHub
Added by jortel@redhat.com over 4 years ago

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

History

#2 Updated by dkliban@redhat.com over 4 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

#3 Updated by jortel@redhat.com over 4 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

#4 Updated by jcline@redhat.com over 4 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

#5 Updated by jortel@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by mhrivnak over 4 years ago

  • Sprint/Milestone set to 20

#7 Updated by semyers over 4 years ago

  • Platform Release changed from 2.8.4 to 2.8.5

#8 Updated by jortel@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#9 Updated by pthomas@redhat.com over 4 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 ~]#

#10 Updated by semyers over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#12 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 2

#13 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (20)

#14 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF