I am trying to install Foreman using a Puppet 5.x server on CentOS 7.4.  
The Puppet server is currently built via Puppet to the point that it is up 
and functional but it is not aware of Foreman (as a service) yet.  I am 
building the Foreman server using the Puppet 5.x server to apply the 
configuration.

I'm running into an issue similar to in this thread:  
https://groups.google.com/forum/#!topic/foreman-users/X5_Tg3J7jUw

I am using the CentOS SCLo build of ruby193.  The puppet5 repo does not 
contain any ruby RPMs.  Via Puppet, Foreman is installing the software and 
then failing on the "/usr/sbin/foreman-rake db:migrate" command.  If I 
uncomment the puts line in the *bundler_ext.rb* file to get further 
details, I see a similar message about active_support/security_utils.

   [root@devforeman5 ~]# /usr/sbin/foreman-rake db:migrate
   Caught error: cannot load such file -- active_support/security_utils
   rake aborted!
   Gem loading error: cannot load such file -- audited/activerecord

Saving the list of ruby* RPMs that were installed, I removed them all and 
then reinstalled them all with yum so I could see what repo its pulling the 
files from:

=====================================================================================================================================
 Package                                              Arch        
Version                      Repository                       Size
=====================================================================================================================================
Installing:
 ruby                                                 x86_64      
2.0.0.648-30.el7             base                             69 k
 ruby-irb                                             noarch      
2.0.0.648-30.el7             base                             90 k
 ruby-libs                                            x86_64      
2.0.0.648-30.el7             base                            2.8 M
 ruby193-facter                                       x86_64      
2.2.0-1.1.el7                foreman                          99 k
 ruby193-ruby                                         x86_64      
1.9.3.484-51.el7             sclo-ruby193-epel-7-x86_64       65 k
 ruby193-ruby-irb                                     noarch      
1.9.3.484-51.el7             sclo-ruby193-epel-7-x86_64       78 k
 ruby193-ruby-libs                                    x86_64      
1.9.3.484-51.el7             sclo-ruby193-epel-7-x86_64      2.7 M
 ruby193-ruby-wrapper                                 noarch      
0.0.2-5.el7                  foreman                         5.8 k
 ruby193-rubygem-actionmailer                         noarch      
1:3.2.8-1.el7                sclo-ruby193-epel-7-x86_64       24 k
 ruby193-rubygem-actionpack                           noarch      
1:3.2.8-20.el7               sclo-ruby193-epel-7-x86_64      283 k
 ruby193-rubygem-activemodel                          noarch      
3.2.8-2.el7                  sclo-ruby193-epel-7-x86_64       48 k
 ruby193-rubygem-activerecord                         noarch      
1:3.2.8-8.2.el7              sclo-ruby193-epel-7-x86_64      239 k
 ruby193-rubygem-activeresource                       noarch      
1:3.2.8-2.el7                sclo-ruby193-epel-7-x86_64       33 k
 ruby193-rubygem-activesupport                        noarch      
1:3.2.8-5.el7                sclo-ruby193-epel-7-x86_64      944 k
 ruby193-rubygem-ancestry                             noarch      
2.0.0-2.el7                  foreman                          33 k
 ruby193-rubygem-apipie-rails                         noarch      
0.2.6-1.el7                  foreman                         149 k
 ruby193-rubygem-arel                                 noarch      
3.0.2-3.el7                  sclo-ruby193-epel-7-x86_64       36 k
 ruby193-rubygem-audited                              noarch      
3.0.0-3.el7                  foreman                         9.9 k
 ruby193-rubygem-audited-activerecord                 noarch      
3.0.0-3.el7                  foreman                         9.6 k
 ruby193-rubygem-bigdecimal                           x86_64      
1.1.0-51.el7                 sclo-ruby193-epel-7-x86_64       76 k
 ruby193-rubygem-builder                              noarch      
3.0.0-3.el7                  sclo-ruby193-epel-7-x86_64       18 k
 ruby193-rubygem-bundler                              noarch      
1.3.5-1.el7                  sclo-ruby193-epel-7-x86_64      131 k
 ruby193-rubygem-bundler_ext                          noarch      
