Hugo Deprez
2011-Feb-09 15:13 UTC
[Puppet Users] Puppet broken - Could not retrieve catalog from remote server
Hello, I was trying to change two modules on my puppet. And I was block on one error, until I figured that the error which show up was not related to a specific module. This error is causing issue to all my puppet clients : #puppetd -vt info: Retrieving plugin err: Could not retrieve catalog from remote server: Error 400 on SERVER: compile error (erb):416: syntax error, unexpected kEND, expecting $end ; end ; _erbout ^ warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I can see in the apache2 logs : [09/Feb/2011:16:06:45 +0100] "GET /production/catalog/ host.mydomaine.com?facts_format=b64_zlib_yaml&facts=[..] HTTP/1.1" 400 95 "-" "-" All the clients with the issue are running Debian Lenny. I try to run puppetd -vt with a centOS server without any issues.. I really don''t know how to troubleshoot this issue any help appreciated ! I''m running puppet 0.25.4-2 Hugo -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Patrick
2011-Feb-09 17:56 UTC
Re: [Puppet Users] Puppet broken - Could not retrieve catalog from remote server
On Feb 9, 2011, at 7:13 AM, Hugo Deprez wrote:> Hello, > > I was trying to change two modules on my puppet. > And I was block on one error, until I figured that the error which show up was not related to a specific module. > > This error is causing issue to all my puppet clients : > > #puppetd -vt > info: Retrieving plugin > err: Could not retrieve catalog from remote server: Error 400 on SERVER: compile error > (erb):416: syntax error, unexpected kEND, expecting $end > ; end ; _erbout > ^ > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping runWell, seeing the string "erb" makes me think this is a bug in a template, either on line 416, of a template, or on line 416 of a manifest that references a template. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hugo Deprez
2011-Feb-09 18:01 UTC
Re: [Puppet Users] Puppet broken - Could not retrieve catalog from remote server
Hello, I finally just find an answer... That''s right I had something wrong in one template, I was not able to find which one... So I used SVN to return back to a state which worked before, and resolved my issue. The only thing is that the error message was not so obvious. Thanks Hugo On 9 February 2011 18:56, Patrick <kc7zzv@gmail.com> wrote:> > On Feb 9, 2011, at 7:13 AM, Hugo Deprez wrote: > > > Hello, > > > > I was trying to change two modules on my puppet. > > And I was block on one error, until I figured that the error which show > up was not related to a specific module. > > > > This error is causing issue to all my puppet clients : > > > > #puppetd -vt > > info: Retrieving plugin > > err: Could not retrieve catalog from remote server: Error 400 on SERVER: > compile error > > (erb):416: syntax error, unexpected kEND, expecting $end > > ; end ; _erbout > > ^ > > warning: Not using cache on failed catalog > > err: Could not retrieve catalog; skipping run > > Well, seeing the string "erb" makes me think this is a bug in a template, > either on line 416, of a template, or on line 416 of a manifest that > references a template. > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Apparently Analagous Threads
- load balance multiple puppetmaster, backend workers not authenticating
- err: Could not retrieve catalog; skipping run
- hasstatus return code
- err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cache on failed catalog
- Are tildes actually valid in templates or is this a bug?