Bug #24859
openforeman-installer foreman-proxy-plugin-ansible / rubygem-smart_proxy_dynflow Requires: rh-ruby24-ruby(rubygems)
Description
Hello Team,
On a CentOS 7 server with only smart proxy features, enabling foreman-proxy-plugin-ansible with "foreman-installer --enable-foreman-proxy-plugin-ansible" result to this error :
/Stage[main]/Foreman_proxy::Plugin::Dynflow/Foreman_proxy::Plugin[dynflow]/Package[rubygem-smart_proxy_dynflow]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rubygem-smart_proxy_dynflow' returned 1: Error: Package: tfm-ror51-rubygem-sinatra-2.0.0-2.el7.centos.noarch (foreman-rails)
Requires: rh-ruby24-ruby(rubygems)
Package: tfm-rubygem-foreman-tasks-core-0.2.5-1.fm1_18.el7.noarch (foreman-plugins)
Requires: rh-ruby24-ruby
Package: tfm-ror51-runtime-1.1-2.el7.centos.x86_64 (foreman-rails)
Requires: rh-ruby24-ruby
"yum install rubygem-smart_proxy_dynflow" provide the same issue :
Erreur : Paquet : tfm-ror51-rubygem-rack-protection-2.0.0-2.el7.centos.noarch (foreman-rails)
Requiert : rh-ruby24-ruby(rubygems)
Erreur : Paquet : tfm-rubygem-sequel-5.7.1-1.el7.noarch (foreman)
Requiert : rh-ruby24-ruby(release)
Erreur : Paquet : tfm-ror51-rubygem-multi_json-1.12.2-2.el7.centos.noarch (foreman-rails)
Requiert : rh-ruby24-ruby(release)
Erreur : Paquet : tfm-rubygem-sequel-5.7.1-1.el7.noarch (foreman)
Requiert : rh-ruby24-ruby >= 1.9.2
After installing manually foreman-release-scl, issue is resolved : yum install -y foreman-release-scl
BR,
Updated by Ewoud Kohl van Wijngaarden almost 6 years ago
Can you see what the value is for foreman::configure_scl_repo in /etc/foreman-installer/scenarios.d/foreman-answers.yaml? It should be true and the installer should then install foreman-release-scl for you.
Updated by Nicolas BOUCHARD almost 6 years ago
Hello,
Output of "cat /etc/foreman-installer/scenarios.d/foreman-answers.yaml | grep -i scl" is empty.
Br