Ruby193-rubygem-passenger-native not available on EL

Hi

We updated our foreman instances to 1.10. and are now seeing this when
running foreman-installer

[ INFO 2016-02-01 13:22:39 verbose] All hooks in group post finished
[ERROR 2016-02-01 13:22:39 verbose] Repeating errors encountered during run:
[ERROR 2016-02-01 13:22:39 verbose] Execution of '/usr/bin/yum -d 0 -e 0
-y list ruby193-rubygem-passenger-native' returned 1: Error: No matching
Packages to list
[ERROR 2016-02-01 13:22:39 verbose]
/Stage[main]/Foreman::Install/Package[ruby193-rubygem-passenger-native]/ensure:
change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0
-y list ruby193-rubygem-passenger-native' returned 1: Error: No matching
Packages to list

SCL repo is configured. Searching shows a package
named ruby193-rubygem-passenger40 available.

$ yum search ruby193-rubygem-passenger

ruby193-rubygem-passenger40.x86_64 : Passenger Ruby web application server
ruby193-rubygem-passenger40-devel.x86_64 : Apache Module for Phusion
Passenger
ruby193-rubygem-passenger40-doc.noarch : Apache Module for Phusion Passenger
ruby193-rubygem-passenger40-native.x86_64 : Phusion Passenger native
extensions
ruby193-rubygem-passenger40-native-libs.x86_64 : Phusion Passenger native
extensions

This is happening on both CentOS and RHEL7 as well as RHEL6.

Is there a problem with our installation or have you seen this before?

Any help is appreciated!
Thanks
Sandro

Hi Sandro,

Just some guesses from a Foreman rookie…

I just updated my CentOS 6 a week or two ago without any problems. If i try
to install the package in your post i get:
> Package ruby193-rubygem-passenger-native-4.0.18-9.el6.x86_64 is obsoleted
by tfm-rubygem-passenger-native-4.0.18-9.9.el6.x86_64 which is already
installed

And the "tfm" was installed from the forman repository. Have you done an
update (yum update) of all packages on your system before executing the
installer?
Followed the Upgrade manuall exactly? F.ex. not skipping any version?
http://theforeman.org/manuals/1.10/#3.6Upgrade

There's a known issue described there too:

  • RPM users with ruby193-rubygems-1.8.24 installed (usually from old
    Foreman versions) should run yum downgrade ruby193-rubygems-1.8.23 to fix
    potential errors with nokogiri and/or pg_ext.

And:
Lots of changes were made to the RPM naming in this release, and not all
old packages have an upgrade path. If the command above raises an error
when determining the packages to update, check below for possible
resolutions:

  • ruby193-rubygem-thin errors: remove this package as it's unused by
    running rpm -e ruby193-rubygem-thin
  • Requires: v8314-runtime: missing the v8314 software collection
    repository. Check that a SCL repo with v8314 is enabled as per RPM
    Pre-requisites.

As Urs said, this is now tfm-rubygem-passenger-native. The installer
has the old name remembered via its answers file (under /etc/foreman),
so you could change it there or update it by adding
–foreman-passenger-ruby-package=tfm-rubygem-passenger-native.

··· On 01/02/16 13:49, Sandro Roth wrote: > Hi > > We updated our foreman instances to 1.10. and are now seeing this when > running foreman-installer > > [ INFO 2016-02-01 13:22:39 verbose] All hooks in group post finished > [ERROR 2016-02-01 13:22:39 verbose] Repeating errors encountered during run: > [ERROR 2016-02-01 13:22:39 verbose] Execution of '/usr/bin/yum -d 0 -e > 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No > matching Packages to list > [ERROR 2016-02-01 13:22:39 verbose] > /Stage[main]/Foreman::Install/Package[ruby193-rubygem-passenger-native]/ensure: > change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e > 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No > matching Packages to list


Dominic Cleal
dominic@cleal.org

Thank you both for your help!

Adding --foreman-passenger-ruby-package to foreman-installer solved the
issue :slight_smile:

Cheers

··· On Monday, February 1, 2016 at 4:37:53 PM UTC+1, Dominic Cleal wrote: > > On 01/02/16 13:49, Sandro Roth wrote: > > Hi > > > > We updated our foreman instances to 1.10. and are now seeing this when > > running foreman-installer > > > > [ INFO 2016-02-01 13:22:39 verbose] All hooks in group post finished > > [ERROR 2016-02-01 13:22:39 verbose] Repeating errors encountered during > run: > > [ERROR 2016-02-01 13:22:39 verbose] Execution of '/usr/bin/yum -d 0 -e > > 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No > > matching Packages to list > > [ERROR 2016-02-01 13:22:39 verbose] > > > /Stage[main]/Foreman::Install/Package[ruby193-rubygem-passenger-native]/ensure: > > > change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e > > 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No > > matching Packages to list > > As Urs said, this is now tfm-rubygem-passenger-native. The installer > has the old name remembered via its answers file (under /etc/foreman), > so you could change it there or update it by adding > --foreman-passenger-ruby-package=tfm-rubygem-passenger-native. > > -- > Dominic Cleal > dom...@cleal.org >