Satellite is not processing remote execution tasks

Solution Verified - Updated

Environment

  • Satellite 6.12+

Issue

The satellite is not processing remote execution commands.
dynflow details of the task show no error, no warning, and no processing attempt, and every step is pending.

  • Actions::RemoteExecution::RunHostJob running pending
  • Actions::RemoteExecution::ProxyAction (suspended) Cancel
  • Actions::RemoteExecution::RunHostJob (pending)

Resolution

  • Reset the value to "ssh" to enable default push mode.
    # satellite-installer --reset-foreman-proxy-plugin-remote-execution-script-mode

For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues

Root Cause

  • Remote execution is on the pull-mqtt mode. Which is a new option from version 6.12

# cat /etc/foreman-proxy/settings.d/remote_execution_ssh.yml

  • Look for the line that says mode:
   :mode: pull-mqtt

Diagnostic Steps

  • As an alternative to 'remote_execution_ssh.yml', we can check the current setup from the satellite-installer command.

# satellite-installer --full-help | grep -i execu | grep -i mode

  • Look for the Operation Mode of the plugin. (current: line
  --foreman-proxy-plugin-remote-execution-script-mode  Operation Mode of the plugin. (current: "pull-mqtt")
SBR
Product(s)
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.