Satellite running remote execution with sudo password raises NoMethodError exception

Solution Verified - Updated -

Issue

Running REX job via a sudo user where we provide Effective user password, the job fails at an early stage.

The child task of the REX job stopped with output 'Error initializing command: NoMethodError - undefined methodempty?'' for nil:NilClass'`

Environment

Red Hat Satellite 6.12 or newer

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