Project

General

Profile

Actions

Bug #9150

closed

Removed Distributions are not removed in elastic search

Added by Justin Sherrill about 9 years ago. Updated over 5 years ago.

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

Description

If for some reason a new distribution gets synced down to a repo (that already had one), pulp may remove the old distribution and replace it with the new one. However we do not handle this in our elasticsearch indexing.

This can cause a content view to fail to publish because it thinks there are two distributions in the same repo with the same version and arch.

The following will reindex the distributions:


User.current = User.first
Tire.index(Katello::Distribution.index).delete
Katello::Distribution.index_all

Actions #1

Updated by The Foreman Bot about 9 years ago

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

Updated by Justin Sherrill about 9 years ago

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

Also available in: Atom PDF