流浪者设置无法提及找不到对象



当我执行流浪向上或流浪提供时,它失败了,并出现以下错误。欢迎提出任何解决此问题的建议。中创建的vagrant-7343223c在哪里

#<ChefZero::RestErrorResponse: 404: Object not found: hefzero://localhost:8889/nodes/vagrant-7343223c>

上面的行取自下面给出的错误日志。

==> local: Running provisioner: chef_solo...
    local: Installing Chef (latest)...
==> local: Generating chef JSON and uploading...
==> local: Running chef-solo...
==> local: stdin: is not a tty
==> local: [2016-05-19T02:12:50-07:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /tmp/vagrant-chef/695f45722c929d836cb98d5599d7becf
==> local:   One version per cookbook
==> local: [2016-05-19T02:12:50-07:00] INFO: Forking chef instance to converge...
==> local: Starting Chef Client, version 12.11.1
==> local: [2016-05-19T02:12:50-07:00] INFO: *** Chef 12.11.1 ***
==> local: [2016-05-19T02:12:50-07:00] INFO: Platform: x86_64-linux
==> local: [2016-05-19T02:12:50-07:00] INFO: Chef-client pid: 2877
==> local: [2016-05-19T02:12:51-07:00] INFO: GET /organizations/chef/nodes/vagrant-7343223c
==> local: [2016-05-19T02:12:51-07:00] INFO: #<ChefZero::RestErrorResponse: 404: Object not found: chefzero://localhost:8889/nodes/vagrant-7343223c>

自昨天以来,报告了一些问题-解决方案似乎将chef降级为12.10.24

在你的流浪者文件中,只需提及厨师版本即可使用

Vagrant.configure("2") do |config|
  config.vm.provision "chef_solo" do |chef|
    chef.version = "12.10.24"
  end
end

相关内容

  • 没有找到相关文章

最新更新