Unable to delete custom job template in Red Hat Satellite 6.
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.