无法使用chef引导节点:无法加载配置

时间:2015-02-26 10:09:51

标签: chef knife

我有一个Chef工作站和一个Chef服务器正在运行。 pmchef.org是我的主厨节点,有一个sudo用户pmchef。当我运行knife bootstrap命令时,我收到此错误消息(来自正在引导的节点):

致命:无法从/etc/chef/first-boot.json加载配置

这是来自bash终端的粘贴(在工作站上;这是我的笔记本电脑)

pm:~/chef-repo/chef-repo$ sudo knife bootstrap -x pmchef pmchef.org
Password:
Connecting to pmchef.org
pmchef@pmchef.org's password:
pmchef.org bash: line 35: /etc/chef/validation.pem: Permission denied
pmchef.org chmod: cannot access ‘/etc/chef/validation.pem’: No such file or directory
pmchef.org bash: line 69: /etc/chef/client.rb: Permission denied
pmchef.org bash: line 77: /etc/chef/first-boot.json: Permission denied
pmchef.org Starting first Chef Client run...
pmchef.org [2015-02-26T10:01:54+00:00] FATAL: Cannot load configuration from /etc/chef/first-boot.json

0 个答案:

没有答案