Yeah, changing to "storeconfigs = false" in puppet.conf doesn't seem to change the behaviour.
Oh, wait, scratch that. It still emits the error, but then goes on to actually run. That is, it was doing this: $ puppetd -tv Failed to load feature test for rails: undefined method `synchronize' for ActiveRecord::ConnectionAdapters::ConnectionPool:Class info: Retrieving plugins err: Could not retrieve catalog: Rails is missing; cannot store configurations warning: Not using cache on failed catalog $ Now it does this: $ puppetd -tv Failed to load feature test for rails: undefined method `synchronize' for ActiveRecord::ConnectionAdapters::ConnectionPool:Class info: Retrieving plugins info: Caching catalog at /var/lib/puppet/state/localconfig.yaml notice: Starting catalog run notice: Finished catalog run in 9.99 seconds $ Switching storeconfigs and restarting puppetmasterd is enough to switch between the two behaviours. Downgrading rails (via dpkg) from 2.1.0-6 to 2.0.2-2 did not seem to make the error go away. I am now functional again; yay. If anyone wants more details to help track this down as a bug, please let me know. Hell, you can have a shell account if you like. :) -Robin On Mon, Mar 02, 2009 at 01:30:20PM +0800, Ohad Levy wrote: > if you don't use storeconfig, you can probably turn it off and > avoid using rails at all. > > if not, I would guess you have a newer version of rails that puppet can > handle, I'm *guessing* that you can remove your current rails version and > install using gem rails-2.0.2 or similar... > > Cheers, > Ohad > > On Mon, Mar 2, 2009 at 1:11 PM, Robin Lee Powell < > rlpow...@digitalkingdom.org> wrote: > > > > > On Sun, Mar 01, 2009 at 03:36:35PM -0800, Robin Lee Powell wrote: > > > > > > > > > On all 3 of my servers, after a routine aptitude upgrade, I'm now > > > getting: > > > > > > ec2-www1# puppetd -tv > > > info: Retrieving plugins > > > info: Retrieving facts > > > err: Could not retrieve catalog: Rails is missing; cannot store > > configurations > > > warning: Not using cache on failed catalog > > > > > > When I went to restart puppetmasterd on the master, I got what I > > > assume is the explanation: > > > > > > Failed to load feature test for rails: undefined method `synchronize' > > for ActiveRecord::ConnectionAdapters::ConnectionPool:Class > > > > > > I guess some library changed, but I really don't know enough about > > > Rails to guess which one, and I haven't seen anything that looks > > > helpful in google yet. > > > > I've tried to dig through the Puppet code to find out where the > > check is occuring so I can shut it the hell up, since Rails *is* > > installed, but I can't find it. I guess it might be > > /usr/src/puppet-0.24.7/lib/puppet/feature/rails.rb , but if so I > > don't understand how. > > > > Puppet completely isn't working; help would be greatly appreciated. > > > > -Robin > > > > -- > > They say: "The first AIs will be built by the military as weapons." > > And I'm thinking: "Does it even occur to you to try for something > > other than the default outcome?" -- http://shorl.com/tydruhedufogre > > http://www.digitalkingdom.org/~rlpowell/<http://www.digitalkingdom.org/%7Erlpowell/>*** > > http://www.lojban.org/ > > > > > > > > > > -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---