0.3.0-6.el7                  foreman                         8.1 k
 ruby193-rubygem-deep_cloneable                       noarch      
2.0.0-4.el7                  foreman                          17 k
 ruby193-rubygem-diff-lcs                             noarch      
1.1.3-1.el7                  sclo-ruby193-epel-7-x86_64       37 k
 ruby193-rubygem-erubis                               noarch      
2.7.0-4.el7                  sclo-ruby193-epel-7-x86_64       38 k
 ruby193-rubygem-fast_gettext                         noarch      
0.8.0-15.el7                 foreman                         116 k
 ruby193-rubygem-foreigner                            noarch      
1.4.2-1.el7                  foreman                          19 k
 ruby193-rubygem-friendly_id                          noarch      
4.0.10.1-1.el7               foreman                          24 k
 ruby193-rubygem-gettext_i18n_rails                   noarch      
0.10.0-3.el7                 foreman                         134 k
 ruby193-rubygem-gettext_i18n_rails_js                noarch      
0.0.8-2.el7                  foreman                          20 k
 ruby193-rubygem-hike                                 noarch      
1.2.1-3.el7                  sclo-ruby193-epel-7-x86_64      9.9 k
 ruby193-rubygem-i18n                                 noarch      
0.6.0-3.el7                  sclo-ruby193-epel-7-x86_64       47 k
 ruby193-rubygem-i18n_data                            noarch      
0.2.7-3.el7                  foreman                         467 k
 ruby193-rubygem-io-console                           x86_64      
0.3-51.el7                   sclo-ruby193-epel-7-x86_64       48 k
 ruby193-rubygem-journey                              noarch      
1.0.4-2.el7                  sclo-ruby193-epel-7-x86_64       23 k
 ruby193-rubygem-json                                 x86_64      
1.5.5-51.el7                 sclo-ruby193-epel-7-x86_64       70 k
 ruby193-rubygem-ldap_fluff                           noarch      
0.3.3-1.el7                  foreman                          14 k
 ruby193-rubygem-mail                                 noarch      
2.4.4-4.el7                  sclo-ruby193-epel-7-x86_64      118 k
 ruby193-rubygem-mime-types                           noarch      
1.19-1.el7                   sclo-ruby193-epel-7-x86_64       34 k
 ruby193-rubygem-minitest                             noarch      
2.5.1-51.el7                 sclo-ruby193-epel-7-x86_64       56 k
 ruby193-rubygem-multi_json                           noarch      
1.8.2-2.el7                  foreman                          18 k
 ruby193-rubygem-mysql2                               x86_64      
0.3.11-4.el7                 foreman                          61 k
 ruby193-rubygem-net-http-persistent                  noarch      
2.7-3.el7                    sclo-ruby193-epel-7-x86_64       21 k
 ruby193-rubygem-net-ldap                             noarch      
0.3.1-2.el7                  foreman                          50 k
 ruby193-rubygem-netrc                                noarch      
0.7.7-5.el7                  foreman                         8.3 k
 ruby193-rubygem-oauth                                noarch      
0.4.7-6.el7                  foreman                         274 k
 ruby193-rubygem-po_to_json                           noarch      
0.0.7-2.el7                  foreman                         6.9 k
 ruby193-rubygem-polyglot                             noarch      
0.3.3-2.el7                  sclo-ruby193-epel-7-x86_64      7.4 k
 ruby193-rubygem-rabl                                 noarch      
0.9.0-1.el7                  foreman                         145 k
 ruby193-rubygem-rack                                 noarch      
1:1.4.1-5.el7                sclo-ruby193-epel-7-x86_64      425 k
 ruby193-rubygem-rack-cache                           noarch      
1.2-2.el7                    sclo-ruby193-epel-7-x86_64       23 k
 ruby193-rubygem-rack-ssl                             noarch      
1.3.2-7.el7                  sclo-ruby193-epel-7-x86_64      6.3 k
 ruby193-rubygem-rack-test                            noarch      
