Unable to delete custom job template in Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • Deleting custom job template in Red Hat Satellite 6 gives below error:
Oops, we're sorry but something went wrong PG::ForeignKeyViolation: ERROR: update or delete on table "templates" violates foreign key constraint "fk_rails_c61c5e136e" on table "foreign_input_sets" DETAIL: Key (id)=(160) is still referenced from table "foreign_input_sets". : DELETE FROM "templates" WHERE "templates"."id" = $1

Environment

  • Red Hat Satellite 6.x.

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