Basil Kurian
2012-Sep-23 12:38 UTC
[Puppet Users] Getting error : can not intern instances from application/x-raw
Hi I ''m using nginx+unicorn on puppet master. I ''m getting the below error on my client [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose --server puppet.example.com info: Caching catalog for client.example.com info: Applying configuration version ''1348374082'' err: Could not run Puppet configuration client: Puppet::FileServing::*Metadata does not respond to from_raw; can not intern instances from application/x-raw* [root@client ~]# This is how my nginx conf looks http://pastebin.ubuntu.com/1222401/ Any clues ? -- Regards Basil -- 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.
Basil Kurian
2012-Sep-23 21:02 UTC
[Puppet Users] Re: Getting error : can not intern instances from application/x-raw
Added the below lines to fileserver.conf [files] path /etc/puppet/files/ allow puppet-example-clien and removed location /production/file_metadata/files/ { Section from nginx conf file. This resolved the issue. On 23 September 2012 18:08, Basil Kurian <basilkurian@gmail.com> wrote:> Hi > > I ''m using nginx+unicorn on puppet master. I ''m getting the below error on > my client > > [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose > --server puppet.example.com > info: Caching catalog for client.example.com > info: Applying configuration version ''1348374082'' > err: Could not run Puppet configuration client: Puppet::FileServing::*Metadata > does not respond to from_raw; can not intern instances from > application/x-raw* > [root@client ~]# > > > This is how my nginx conf looks http://pastebin.ubuntu.com/1222401/ > > Any clues ? > > -- > Regards > > Basil > > >-- Regards Basil -- 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.
Basil Kurian
2012-Sep-23 21:20 UTC
[Puppet Users] Re: Getting error : can not intern instances from application/x-raw
Earlier , I was trying to offload file sourcing from puppet , like the one mentioned here http://www.masterzen.fr/2010/03/21/more-puppet-offloading/ And it was not working :( On 24 September 2012 02:32, Basil Kurian <basilkurian@gmail.com> wrote:> Added the below lines to fileserver.conf > > [files] > path /etc/puppet/files/ > allow puppet-example-clien > > and removed > > location /production/file_metadata/files/ { > > Section from nginx conf file. This resolved the issue. > > > On 23 September 2012 18:08, Basil Kurian <basilkurian@gmail.com> wrote: > >> Hi >> >> I ''m using nginx+unicorn on puppet master. I ''m getting the below error >> on my client >> >> [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose >> --server puppet.example.com >> info: Caching catalog for client.example.com >> info: Applying configuration version ''1348374082'' >> err: Could not run Puppet configuration client: Puppet::FileServing::*Metadata >> does not respond to from_raw; can not intern instances from >> application/x-raw* >> [root@client ~]# >> >> >> This is how my nginx conf looks http://pastebin.ubuntu.com/1222401/ >> >> Any clues ? >> >> -- >> Regards >> >> Basil >> >> >> > > > -- > Regards > > Basil > > > > >-- Regards Basil -- 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.