在节点中安装Chef后出现错误

时间:2018-09-03 09:32:09

标签: chef devops chef-recipe chef-solo

在节点上安装Chef时,出现以下错误。

================================================================================
Error expanding the run_list:
================================================================================
192.168.1.11
Unexpected API Request Failure:
-------------------------------
Cannot load role preprodcron_role
192.168.1.11
192.168.1.11
System Info:
------------
chef_version=14.4.56
platform=ubuntu
platform_version=16.04
ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
program_name=/usr/bin/chef-client
executable=/opt/chef/bin/chef-client
192.168.1.11
192.168.1.11
Running handlers:
[2018-08-31T07:20:03+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-08-31T07:20:03+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 01 seconds
[2018-08-31T07:20:03+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-08-31T07:20:03+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-08-31T07:20:03+00:00] FATAL: Net::HTTPServerException: 404 "Object Not Found"

请帮助厨师安装在上,但是厨师服务器和节点之间没有通信。

0 个答案:

没有答案