[chef] EOFError: end of file reached


Chronological Thread 
  • From: Mingfei Hua < >
  • To: " " < >
  • Subject: [chef] EOFError: end of file reached
  • Date: Wed, 15 Oct 2014 10:32:06 +0000
  • Accept-language: zh-CN, en-US
  • Authentication-results: mx2.aerohive.com (amavisd-new); dkim=pass

The chef client is running as crontab, sometimes I got error of EOFError: end of file reached, help to check attached email for detail. Its not occurred every time, 2-3 time per week for 40 nodes running chef-client every half an hour.

 

Sincerely,

Mingfei Hua

 

--- Begin Message ---
  • From: " " < >
  • To: Mingfei Hua < >, " " < >, Youming Chen < >, Yuhua Cao < >, Xinwei Zhou < >
  • Subject: Failed Chef run on node cloud30-prod-global-afsweb-002.aerohive.com
  • Date: Wed, 15 Oct 2014 09:04:16 +0000
Results of Failed Chef run on cloud30-prod-global-afsweb-002.aerohive.com

Start time: 2014-10-15 09:03:05 +0000
End time: 2014-10-15 09:04:16 +0000
Elapsed time: 70.72182744

Updated Resources:

   chef_handler[MailHandler]
   execute[yum-import-gpgkey-epel]
   bash[remove_old_gmond]
   bash[remove_old_ganglia]
   log[afsweb:/etc/ganglia/conf.d/jmx-basic.pyconf.disabled]
   bash[enable_module]
   service[gmond]

EOFError: end of file reached
/opt/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in 
`sysread_nonblock'
/opt/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in `read_nonblock'
/opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill'
/opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
/opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:2563:in `read_status_line'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:2552:in `read_new'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1320:in `block in 
transport_request'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1294:in `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
 `request'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1287:in `block in request'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:746:in `start'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
 `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http/basic_client.rb:65:in
 `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http.rb:257:in
 `block in send_http_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http.rb:289:in
 `retrying_http_errors'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http.rb:251:in
 `send_http_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http.rb:141:in
 `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/http.rb:116:in
 `put'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/node.rb:523:in
 `save'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:287:in
 `save_updated_node'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:433:in
 `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:213:in
 `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in
 `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/client.rb:207:in
 `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:217:in
 `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/client.rb:328:in
 `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/client.rb:317:in
 `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application/client.rb:317:in
 `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/lib/chef/application.rb:67:in
 `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.8/bin/chef-client:26:in
 `<top (required)>'
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23:in `<main>'

--- End Message ---



Archive powered by MHonArc 2.6.16.

§