Remote Execution Job Fails with `RuntimeError - Failed to change to effective user and Exit code: 126` in Red Hat Satellite

Solution Verified - Updated -

Issue

  • When executing a Remote Execution (REx) job from Red Hat Satellite, the following error is observed:

    1: Error initializing command: RuntimeError - Failed to change to effective user, exit code: 126  
    2: Exit status: EXCEPTION  
    3: StandardError: Job execution failed
    

Environment

  • Red Hat Satellite 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