我试图引导到给定的IP地址。但它表明:
Starting Chef Client, version 11.16.4
Creating a new client identity for chef02 using the validator key.
======================================================================
Chef encountered an error attempting to create the client "chef02"
======================================================================
Resource Not Found:
-------------------
The server returned a HTTP 404. This usually indicates that your chef
l is incorrect.
Relevant Config Settings:
-------------------------
chef_server_url
FATAL: Stacktrace dumped to /var/chef/cac
acktrace.out
Chef Client failed. 0 resources updated in 0.817298561 seconds
ERROR: 404 "Not Found"
FATAL: Chef::Exceptions::ChildConvergeErr
un process exited unsuccessfully (exit code 1)
我该怎么办?
谢谢。
答案 0 :(得分:0)
如错误所示,您的knife.rb配置中的chef_server_url
值不正确。首先检查knife client list
等基本刀具命令是否从工作站成功。如果是这种情况,请尝试检查chef_server_url
中的主机名是否与目标计算机的解析不同。
答案 1 :(得分:0)
我遇到了这个问题,我能够浏览webui,但是所有的刀命令都失败了。 ui中有可用的链接