[Satellite 6.2] Remote execution command failing with error "Could not use any Capsule"

Solution Verified - Updated -

Issue

  • When trying to execute any command or apply an errata on client-server using remote execution results in error
2017-12-13 11:13:32 [foreman-tasks/action] [E] Could not use any Capsule. Consider configuring remote_execution_global_proxy or remote_execution_fallback_proxy in settings (RuntimeError)
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.19/app/lib/actions/remote_execution/run_host_job.rb:36:in `plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.13.6/lib/dynflow/middleware/stack.rb:26:in `call'

2017-12-13 11:13:33  [foreman-tasks/action] [E] A sub task failed (RuntimeError)

Environment

  • Red Hat Satellite 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.