運行時與廚師的客戶端菜譜,運行失敗,此錯誤: 的EOFError:到達文件結尾廚師客戶端運行失敗,並引發EOFError同步食譜:到達文件結尾
我是相當新對此,我不知道這是什麼意思。食譜是社區食譜的一個非常簡單的包裝,應該很好。 https://supermarket.chef.io/cookbooks/powershell
這裏的錯誤再次:
Synchronizing Cookbooks:
- windows (1.37.0)
- ms_dotnet2 (0.0.0)
- ms_dotnet45 (0.0.0)
- powershell (3.1.0)
- chef_handler (1.1.8)
- ewe-powershell (0.1.0)
================================================================================
Error Syncing Cookbooks:
================================================================================
Unexpected Error:
-----------------
EOFError: end of file reached
Running handlers:
[2015-11-18T08:30:15-08:00] ERROR: Running exception handlers
Running handlers complete
[2015-11-18T08:30:15-08:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 24 seconds
[2015-11-18T08:30:15-08:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
[2015-11-18T08:30:15-08:00] FATAL: EOFError: end of file reached
C:\WINDOWS\system32>
和這裏的堆棧跟蹤:
Generated at 2015-11-18 08:30:15 -0800
EOFError: end of file reached
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/protocol.rb:153:in `read_nonblock'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/protocol.rb:153:in `rbuf_fill'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/protocol.rb:134:in `readuntil'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/protocol.rb:144:in `readline'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http/response.rb:39:in `read_status_line'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http/response.rb:28:in `read_new'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1412:in `block in transport_request'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1409:in `catch'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1409:in `transport_request'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1382:in `request'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1375:in `block in request'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:852:in `start'
C:/opscode/chef/embedded/lib/ruby/2.0.0/net/http.rb:1373:in `request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http/basic_client.rb:65:in `request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:264:in `block in send_http_request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:298:in `block in retrying_http_errors'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:296:in `loop'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:296:in `retrying_http_errors'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:260:in `send_http_request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/http.rb:170:in `streaming_request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/rest.rb:180:in `streaming_request'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/rest.rb:118:in `get'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/cookbook/synchronizer.rb:277:in `download_file'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/cookbook/synchronizer.rb:254:in `sync_file'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/cookbook/synchronizer.rb:152:in `block (2 levels) in sync_cookbooks'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in `call'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in `block (3 levels) in process'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `loop'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.5.1-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `block (2 levels) in process'
這是否意味着有一些的EOFError在protocol.rb? 但是這是社區食譜的一部分,我認爲這看起來很穩固。
刪除食譜,重新輸入不是由廚師生成的部分,然後重新上傳食譜。它現在運行。我懷疑這個錯誤與在windows上開發部分食譜有關,部分在Mac上。 – Johnny5