Project

General

Profile

Bug #35337

ModuleStreamErratumPackages aren't indexed at first repository syncing

Added by Samir Jha 4 months ago. Updated 4 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

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.

Associated revisions

Revision 81a4a286 (diff)
Added by Samir Jha 4 months ago

Fixes #35337 - Index ModuleStreamErratumPackages correctly in first run (#10225)

History

#1 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/10225 added

#2 Updated by Chris Roberts 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.5.1
  • Subject changed from ModuleStreamErratumPackages aren't indexed at first repository syncing to ModuleStreamErratumPackages aren't indexed at first repository syncing

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.7.0 added

#4 Updated by Samir Jha 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF