I am trying to setup a chef client node using knife bootstrap:
knife bootstrap nodename -x user -P passwd --sudo
Getting the following error messages::
Chef encountered an error attempting to create the client "nodename .url.com" Authentication Error - Failed to authenticate to the chef server (http 401). Server Response: Invalid signature for user or client 'chef-validator'*
My config settings looks good, I have tried restarting all the chef-server services and tried configuring the chef-client from the node as
- Installed chef correctly in a new VM
- Removed files in
/etc/chef
- Copied over my Chef servers
/etc/chef/chef-validator.pem
to my/etc/chef/validator.pem
- Ran the
chef-client -l debug -S https://mychefserver.url.com -K /etc/chef/validation.pem
Still I am getting[2014-07-03T14:03:25-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)*
/etc/chef/chef-validator.pem
or was it/etc/chef-server/chef-validator.pem
. Also if you didn't adjust theclient.rb
'svalidation_key
variable, the default path would be/etc/chef/validation.pem
(notvalidator.pem
). – StephenKing