Instalation error in dependency rubygem(rake)

Problem:
During Foreman installation the packages mod_passenger and foreman-proxy stop because both of them need rubygem(rake) >= 0.8.3.

I’d installed the gem rake but the error is the same.

What I have to do?

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:
My server is a virtual machine with Oracle Linux 7.

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

The dependency is rubygem(rake). The letter r isn’t in the title.

Regards,

Daniel Braga

Hello, I’ve corrected the title for you.

Can you paste the whole yum transaction?

Izap,

I’d tried to upload compacted foreman.log file here but as I’m a new user uploads are forbidden to me. I’d tried to copy the content of the file but the message is greater than 64k characters.

Can I send foreman.log to you by email? My email is dbraga2000@gmail.com.

Regards,

Daniel Braga

Just use some pastebin service?

Looks like this was discussed before:

1 Like

Izap,

I’ve created my pastebin user but there there also is a limited size of 512kb. My foreman.log file has 1.877kb.

Is there another way? I can put this file in a folder in Google Drive and share with you but I will need your email.

Regards,

Regards,

Daniel Braga

ekol,

I’m going to try your suggestion. If works I will warn you!

Regards,

Daniel Braga

You need to investigate the logs and only pastebin relevant parts (errors, warnings…)

Only ERROR:

[DEBUG 2018-10-11T11:54:00 main] Executing: ‘/bin/yum -d 0 -e 0 -y install foreman-proxy’
[ERROR 2018-10-11T11:54:32 main] Execution of ‘/bin/yum -d 0 -e 0 -y install foreman-proxy’ returned 1: Error: Package: foreman-proxy-1.19.0-1.el7.noarch (foreman)
[ERROR 2018-10-11T11:54:32 main] Requires: rubygem(rake) >= 0.8.3
[ERROR 2018-10-11T11:54:32 main] You could try using --skip-broken to work around the problem
[ERROR 2018-10-11T11:54:32 main] You could try running: rpm -Va --nofiles --nodigest
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:285:in execute' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider.rb:101:inexecute’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package/yum.rb:220:in install' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/package.rb:88:inblock (3 levels) in module:Puppet
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:491:in set' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:568:insync’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in sync' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:134:insync_if_needed’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:80:in perform_changes' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:21:inevaluate’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:257:in apply' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:277:ineval_resource’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in call' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:inblock (2 levels) in evaluate’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in block in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:inrealtime’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:inblock in evaluate’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in traverse' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:inevaluate’
[ERROR 2018-10-11T11:54:32 main] /usr/share/gems/gems/kafo-2.1.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in evaluate_with_trigger' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:239:inblock (2 levels) in apply’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in block in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:inrealtime’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:inblock in apply’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in with_destination' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:146:inas_logging_destination’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in apply' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:inblock (2 levels) in apply_catalog’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in block in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:inrealtime’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in thinmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:inblock in apply_catalog’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in block in benchmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:inrealtime’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in benchmark' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:184:inapply_catalog’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:369:in run_internal' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:237:inblock in run’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in override' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:inoverride’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:211:in run' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:inapply_catalog’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in block (2 levels) in main' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:inoverride’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in override' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:inblock in main’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in override' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:inoverride’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in main' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:inrun_command’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in block in run' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:663:inexit_on_fail’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in run' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:136:inrun’
[ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in execute' [ERROR 2018-10-11T11:54:32 main] /opt/puppetlabs/puppet/bin/puppet:5:in
[ERROR 2018-10-11T11:54:32 main] /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/yum -d 0 -e 0 -y install foreman-proxy’ returned 1: Error: Package: foreman-proxy-1.19.0-1.el7.noarch (foreman)
[ERROR 2018-10-11T11:54:32 main] Requires: rubygem(rake) >= 0.8.3
[ERROR 2018-10-11T11:54:32 main] You could try using --skip-broken to work around the problem
[ERROR 2018-10-11T11:54:32 main] You could try running: rpm -Va --nofiles --nodigest

After that I have more one ERROR. I’m going to put the anotehr error in other post.

The second error:

[DEBUG 2018-10-11T11:54:35 main]  Executing: '/bin/yum -d 0 -e 0 -y install mod_passenger'
[ERROR 2018-10-11T11:54:40 main]  Execution of '/bin/yum -d 0 -e 0 -y install mod_passenger' returned 1: Error: Package: passenger-4.0.53-4.el7.x86_64 (epel)
[ERROR 2018-10-11T11:54:40 main]            Requires: rubygem(rake)
[ERROR 2018-10-11T11:54:40 main]  You could try using --skip-broken to work around the problem
[ERROR 2018-10-11T11:54:40 main]  You could try running: rpm -Va --nofiles --nodigest
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:285:in `execute'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider.rb:101:in `execute'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package/yum.rb:220:in `install'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/package.rb:88:in `block (3 levels) in <module:Puppet>'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:491:in `set'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:568:in `sync'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:236:in `sync'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:134:in `sync_if_needed'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:80:in `perform_changes'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:21:in `evaluate'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:257:in `apply'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:277:in `eval_resource'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `call'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block (2 levels) in evaluate'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in `block in thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in `thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block in evaluate'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:in `evaluate'
[ERROR 2018-10-11T11:54:40 main] /usr/share/gems/gems/kafo-2.1.0/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:239:in `block (2 levels) in apply'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in `block in thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in `thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:146:in `as_logging_destination'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block (2 levels) in apply_catalog'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:515:in `block in thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:514:in `thinmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `block in apply_catalog'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:184:in `apply_catalog'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:369:in `run_internal'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:237:in `block in run'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:211:in `run'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:in `apply_catalog'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:663:in `exit_on_fail'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:136:in `run'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
[ERROR 2018-10-11T11:54:40 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ERROR 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install mod_passenger' returned 1: Error: Package: passenger-4.0.53-4.el7.x86_64 (epel)
[ERROR 2018-10-11T11:54:40 main]            Requires: rubygem(rake)
[ERROR 2018-10-11T11:54:40 main]  You could try using --skip-broken to work around the problem
[ERROR 2018-10-11T11:54:40 main]  You could try running: rpm -Va --nofiles --nodigest
[ INFO 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]: Evaluated in 6.25 seconds
[ INFO 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/File[passenger.conf]: Starting to evaluate the resource
[ WARN 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/File[passenger.conf]: Dependency Package[mod_passenger] has failures: true
[ WARN 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/File[passenger.conf]: Skipping because of failed dependencies
[DEBUG 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/File[passenger.conf]: Resource is being skipped, unscheduling all events
[ INFO 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/File[passenger.conf]: Evaluated in 0.00 seconds
[ INFO 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/File[zpassenger.load]: Starting to evaluate the resource
[ WARN 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/File[zpassenger.load]: Dependency Package[mod_passenger] has failures: true
[ WARN 2018-10-11T11:54:40 main]  /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/File[zpassenger.load]: Skipping because of failed dependencies

The passenger from EPEL is causing issues, blacklist it. We ship our own passenger because of SELinux. Hopefully we migrate to Puma soon. @packaging will tell in more detail.

FYI it is passenger-4.0.53-4.el7.x86_64 vs passenger-4.0.18-4.el7.x86_64 (Foreman 1.19) so imho Passenger in EPEL was bumped lately which breaks our installation.

Not really true. We ship a passenger because we need native bindings for our SCL Ruby. Currently that’s broken due to the version mismatch and it leads to lower performance.

Regarding the actual error: rubygem(rake) is part of RHEL7 base and CentOS 7 base. We’re not going to ship it and require the OS to provide it. I don’t know OL7, but it was suggested it has an optional repo that includes it. Otherwise you can try to download the RPM from CentOS7 but be aware you won’t get security updates automatically.

Right, for the record we ship SELinux policies heavily modified for Passenger because its inability to initial domain transition so it’s the other way around actually. I don’t remember, it’s some time ago.

I did what this topic of Kirill Kolchanov point as a sollution and works fine!!!

My Foreman is ok now! :grinning: