错误:未定义的方法`关闭?'为零:NilClass

时间:2015-02-21 14:32:57

标签: docker chef

我在其他机器上运行不同机器和docker上的工作站和厨师服务器。当我从工作站引导到在docker容器内运行chef-client时。在docker Conatiner上安装厨师客户端后,它给我一个错误。

 knife bootstrap 10.88.201.19 -p 49153 -x root -P hyl4fL3X7OaH -r role[role_apache]

10.88.201.19 Starting Chef Client, version 11.18.6
10.88.201.19 Creating a new client identity for e381976281bd using the validator key.
10.88.201.19 [2015-02-21T14:22:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
10.88.201.19 Chef Client failed. 0 resources updated in 1.562238601 seconds
10.88.201.19 [2015-02-21T14:22:21+00:00] ERROR: undefined method `closed?' for nil:NilClass
10.88.201.19 [2015-02-21T14:22:21+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully 

0 个答案:

没有答案