Executing Ansible playbook via remote execution with non admin user in Red Hat Satellite 6 fails with PG::NotNullViolation: ERROR: null value in column "template_id" error

Solution Verified - Updated -

Issue

  • When a non admin user executes ansible playbook via remote execution from the Satellite server, it fails with below error:

    Execution of ansible-playbook fails with an error, "Oops, we're sorry but something went wrong PG::NotNullViolation: ERROR: null value in column "template_id" violates not-null constraint DETAIL: Failing row contains (1075, null, null, null, null, null). : INSERT INTO "template_invocations" DEFAULT VALUES RETURNING "id""
    

Environment

  • Red Hat Satellite 6.6

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