Error: Could not retrieve catalog from remote server Puppet Enterprise

181 views
Skip to first unread message

Sam Oehlert

unread,
Nov 11, 2013, 5:03:34 PM11/11/13
to puppet...@googlegroups.com
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. 

Josh Cooper

unread,
Nov 13, 2013, 12:21:51 AM11/13/13
to puppet...@googlegroups.com

--
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...@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

Xav Paice

unread,
Nov 13, 2013, 4:35:49 AM11/13/13
to puppet...@googlegroups.com

That one seems to happen every time I stuff up the permissions on the puppet and SSL directories, probably worth a check.

--

Sam Oehlert

unread,
Nov 13, 2013, 4:29:20 PM11/13/13
to puppet...@googlegroups.com
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.

Josh Cooper

unread,
Nov 13, 2013, 4:47:21 PM11/13/13
to puppet...@googlegroups.com
On Wed, Nov 13, 2013 at 1:29 PM, Sam Oehlert <somid...@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...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages