Project

General

Profile

Actions

Bug #35337

closed

ModuleStreamErratumPackages aren't indexed at first repository syncing

Added by Samir Jha over 2 years ago. Updated almost 2 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2109298

Description of problem:
When syncing a repository, ModuleStreamErratumPackages aren't indexed until the second instance of repository indexing. This causes issues with content view publishing for instance, because module streams will not be tied to their errata.

*Version-Release number of selected component (if applicable):

Satellite 6.12

How reproducible:
Always

Steps to Reproduce:
1. Sync a repo like "Advanced Virtualization for RHEL 8 x86_64 RPMs"
2. Go into the foreman console and try `::Katello::ModuleStreamErratumPackage.all`.

Actual results:
The result will be empty assuming that this is tested on a clean Satellite install.

Expected results:
ModuleStreamErratumPackages are returned.

Additional info:
This can be worked around by either publishing the CV again, or reindexing the repository.

Actions

Also available in: Atom PDF