duplicate key value violates unique constraint
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.