Remote execution fails with "Failed to initialize command: Dynflow::ExecutionPlan::Steps::Error - Could not use any Capsule. Consider configuring remote_execution_global_proxy or remote_execution_fallback_proxy in settings" in Red Hat Satellite 6.
Environment
- Red Hat Satellite 6
- Red Hat Satellite Capsule 6
Issue
- Remote execution fails with "Failed to initialize command: Dynflow::ExecutionPlan::Steps::Error - Could not use any Red Hat Satellite Capsule. Consider configuring remote_execution_global_proxy or remote_execution_fallback_proxy in settings" on all the hosts.
Resolution
- Assign proper
location
andorganization
to thecapsule
server. - Following command can be used to get capsule info
# hammer capsule info --id <ID>
.
# hammer capsule info --id 1
Id: 1
Name: host1.example.com
URL: https://host1.example.com:9090
Features:
Pulp
Puppet
Puppet CA
Dynflow
Discovery
Openscap
SSH
Locations:
Pune
Organizations:
Red Hat
Created at: 2017/06/30 17:41:51
Updated at: 2017/06/30 17:41:52
- Enable Foreman Proxy Ansible plugin on Capsule server.
# foreman-installer --enable-foreman-proxy-plugin-ansible
Root Cause
- The
location
was not assigned to thecapsule
server. - Foreman Proxy Ansible plugin not enabled on Capsule server.
Diagnostic Steps
- Red Hat Satellite Capsule info of the affected capsule server:
# hammer capsule info --id 1
Id: 1
Name: host1.example.com
URL: https://host1.example.com:9090
Features:
Pulp
Puppet
Puppet CA
Dynflow
Discovery
Openscap
SSH
Organizations:
Red Hat
Created at: 2017/06/30 17:41:51
Updated at: 2017/06/30 17:41:52
- Check Foreman Proxy Ansible plugin value in below file.
# cat etc/foreman-installer/scenarios.d/capsule-answers.yaml | grep -i ansible
foreman_proxy::plugin::ansible: false
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.
Comments