Project

General

Profile

Actions

Bug #11140

closed

Reindex needs to handle bad errata and package/packagegroups etc

Added by Partha Aji over 8 years ago. Updated over 5 years ago.

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

Description

The reindex task assumes that [Katello::Package, Katello::PuppetModule, Katello::Distribution, Katello::PackageGroup, Katello::Erratum] all have an "each" method in the case of on error. This causes an additional error thrown every time indexing one of those items fail. We just need to report the exception at the bulk level in those cases and not try to index one at a time.

Also we need to handle errata that point to repo memberships that do not exist in katello (as in we need to ignore those associations). This can happen either when user directly create/syncs a private repo via pulp-admin OR deletes a repo and for some reason the membership did not get updated.

Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5358 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #3

Updated by Bryan Kearney over 8 years ago

  • Bugzilla link set to 1253006
Actions #4

Updated by Bryan Kearney over 8 years ago

  • Bugzilla link changed from 1253006 to 1253010
Actions #5

Updated by Justin Sherrill over 8 years ago

  • Assignee changed from Partha Aji to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/5417 added
  • Pull request deleted (https://github.com/Katello/katello/pull/5358)
Actions #6

Updated by Partha Aji over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF