Issue #8033 has been updated by Grant Heffernan.
Some more debug info from the master. I'm at a loss: it actually appears to be importing the modules and then complaining that they're not found. And like I said, no issues up to and including 2.6.9. Tried 2.7.1 as well with the same result. info: access[^/catalog/([^/]+)$]: allowing 'method' find info: access[^/catalog/([^/]+)$]: allowing $1 access info: access[^/node/([^/]+)$]: allowing 'method' find info: access[^/node/([^/]+)$]: allowing $1 access info: access[/certificate_revocation_list/ca]: allowing 'method' find info: access[/certificate_revocation_list/ca]: allowing * access info: access[/report]: allowing 'method' save info: access[/report]: allowing * access info: access[/file]: allowing * access info: access[/certificate/ca]: adding authentication no info: access[/certificate/ca]: allowing 'method' find info: access[/certificate/ca]: allowing * access info: access[/certificate/]: adding authentication no info: access[/certificate/]: allowing 'method' find info: access[/certificate/]: allowing * access info: access[/certificate_request]: adding authentication no info: access[/certificate_request]: allowing 'method' find info: access[/certificate_request]: allowing 'method' save info: access[/certificate_request]: allowing * access info: access[/]: adding authentication any info: Inserting default '/status'(auth) ACL because none were found in '/etc/puppet/auth.conf' info: Expiring the node cache of 10.182.15.157 info: Not using expired node for 10.182.15.157 from cache; expired at Thu Jun 30 10:28:40 +0000 2011 info: Caching node for 10.182.15.157 debug: importing '/etc/puppet/manifests/nodes.pp' in environment production debug: importing '/etc/puppet/manifests/classes/add_remove_line.pp' in environment production debug: importing '/etc/puppet/modules/puppet_master/manifests/init.pp' in environment production debug: importing '/etc/puppet/modules/puppet_master/manifests/puppet_master.pp' in environment production warning: Unrecognised escape sequence '\;' in file /etc/puppet/modules/puppet_master/manifests/puppet_master.pp at line 29 err: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 err: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 info: //10.182.15.157/Puppet: Loading facts in rvm_installed info: //10.182.15.157/Puppet: Loading facts in rvm_installed err: //10.182.15.157/Puppet: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 warning: //10.182.15.157/Puppet: Not using cache on failed catalog err: //10.182.15.157/Puppet: Could not retrieve catalog; skipping run info: mount[files]: allowing *.brewster.com access info: mount[files]: allowing 10.182.15.157 access info: Expiring the node cache of staging-rr-r01.brewster.com info: Not using expired node for staging-rr-r01.brewster.com from cache; expired at Thu Jun 30 10:29:03 +0000 2011 info: Caching node for staging-rr-r01.brewster.com debug: importing '/etc/puppet/modules/motd/manifests/init.pp' in environment production debug: importing '/etc/puppet/modules/motd/manifests/motd.pp' in environment production err: Could not find class motd for staging-rr-r01.brewster.com at /etc/puppet/manifests/nodes.pp:7 on node staging-rr-r01.brewster.com err: Could not find class motd for staging-rr-r01.brewster.com at /etc/puppet/manifests/nodes.pp:7 on node staging-rr-r01.brewster.com err: //staging-rr-r01.brewster.com/Puppet: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class motd for staging-rr-r01.brewster.com at /etc/puppet/manifests/nodes.pp:7 on node staging-rr-r01.brewster.com notice: //staging-rr-r01.brewster.com/Puppet: Using cached catalog err: //staging-rr-r01.brewster.com/Puppet: Could not retrieve catalog; skipping run info: Expiring the node cache of 10.182.15.157 info: Not using expired node for 10.182.15.157 from cache; expired at Thu Jun 30 10:30:01 +0000 2011 info: Caching node for 10.182.15.157 debug: importing '/etc/puppet/manifests/nodes.pp' in environment production debug: importing '/etc/puppet/manifests/classes/add_remove_line.pp' in environment production debug: importing '/etc/puppet/modules/puppet_master/manifests/init.pp' in environment production debug: importing '/etc/puppet/modules/puppet_master/manifests/puppet_master.pp' in environment production err: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 err: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 info: //10.182.15.157/Puppet: Loading facts in rvm_installed info: //10.182.15.157/Puppet: Loading facts in rvm_installed err: //10.182.15.157/Puppet: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 warning: //10.182.15.157/Puppet: Not using cache on failed catalog err: //10.182.15.157/Puppet: Could not retrieve catalog; skipping run ---------------------------------------- Bug #8033: Puppet 2.7 => cannot find classes https://projects.puppetlabs.com/issues/8033 Author: Grant Heffernan Status: Needs More Information Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.7.0 Keywords: Branch: My current setup has run without issue on 2.6.7, 2.6.8 and now 2.6.9. However, on attempting to upgrade to 2.7, runs of the agent fail with 'class not found' errors: root@puppetmaster:~/puppet-2.7.0# puppet agent --test info: Loading facts in rvm_installed info: Loading facts in rvm_installed err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class puppet_master for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:50 on node 10.182.15.157 warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run root@puppetmaster:~/puppet-2.7.0# puppet agent --test --verbose info: Loading facts in rvm_installed info: Loading facts in rvm_installed err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class motd for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on node 10.182.15.157 warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run root@puppetmaster:~/puppet-2.7.0# puppet agent --test --verbose info: Loading facts in rvm_installed info: Loading facts in rvm_installed err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class user::eng for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:52 on node 10.182.15.157 warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run -- 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.
