1
我正在测试多个烹饪书,并且每个烹饪书都反复引导我的节点(仅用于测试目的)。
当我在我的节点上运行厨师客户端,我得到以下错误:厨师:多次引导节点
***************************************
[2017-04-17T20:13:20-07:00] WARN: Failed to read the private key /etc/chef/client.pem: #<Errno::EACCES: Permission denied @ rb_sysopen - /etc/chef/client.pem>
================================================================================
Chef encountered an error attempting to create the client "XXXX.com"
================================================================================
Private Key Not Found:
----------------------
Your private key could not be loaded. If the key file exists, ensure that it is
readable by chef-client.
Relevant Config Settings:
-------------------------
validation_key "/etc/chef/validation.pem"
Platform:
---------
x86_64-linux
****************************************
我使用validatorless引导(--bootstrap - 跳马 - JSON)。 有人可以让我知道为什么我得到这个错误。 我记得我能够在初始引导过程中运行“厨师客户端”。