Remote execution fails after changing remote working directory on Red Hat Satellite with error "Unable to create directory on remote system" and "exit code: 1"

Solution Verified - Updated -

Issue

  • Remote execution fails with below error:

    Error initializing command: RuntimeError - Unable to create directory on remote system /remote_working_dir/foreman-ssh-cmd-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: exit code: 1
    

Environment

  • Red Hat Satellite 6
  • Rhel 7

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