Issue #2041 has been updated by rlpowell.
File pmd2.txt added
root$ puppetmasterd --printconfig storeconfigs
Failed to load feature test for rails: undefined method `synchronize' for
ActiveRecord::ConnectionAdapters::ConnectionPool:Class
/usr/bin/puppetmasterd: unrecognized option `--printconfig'
Try '/usr/bin/puppetmasterd --help'
root$
I checked --help, and couldn't find anything relevant.
> 2.0 should work, and if it's not, please post stack traces from the server.
Just for the record, no-one has answered my question about how to do that.
There's no --trace that I can tell. Is --debug sufficient to count as "stack
traces"?
The oldest debian 2.0 "rails" package I can find is 2.0.1-2 (I've never had
rails installed any other way).
It does not help:
$ puppetmasterd --printconfig storeconfigs
Failed to load feature test for rails: undefined method `synchronize' for
ActiveRecord::ConnectionAdapters::ConnectionPool:Class
/usr/bin/puppetmasterd: unrecognized option `--printconfig'
Try '/usr/bin/puppetmasterd --help'
$ dpkg -l | grep -i rail
ii rails 2.0.1-2
MVC ruby based framework geared for
Attached is the output of /usr/bin/ruby1.8 /usr/sbin/puppetmasterd -l console
-d -v --no-daemonize --trace , with storeconfigs *off*. It is still
complaining about the rails test failure.
-Robin
----------------------------------------
Bug #2041: Rails error with upgraded system packages?, even with storeconfigs =
false
http://projects.reductivelabs.com/issues/2041
Author: rlpowell
Status: Needs more information
Priority: Normal
Assigned to:
Category:
Target version: 0.26.0
Complexity: Unknown
Affected version: 0.24.7
Keywords:
I'm not sure what I upgraded on my system to cause this (I run apt-get upgrade
or so routinely), but now:
$ 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
$
If I set storeconfigs to false, the run occurs but the error still does too:
$ 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
$
Downgrading rails (via dpkg) from 2.1.0-6 to 2.0.2-2 did not seem to make the
error go away.
Puppet is 0.24.7
-Robin
----------------------------------------
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---