【发布时间】:2015-05-13 03:43:15
【问题描述】:
我正在关注厨师博客:https://www.chef.io/blog/2014/11/12/chef-provisioning-infrastructure-as-code/
在尝试命令时
chef-client -z <myenv>.rb,失败并出现以下异常
Running handlers:
[2015-05-12T08:58:25-07:00] ERROR: Running exception handlers
Running handlers complete
[2015-05-12T08:58:25-07:00] ERROR: Exception handlers complete
[2015-05-12T08:58:25-07:00] FATAL: Stacktrace dumped to /scratch/ChefWorkstation/.chef/local-mode-cache/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 1.536536008 seconds
[2015-05-12T08:58:25-07:00] ERROR: cannot load such file -- chef/provisioning/docker_driver
[2015-05-12T08:58:27-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
如果我尝试,
chef gem list 和 chef gem which chef/provisioning/docker_driver 分别显示列出的 gem 和路径
有人可以帮忙吗?
【问题讨论】:
标签: ruby docker chef-infra