Joehillen
2011-Dec-21 18:17 UTC
[Puppet Users] Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
I''m trying to setup a new puppet setup (master and clients). I installed puppet v2.7.9 from the apt.puppetlabs.com repo. I setup async_storeconfigs with mysql and stompserver. When I try to run, puppet agent --test --noop, on the client I get this message. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord There are on actual storeconfigs written yet. I saw a similar error to this on the mailing list, but that was from someone who installed from gems. Thanks, -Joe -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/0mcO8jRZfksJ. 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.
Joehillen
2011-Dec-21 18:26 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Btw, this is Ubuntu Server 10.04.3 LTS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/-QncNnfVshYJ. 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.
Joehillen
2011-Dec-21 19:53 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Ok, I solved the issue. It took some doing because apparently puppet doesn''t work with the newest version of activerecord. http://projects.puppetlabs.com/issues/867 Here are the steps that ended up working: apt-get install rubygems gem install activerecord --version 3.0.11 apt-get install libmysqlclient15-dev gem install mysql I had to disable async_storeconfig because stomp gave an error and I had never used it before: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not write a3.colo.wetpaint.com to queue: undefined method `publish'' for #<Stomp::Client:0x7f86042f8280> Instance::#<Puppet::Resource::Catalog:0x7f8604546618> client : #<Puppet::Util::Queue::Stomp:0x7f860447b080> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/0gH07j9XCkEJ. 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.
Joehillen
2011-Dec-21 19:53 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Ok, I solved the issue. It took some doing because apparently puppet doesn''t work with the newest version of activerecord. http://projects.puppetlabs.com/issues/867 Here are the steps that ended up working: apt-get install rubygems gem install activerecord --version 3.0.11 apt-get install libmysqlclient15-dev gem install mysql I had to disable async_storeconfig because stomp gave an error and I had never used it before: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not write ***** to queue: undefined method `publish'' for #<Stomp::Client:0x7f86042f8280> Instance::#<Puppet::Resource::Catalog:0x7f8604546618> client : #<Puppet::Util::Queue::Stomp:0x7f860447b080> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/pKhuJ7B6GoQJ. 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.
Ryan Bowlby
2012-Feb-08 23:28 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Thank you, you just added hours to my life! 3.0.11 works perfect. Perhaps the puppetlabs docs should make note of this? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/AtyLWUsZhWEJ. 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.
NewpTone
2012-Aug-21 11:30 UTC
[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Thx,this really helps me ,but I wonder why storeconfig setting will cause the error ? 在 2011年12月22日星期四UTC+8上午3时53分55秒,Joehillen写道:> > Ok, I solved the issue. > > It took some doing because apparently puppet doesn''t work with the newest > version of activerecord. > > http://projects.puppetlabs.com/issues/867 > > Here are the steps that ended up working: > > apt-get install rubygems > gem install activerecord --version 3.0.11 > apt-get install libmysqlclient15-dev > gem install mysql > > I had to disable async_storeconfig because stomp gave an error and I had > never used it before: > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Could not write ***** to queue: undefined method `publish'' for > #<Stomp::Client:0x7f86042f8280> > Instance::#<Puppet::Resource::Catalog:0x7f8604546618> > client : #<Puppet::Util::Queue::Stomp:0x7f860447b080>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/zmMWfOpsodcJ. 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.
Sam Kottler
2012-Aug-21 11:34 UTC
Re: [Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord
Storeconfigs use activerecord as an ORM. -Sama On Tue, Aug 21, 2012 at 7:30 AM, NewpTone <yuxcer@gmail.com> wrote:> > Thx,this really helps me ,but I wonder why storeconfig setting will > cause the error ? > 在 2011年12月22日星期四UTC+8上午3时53分55秒,Joehillen写道: >> >> Ok, I solved the issue. >> >> It took some doing because apparently puppet doesn''t work with the newest >> version of activerecord. >> >> http://projects.puppetlabs.**com/issues/867<http://projects.puppetlabs.com/issues/867> >> >> Here are the steps that ended up working: >> >> apt-get install rubygems >> gem install activerecord --version 3.0.11 >> apt-get install libmysqlclient15-dev >> gem install mysql >> >> I had to disable async_storeconfig because stomp gave an error and I had >> never used it before: >> >> err: Could not retrieve catalog from remote server: Error 400 on SERVER: >> Could not write ***** to queue: undefined method `publish'' for >> #<Stomp::Client:**0x7f86042f8280> >> Instance::#<Puppet::Resource::**Catalog:0x7f8604546618> >> client : #<Puppet::Util::Queue::Stomp:**0x7f860447b080> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/zmMWfOpsodcJ. > 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.