Issue #13981 has been updated by Daniel Pittman. Status changed from Unreviewed to Needs More Information
It would be a big help if you could cut down the site.pp to the minimum needed to reproduce this, and then attach those to the ticket. Thanks. ---------------------------------------- Bug #13981: Puppet agent gives useful error on one node but not another https://projects.puppetlabs.com/issues/13981#change-61092 Author: Banio Carpenter Status: Needs More Information Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: I had an issue where I had a node listed twice in my site.pp file. On one node I was given an unuseful error: nodea-class# puppetd -t info: Retrieving plugin err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'nodea-class.mydomain.com, nodea-class.mydomain, nodea-class' on node nodea-class.mydomain.com warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run nodea-class# puppetd --version 2.7.12 nodea-class# ruby --version ruby 1.8.5 (2006-08-25) [i386-linux] On another node I was given a useful error: # puppetd -t info: Retrieving plugin err: Could not retrieve catalog from remote server: Error 400 on SERVER: Node 'nodea.mydomain.com' is already defined at /etc/puppet/manifests/site.pp:27; cannot redefine at /etc/puppet/manifests/site.pp:32 on node nodef.mydomain.ca warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run nodef# puppetd --version 2.7.12 nodef# ruby --version ruby 1.8.5 (2006-08-25) [i386-linux] It seems like these should both give the same error. It appears to have to do with where the current node appears in the site.pp file. nodea-class appears at line 115, well after the site of the error, while nodef appears at line 22. -- 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.
