Project

General

Profile

Actions

Bug #35120

closed

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

Added by Ian Ballou over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

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

Updated by Ian Ballou over 2 years ago

  • Bugzilla link set to 2101579
Actions #2

Updated by Ian Ballou over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

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

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases Katello 4.7.0 added
Actions #5

Updated by Samir Jha about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Ian Ballou about 2 years ago

  • Target version changed from Katello 4.5.1 to Katello 4.4.2
Actions #7

Updated by Ian Ballou about 2 years ago

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

Also available in: Atom PDF