Bug #28988

Erratum Excludes filter by id not working in some cases

Added by Partha Aji 4 months ago. Updated 2 months ago.

Content Views
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


1) Extract the attached repo tgz and sync it from katello
2) Create a cv and include the above repo
3) Create an errata excludes filter that excludes the 1 erratum in that repo
4) Publish the content view

CVV version with no errata since you excluded the specific one

The excluded errata still persists in the destination repo

Additional Info:
This repo has a couple of quirks identical to repos from cdn
Module Duck:0 is duplicated with different versions with identical rpms in both
The errata points to the more recent module. The issue here is that during
publish we purge partial errata in terms of packages and not modules.
So when 2 modules with duplicate rpms are present the publish process incorrectly
thinks this errata should be copied.

dup-modules.tgz dup-modules.tgz 22.5 KB Repo Contents Partha Aji, 02/11/2020 10:53 PM

Associated revisions

Revision df338af8 (diff)
Added by Partha Aji 3 months ago

Fixes #28988 - Purge modular errata (#8561)

  • Fixes #28988 - Purge modular errata

This commit properly purges modular errata.
Before this fix the purge_partial_errata would check on the packages
belonging to the errata and if they matched will keep the errata in the
destination. However with modular errata we need to inaddition check if
the module exists in the destination repo before copying the errata
over. This commit handles that appropriately.


#1 Updated by Partha Aji 4 months ago

#2 Updated by Partha Aji 4 months ago

  • Bugzilla link set to 1801910

#3 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request added

#4 Updated by Partha Aji 4 months ago

  • Assignee deleted (Partha Aji)
  • Category deleted (Content Views)

Alternatively you can use this repo for step 1 ->

#5 Updated by Jonathon Turel 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.15.0

#6 Updated by The Foreman Bot 3 months ago

  • Assignee set to Partha Aji

#7 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 3.16.0 added

#8 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

#9 Updated by Jonathon Turel 2 months ago

  • Category set to Content Views

Also available in: Atom PDF