Issue #16770 has been updated by Joe Hillenbrand.

The Ubuntu 10.04.1 guy here.

Here is the result of `puppet agent -t --trace`:    

    Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Could not autoload puppet/indirector/node/active_record: uninitialized constant 
ActiveRecord
    /usr/lib/ruby/vendor_ruby/puppet/indirector/rest.rb:65:in `deserialize'
    /usr/lib/ruby/vendor_ruby/puppet/indirector/rest.rb:121:in `find'
    /usr/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:191:in `find'
    /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:243:in `retrieve_new_catalog'
    /usr/lib/ruby/vendor_ruby/puppet/util.rb:348:in `thinmark'
    /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
    /usr/lib/ruby/vendor_ruby/puppet/util.rb:347:in `thinmark'
    /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:242:in `retrieve_new_catalog'
    /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:67:in `retrieve_catalog'
    /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:107:in 
`prepare_and_retrieve_catalog'
    /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:159:in `run'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45
    /usr/lib/ruby/vendor_ruby/puppet/agent/locker.rb:20:in `lock'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45
    /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:45
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:119:in `with_client'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:42
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:84:in `run_in_fork'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:41
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:175:in `call'
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:175:in `controlled_run'
    /usr/lib/ruby/vendor_ruby/puppet/agent.rb:39:in `run'
    /usr/lib/ruby/vendor_ruby/puppet/application/agent.rb:338:in `onetime'
    /usr/lib/ruby/vendor_ruby/puppet/application/agent.rb:311:in `run_command'
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run'
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:438:in `plugin_hook'
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run'
    /usr/lib/ruby/vendor_ruby/puppet/util.rb:500:in `exit_on_fail'
    /usr/lib/ruby/vendor_ruby/puppet/application.rb:346:in `run'
    /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:76:in `execute'
    /usr/bin/puppet:10
    Warning: Not using cache on failed catalog
    Error: Could not retrieve catalog; skipping run

Here are the gems I have installed:

    ~$ sudo gem list
    *** LOCAL GEMS ***
    activemodel (3.0.11)
    activerecord (3.0.11)
    activesupport (3.0.11)
    arel (2.0.10)
    bigdecimal (1.1.0)
    builder (2.1.2)
    bundler (1.1.5)
    charlock_holmes (0.6.8)
    i18n (0.5.0)
    io-console (0.3)
    json (1.5.4)
    minitest (2.5.1)
    multi_json (1.3.6)
    puppet-lint (0.2.1)
    rake (0.9.2.2)
    rdoc (3.9.4)
    tzinfo (0.3.33)


----------------------------------------
Bug #16770: "uninitialized constant ActiveRecord" on puppet 3 w/ storedconfigs
https://projects.puppetlabs.com/issues/16770#change-72540

Author: eric sorenson
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 3.0.1
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


Two users on the mailing list reported the same error loading active record on 
Telly: https://groups.google.com/d/topic/puppet-users/3tC0gYg9XA0/discussion

One is on EL6, the other Ubuntu 10.4

<pre>
Yesterday my puppetmaster and nodes got upgraded to puppet-3.0.0. 

Since then, all puppet runs have been failing with this error: 

Error: Could not retrieve catalog from remote server: Error 400 on 
SERVER: Could not autoload puppet/indirector/node/active_record: 
uninitialized constant ActiveRecord 


My colleague and I have put a few hours into trying to work out what's 
wrong. rubygem-activerecord-2.1.1-2.el6.noarch is installed from the 
puppetlabs RPM repo. We've reinstalled all components but made no progress. 
</pre>



-- 
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://projects.puppetlabs.com/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.

Reply via email to