duplicate key value violates unique constraint

Solution In Progress - Updated -

Issue

  • We see 43 errors in a day's postgres log related to duplicate key value violates unique constraint. Uniquely these are:
ERROR:  duplicate key value violates unique constraint "index_katello_installed_packages_on_nvra"
ERROR:  duplicate key value violates unique constraint "katello_host_installed_packages_h_id_ip_id"
ERROR:  update or delete on table "hosts" violates foreign key constraint "katello_host_installed_packages_host_id" on table "katello_host_installed_packages"

Environment

  • Red Hat Satellite or Proxy 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content