Tom
2011-Nov-14 12:10 UTC
[Puppet Users] Stored config error "Could not autoload active_record: uninitialized constant ActiveRecord"
Hi, Attempting to get Puppet, Ruby Ent, Foreman, and Passenger working on Centos 6 but ran into this problem with stored configs. Tried getting stored configs working through MySQL but when I run>puppet agent --test --debug --no-daemonize -von the Puppet Master I get this error "err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run" Gems installed>gem listactionmailer (3.1.1) actionpack (3.1.1) activemodel (3.1.1) activerecord (3.1.1) activeresource (3.1.1) activesupport (3.1.1) arel (2.2.1) builder (3.0.0) bundler (1.0.21) daemon_controller (0.2.6) erubis (2.7.0) fastthread (1.0.7) hike (1.2.1) i18n (0.6.0) mail (2.3.0) mime-types (1.17.2) multi_json (1.0.3) mysql (2.8.1) passenger (3.0.9) polyglot (0.3.3) rack (1.3.5) rack-cache (1.1) rack-mount (0.8.3) rack-ssl (1.3.2) rack-test (0.6.1) railties (3.1.1) rake (0.9.2.2) rdoc (3.11) rubygems-update (1.8.11) sprockets (2.1.0, 2.0.3) thor (0.14.6) treetop (1.4.10) tzinfo (0.3.31) So activerecord 3.1.1 is installed but I think it might be related to a library path...I am fairly new to Puppet so not sure how to get around this issue. Any help kindly appreciated. Thanks Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ohad Levy
2011-Nov-14 15:23 UTC
Re: [Puppet Users] Stored config error "Could not autoload active_record: uninitialized constant ActiveRecord"
On Mon, Nov 14, 2011 at 2:10 PM, Tom <tomhayman@gmail.com> wrote:> Hi, > > Attempting to get Puppet, Ruby Ent, Foreman, and Passenger working on > Centos 6 but ran into this problem with stored configs. > > Tried getting stored configs working through MySQL but when I run > >>puppet agent --test --debug --no-daemonize -v > > on the Puppet Master I get this error > > "err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not autoload active_record: uninitialized constant > ActiveRecord > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run" > > Gems installed > >>gem list > actionmailer (3.1.1) > actionpack (3.1.1) > activemodel (3.1.1) > activerecord (3.1.1) > activeresource (3.1.1) > activesupport (3.1.1) > arel (2.2.1) > builder (3.0.0) > bundler (1.0.21) > daemon_controller (0.2.6) > erubis (2.7.0) > fastthread (1.0.7) > hike (1.2.1) > i18n (0.6.0) > mail (2.3.0) > mime-types (1.17.2) > multi_json (1.0.3) > mysql (2.8.1) > passenger (3.0.9) > polyglot (0.3.3) > rack (1.3.5) > rack-cache (1.1) > rack-mount (0.8.3) > rack-ssl (1.3.2) > rack-test (0.6.1) > railties (3.1.1) > rake (0.9.2.2) > rdoc (3.11) > rubygems-update (1.8.11) > sprockets (2.1.0, 2.0.3) > thor (0.14.6) > treetop (1.4.10) > tzinfo (0.3.31) > > > So activerecord 3.1.1 is installed but I think it might be related to > a library path...I am fairly new to Puppet so not sure how to get > around this issue.You should use the gem bin that is installed from REE Ohad> > Any help kindly appreciated. > > Thanks > Tom > > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.