Project

General

Profile

Bug #35120

Retain packages on Repository removes RPMs from Pulp but not from Katello

Added by Ian Ballou 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Community post: https://community.theforeman.org/t/pulp3-yum-repo-off-by-one-retain-package-count-with-additive-mirroring-policy/29131

If a repo is synced with additive, the retain package version amount is lowered, and then the repo is synced again, RPMs will be removed from the Pulp repo but Katello will not disassociate the related Rpm records.

To reproduce:

1) Sync https://fixtures.pulpproject.org/rpm-with-modules/
-> Additive, Retain package versions 3
2) Change retain package versions to 2
3) Perform a complete sync
4) Check the RPM count in Katello. It should not go down.
5) Check the RPM count in Pulp. It should be lower.


Related issues

Has duplicate Katello - Bug #35457: Investigation: does Katello properly remove content units when they are removed from a Pulp repository during syncing?Duplicate

Associated revisions

Revision 9da8f63c (diff)
Added by Samir Jha 3 months ago

Fixes #35120 - Indexing with additive content (#10229)

History

#1 Updated by Ian Ballou 5 months ago

  • Bugzilla link set to 2101579

#2 Updated by Ian Ballou 5 months ago

  • Triaged changed from No to Yes
  • Target version changed from Katello 4.6.0 to Katello 4.5.1

#3 Updated by The Foreman Bot 4 months ago

  • Assignee set to Samir Jha
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10229 added

#4 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.7.0 added

#5 Updated by Samir Jha 3 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Ian Ballou 2 months ago

  • Target version changed from Katello 4.5.1 to Katello 4.4.2

#7 Updated by Ian Ballou 2 months ago

  • Has duplicate Bug #35457: Investigation: does Katello properly remove content units when they are removed from a Pulp repository during syncing? added

Also available in: Atom PDF