chef-solo:处理程序试图连接到http://127.0.0.1:8889/nodes/

时间:2017-01-06 03:25:06

标签: vagrant chef chef-solo test-kitchen

我正试着在测试厨房节点上测试我的一本食谱。成功收敛或厨师 - 客户端后,厨师处理程序会抛出连接到某个服务器的错误。我想它想要将节点详细信息发送给chef-server。

我不知道该怎么办?我是否必须在某处设置此主机,或者是否有办法禁用此功能。

.kitchen.yml

---
driver:
 name: vagrant

provisioner:
name: chef_solo
require_chef_omnibus: '12.4.3'

Chef Log:

   Running handlers:
   [2017-01-05T20:46:54-06:00] ERROR: Connection refused connecting to http://127.0.0.1:8889/nodes/client-service-redhat-66, retry 1/5
   [2017-01-05T20:46:59-06:00] ERROR: Connection refused connecting to http://127.0.0.1:8889/nodes/client-service-redhat-66, retry 2/5
   [2017-01-05T20:47:04-06:00] ERROR: Connection refused connecting to http://127.0.0.1:8889/nodes/client-service-redhat-66, retry 3/5
   [2017-01-05T20:47:09-06:00] ERROR: Connection refused connecting to http://127.0.0.1:8889/nodes/client-service-redhat-66, retry 4/5

0 个答案:

没有答案