Chef infra 流浪的规定显示出自发的错误

Chef infra 流浪的规定显示出自发的错误,chef-infra,vagrant,Chef Infra,Vagrant,我有一盒Wndows2008R2做一些厨师的基本设置。如果我使用流浪破坏+流浪上升,它每次都有效。然而,即使我在我的知识库食谱/食谱/属性/任何东西上没有做任何更改,流浪者条款有时会向我显示错误,但有时它能够通过。。有人能告诉我如何调试这个吗 以下是失败时的日志: Matthew-Tings-MacBook-Pro-2:base mting923$ vagrant provision WARNING: Could not load IOV methods. Check your GSSAPI C

我有一盒Wndows2008R2做一些厨师的基本设置。如果我使用流浪破坏+流浪上升,它每次都有效。然而,即使我在我的知识库食谱/食谱/属性/任何东西上没有做任何更改,流浪者条款有时会向我显示错误,但有时它能够通过。。有人能告诉我如何调试这个吗

以下是失败时的日志:

Matthew-Tings-MacBook-Pro-2:base mting923$ vagrant provision
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update
[Berkshelf] installing cookbooks...
[Berkshelf] Using windows (1.7.0)
[Berkshelf] Using ohai (1.0.3) at path:           '/Users/mting923/Documents/workspace/Schneider/chef-repo/cookbooks/ohai'
[Berkshelf] Installing pingdom (0.0.3) from github: 'cwjohnston/chef-pingdom' with branch: '0.0.3' over protocol: 'https'
[Berkshelf] Using powershell (1.0.8)
[Berkshelf] Using base (0.1.0) at path: '/Users/mting923/Documents/workspace/Schneider/chef-repo/cookbooks/base'
[Berkshelf] Using chef_handler (1.1.2)
[Berkshelf] Using chef-client (2.1.2)
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
C:\opscode\chef\bin\chef-solo.bat
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[2013-01-09T23:09:02+00:00] INFO: *** Chef 10.16.2 ***
[2013-01-09T23:09:25+00:00] INFO: Setting the run_list to ["recipe[base::default]"] from  JSON
[2013-01-09T23:09:25+00:00] INFO: Run List is [recipe[base::default]]
[2013-01-09T23:09:25+00:00] INFO: Run List expands to [base::default]
[2013-01-09T23:09:25+00:00] INFO: Starting Chef Run for vagrant-2008R2.nam.gad.schneider-  electric.com
[2013-01-09T23:09:25+00:00] INFO: Running start handlers
[2013-01-09T23:09:25+00:00] INFO: Start handlers complete.
[2013-01-09T23:09:25+00:00] ERROR: Running exception handlers
[2013-01-09T23:09:25+00:00] ERROR: Exception handlers complete
[2013-01-09T23:09:25+00:00] FATAL: Stacktrace dumped to C:/tmp/vagrant-chef-1/chef-stacktrace.out
[2013-01-09T23:09:25+00:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook base not  found. If you're loading base from another cookbook, make sure you configure the dependency in your metadata
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
这并不是一直都在发生。。就像这一分钟我打字: 流浪准备金 它能工作,而另一分钟我输入了同样的东西。。它不符合上述要求。。这是我从流浪汉VM那里得到的chef-stacktrace.out:

Generated at 2013-01-09 23:09:25 +0000
Chef::Exceptions::CookbookNotFound: Cookbook base not found. If you're loading base from another cookbook, make sure you     configure the dependency in your metadata
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/cookbook/cookbook_collection.rb:38:in `block in     initialize'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `yield'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `default'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `default'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:94:in `[]'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:94:in `resolve_recipe'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:84:in `rescue in block in load'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:76:in `block in load'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:75:in `each'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/run_context.rb:75:in `load'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:198:in `setup_run_context'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:418:in `do_run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/client.rb:176:in `run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application.rb:140:in `run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/solo.rb:224:in `block in run_application'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/solo.rb:216:in `loop'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/solo.rb:216:in `run_application'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application.rb:72:in `run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/bin/chef-solo:25:in `<top (required)>'
C:/opscode/chef/bin/chef-solo:19:in `load'
C:/opscode/chef/bin/chef-solo:19:in `<main>'

Matthew,你能在这里粘贴stacktrace dump吗?嗨,WB,我已经在上面添加了stacktrace。。。除非你有别的意思我只是又跑了一次没有做任何改变,这一次它又起作用了:不是因为通往食谱的道路错了吗?在路径“/Users/mting923/Documents/workspace/Schneider/chef repo/cookbooks/base”中使用base 0.1.0。它不应该以C:@DracoAter C:开头吗?实际上,有效的目录名很奇怪,但现在是相对于您运行它的位置而言的。也许应该是/C:/opscode/。。。。。?