0.6.1-3.el7                  sclo-ruby193-epel-7-x86_64       85 k
 ruby193-rubygem-rails                                noarch      
1:3.2.8-2.el7                sclo-ruby193-epel-7-x86_64      7.2 k
 ruby193-rubygem-railties                             noarch      
3.2.8-3.el7                  sclo-ruby193-epel-7-x86_64      155 k
 ruby193-rubygem-rake                                 noarch      
0.9.2.2-51.el7               sclo-ruby193-epel-7-x86_64       83 k
 ruby193-rubygem-rdoc                                 x86_64      
3.9.5-51.el7                 sclo-ruby193-epel-7-x86_64      3.5 M
 ruby193-rubygem-ref                                  noarch      
1.0.0-3.el7                  sclo-ruby193-epel-7-x86_64       13 k
 ruby193-rubygem-rest-client                          noarch      
1.6.7-2.el7                  foreman                         221 k
 ruby193-rubygem-ruby2ruby                            noarch      
2.0.1-7.el7                  foreman                          34 k
 ruby193-rubygem-ruby_parser                          noarch      
3.1.1-6.el7                  foreman                         102 k
 ruby193-rubygem-safemode                             noarch      
1.2.1-1.el7                  foreman                          37 k
 ruby193-rubygem-scoped_search                        noarch      
2.7.1-1.el7                  foreman                          36 k
 ruby193-rubygem-secure_headers                       noarch      
1.3.3-1.el7                  foreman                         164 k
 ruby193-rubygem-sexp_processor                       noarch      
4.1.3-5.el7                  foreman                          61 k
 ruby193-rubygem-sprockets                            noarch      
2.8.2-2.el7                  foreman                          41 k
 ruby193-rubygem-therubyracer                         x86_64      
0.11.0-0.9.beta5.el7         sclo-ruby193-epel-7-x86_64       68 k
 ruby193-rubygem-thor                                 noarch      
0.18.1-2.el7                 sclo-ruby193-epel-7-x86_64       50 k
 ruby193-rubygem-tilt                                 noarch      
1.3.3-10.el7                 sclo-ruby193-epel-7-x86_64       27 k
 ruby193-rubygem-treetop                              noarch      
1.4.10-6.el7                 sclo-ruby193-epel-7-x86_64      421 k
 ruby193-rubygem-tzinfo                               noarch      
0.3.33-2.el7                 sclo-ruby193-epel-7-x86_64      232 k
 ruby193-rubygem-uuidtools                            noarch      
2.1.3-3.el7                  foreman                          20 k
 ruby193-rubygem-validates_lengths_from_database      noarch      
0.2.0-1.el7                  foreman                         7.6 k
 ruby193-rubygem-will_paginate                        noarch      
3.0.2-8.el7                  foreman                         144 k
 ruby193-rubygems                                     noarch      
1.8.23-51.el7                sclo-ruby193-epel-7-x86_64      186 k
 ruby193-runtime                                      x86_64      
1.1-9.el7                    sclo-ruby193-epel-7-x86_64       27 k
 rubygem-bigdecimal                                   x86_64      
1.2.0-30.el7                 base                             81 k
 rubygem-io-console                                   x86_64      
0.4.2-30.el7                 base                             52 k
 rubygem-json                                         x86_64      
1.7.7-30.el7                 base                             77 k
 rubygem-psych                                        x86_64      
2.0.0-30.el7                 base                             79 k
 rubygem-rack                                         noarch      
1:1.6.4-2.el7                epel                             89 k
 rubygem-rake                                         noarch      
0.9.6-30.el7                 base                             91 k
 rubygem-rdoc                                         noarch      
4.0.0-30.el7                 base                            319 k
 rubygems                                             noarch      
2.0.14.1-30.el7              base                            216 k

I see there are a few ruby RPMs being pulled in from base and epel.  But if 
I exclude them, the rest of the ruby193 stuff will not install at all.  So 
I appear to be pulling all the relevant gem RPMs from the SCLo repo.

So I don't appear to have the same potential solution that worked for the 
poster of the older thread.

Thanks,
David Goldsmith


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to