I am running into a weird problem for one of my nodes, the yml file for 
this specific node is 22k lines (its because this node has so many 
interfaces 1600+ and is running docker ) this is a test box. 

Puppet agent fails to complete with (Error 400 on SERVER: Failed when 
searching for node test01.lab.net: Failed to find test01.lab.net via exec: 
Execution of '/etc/puppet/node.rb test01.lab.net' returned 1). when i run 
the script from puppet master i get back the yaml response in 25+sec. 
When looked in the production.log file, there are no errors.

2017-01-23 14:20:20 [app] [I] Started GET "/node/test01.lab.net?format=yml" 
for 10.52.55.54 at 2017-01-23 14:20:20 -0600
2017-01-23 14:20:20 [app] [I] Processing by HostsController#externalNodes 
as YML
2017-01-23 14:20:20 [app] [I]   Parameters: {"name"=>"test01.lab.net"}
I dont see a corresponding COMPELTED line in the production.log file. 
REf: 
http://stackoverflow.com/questions/38345818/puppet-agent-unable-to-retrieve-catalog-from-master-when-using-enc-error-400-on
is there a timeout value when puppet agent runs to retrieve the catalog? 
I checked the YML responce and ran it trough "ruby -e "require 'yaml'; 
YAML.load_file('test.yaml')" and did not see any yaml related syntax errors.
" 

Any thoughts on how i can debug this issue? please let me know. 

Thanks,
Manoj.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to