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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.