Hi Szerémi,

I am new to Puppet. Could you explain this a little more please?

I have my Puppet master and the node I am trying to run 'puppet agent 
--test' on however I am seeing the same error as Shawn.

Which /etc/hosts file are you talking about - puppet master or the node?

Thanks.

On Friday, January 31, 2014 at 5:49:10 PM UTC, Szerémi Attila wrote:
>
> I had this same issue. It seemed like the very first warning was the key.
>
> By adding the hostname that my own agent server was configured as to 
> /etc/hosts as 127.0.0.1, all the errors went away and the command ran 
> successfully.
>
> On Wednesday, November 27, 2013 1:01:38 AM UTC, Shawn Parker wrote:
>>
>> I am getting the following error when executing puppet agent --test from 
>> the node to force it to get its node definition
>>
>> [root@localhost puppet]# puppet agent --test
>> Warning: Unable to fetch my node definition, but the agent run will 
>> continue:
>> Warning: Error 400 on SERVER: Failed to find puppetnode.localdomain via 
>> exec: Execution of '/etc/puppet/snc_enc.py puppetnode.localdomain' returned 
>> 1: 
>> Info: Retrieving plugin
>> Error: Could not retrieve catalog from remote server: Error 400 on 
>> SERVER: Failed when searching for node puppetnode.localdomain: Failed to 
>> find puppetnode.localdomain via exec: Execution of '/etc/puppet/snc_enc.py 
>> puppetnode.localdomain' returned 1: 
>> Warning: Not using cache on failed catalog
>> Error: Could not retrieve catalog; skipping run
>>
>> I am using an external node classifier, not sure what I am doing wrong
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0d94fb58-a832-4480-8ea4-6c9055c03b56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to