Puppet agent throwing Error: Could not run Puppet configuration client: execution expired
Hi Team - Please could you help me to resolve Puppet issue.
I installed puppet master along with with puppet-dashboard on one server and puppet agent on another server by following installations documents properly. The only problem we had is we don't have internet connectivity so downloaded rpms from another yum repo and installed in particular sequence successfully.
Both are on same OS RHEL5.9 and Puppet version is same on both the servers - 3.7.5 and both are following same timezone. Added host entry of puppet master in both servers and agent entry in master server.
Everything is installed without any issue and even I created certificate from puppet agent and signed it from puppet master. I created 1 liner site.pp to check the connectivity. I can telnet puppet on the the port 8140 and all the ports are working fine :
puppet 25921 root 5u IPv4 1293712 0t0 TCP *:8140 (LISTEN) ruby 25935 puppet-dashboard 6u IPv4 1293784 0t0 TCP puppet:8089 (LISTEN)
Now, when i am trying to test the agent : Its failing after Finishing the Catalog with these errors :
Error: Could not run Puppet configuration client: execution expired Error: Could not run: can't convert Puppet::Util::Log into Integer
I tried changing configtimeout to 1200 and uncommenting async_storeconfigs = false in puppet.conf but nothing is working here - Please could you help me to find out and resovle the issue
[root@10 ~]# puppet agent --verbose --test --trace Info: Retrieving pluginfacts Info: Retrieving plugin Info: Caching catalog for SERVERIP Info: Applying configuration version '1428673043' Notice: Agent connection is successful Notice: /Stage[main]/Main/Node[SERVERIP]/Notify[Agent connection is successful]/message: defined 'message' as 'Agent connection is successful' Notice: Finished catalog run in 0.14 seconds Error: Could not run Puppet configuration client: execution expired /usr/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill' /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill' /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline' /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line' /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new' /usr/lib/ruby/1.8/net/http.rb:1051:in `request' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:208:in `execute_request' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:176:in `request_with_redirects' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:219:in `with_connection' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/pool.rb:31:in `with_connection' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:218:in `with_connection' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:173:in `request_with_redirects' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:170:in `upto' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:170:in `request_with_redirects' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/connection.rb:114:in `put ...