Upgrade to Red Hat Satellite 6.10.5 fails with error 'update or delete on table "katello_erratum_packages" violates foreign key constraint'
Issue
-
The upgradation of the Red Hat Satellite server to version 6.10.5 fails with one of the following errors:
PG::ForeignKeyViolation: ERROR: update or delete on table "katello_erratum_packages" violates foreign key constraint "katello_msep_erratum_package_id_fk" on table "katello_module_stream_erratum_packages"
OR
PG::ForeignKeyViolation: ERROR: update or delete on table "katello_errata" violates foreign key constraint "katello_content_facet_errata_errata_id"
Environment
- Red Hat Satellite 6.10.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.