Sam Oehlert
2013-Nov-11 22:03 UTC
[Puppet Users] Error: Could not retrieve catalog from remote server Puppet Enterprise
We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install the clients fine and they were listed as working in the console. After a while, we started to see a bunch of errors that look like this: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::Compiler failed with error NoMethodError: undefined method `[]'' for nil:NilClass on node (hostname here) They don''t seem to really give any useful information. Other googling usually shows some error in a manifest at the end of the line that points to a specific line number in a .pp file, but we don''t get that help even. Any ideas? If more information is needed, let me know and I''ll find it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9a65faa4-30ee-4edc-95b6-33c7544e3699%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Josh Cooper
2013-Nov-13 05:21 UTC
Re: [Puppet Users] Error: Could not retrieve catalog from remote server Puppet Enterprise
On Mon, Nov 11, 2013 at 2:03 PM, Sam Oehlert <somidscr21@gmail.com> wrote:> We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install > the clients fine and they were listed as working in the console. After a > while, we started to see a bunch of errors that look like this: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::Compiler failed with error NoMethodError: undefined method > `[]'' for nil:NilClass on node (hostname here) > > They don''t seem to really give any useful information. Other googling > usually shows some error in a manifest at the end of the line that points > to a specific line number in a .pp file, but we don''t get that help even. > Any ideas? If more information is needed, let me know and I''ll find it. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/9a65faa4-30ee-4edc-95b6-33c7544e3699%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. >Hi Sam, You should ask this question on the pe-users mailing list. With that said, the error is occurring on the master when compiling the catalog for the node. I would start by looking at syslog on the master, and if that doesn''t help, try adding the --debug option to the PE master''s config.ru, and restarting pe-httpd. Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2Bu97unkfCg7VdvgFG%2Bun_B5%3DZN-HHcZ9A9wFFQot7VMzWYJLA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Xav Paice
2013-Nov-13 09:35 UTC
Re: [Puppet Users] Error: Could not retrieve catalog from remote server Puppet Enterprise
That one seems to happen every time I stuff up the permissions on the puppet and SSL directories, probably worth a check. On 12/11/2013 11:03 am, "Sam Oehlert" <somidscr21@gmail.com> wrote:> We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install > the clients fine and they were listed as working in the console. After a > while, we started to see a bunch of errors that look like this: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::Compiler failed with error NoMethodError: undefined method > `[]'' for nil:NilClass on node (hostname here) > > They don''t seem to really give any useful information. Other googling > usually shows some error in a manifest at the end of the line that points > to a specific line number in a .pp file, but we don''t get that help even. > Any ideas? If more information is needed, let me know and I''ll find it. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/9a65faa4-30ee-4edc-95b6-33c7544e3699%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMb5LvpmGnrdh_w5rmiF2Wn1noGe3df6tS2PeqUtRZ72k%3DgR0g%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Sam Oehlert
2013-Nov-13 21:29 UTC
[Puppet Users] Re: Error: Could not retrieve catalog from remote server Puppet Enterprise
Josh, Sorry, I thought posting a new topic on the puppet-users google group would have the same effect. When I look in syslog (even after turning on debugging) all I see is: Puppet::Parser::Compiler failed with error NoMethodError: undefined method `[]'' for nil:NilClass on node (hostname here) Xav, Can you please give me an example of what the permissions look like? They do seem to look a little funky, but I''m not sure what they should be. On Monday, November 11, 2013 4:03:34 PM UTC-6, Sam Oehlert wrote:> > We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install > the clients fine and they were listed as working in the console. After a > while, we started to see a bunch of errors that look like this: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::Compiler failed with error NoMethodError: undefined method > `[]'' for nil:NilClass on node (hostname here) > > They don''t seem to really give any useful information. Other googling > usually shows some error in a manifest at the end of the line that points > to a specific line number in a .pp file, but we don''t get that help even. > Any ideas? If more information is needed, let me know and I''ll find it. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/76d6e3af-9fee-4a51-b59c-74936ca14ab4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Josh Cooper
2013-Nov-13 21:47 UTC
Re: [Puppet Users] Re: Error: Could not retrieve catalog from remote server Puppet Enterprise
On Wed, Nov 13, 2013 at 1:29 PM, Sam Oehlert <somidscr21@gmail.com> wrote:> Josh, > > Sorry, I thought posting a new topic on the puppet-users google group > would have the same effect. > > When I look in syslog (even after turning on debugging) all I see is: > > Puppet::Parser::Compiler failed with error NoMethodError: undefined method > `[]'' for nil:NilClass on node (hostname here) > >Sorry, you''ll also need to specify --trace to get a stacktrace.> > > Xav, > > Can you please give me an example of what the permissions look like? They > do seem to look a little funky, but I''m not sure what they should be. > > > On Monday, November 11, 2013 4:03:34 PM UTC-6, Sam Oehlert wrote: >> >> We are trying to set up PE 3.1 on RHEL 6 boxes. We were able to install >> the clients fine and they were listed as working in the console. After a >> while, we started to see a bunch of errors that look like this: >> >> Error: Could not retrieve catalog from remote server: Error 400 on >> SERVER: Puppet::Parser::Compiler failed with error NoMethodError: undefined >> method `[]'' for nil:NilClass on node (hostname here) >> >> They don''t seem to really give any useful information. Other googling >> usually shows some error in a manifest at the end of the line that points >> to a specific line number in a .pp file, but we don''t get that help even. >> Any ideas? If more information is needed, let me know and I''ll find it. >> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/76d6e3af-9fee-4a51-b59c-74936ca14ab4%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. >-- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2Bu97uns6cPwSm5cotaDCRYthfaU0wBaZ6uDATfoYCQxoanNVA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.