Actions
Bug #9150
closedRemoved Distributions are not removed in elastic search
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