I am a noob to chef and I had an issues right off the bat. I’m trying to add a new node but I am getting an error.
knife bootstrap server01.acmecomputers.com --ssh-user root --ssh-password ‘MyPassword’ --node-name server01
Failed to authenticate to the chef server (http 401).
Failed to authenticate as ‘acmecomputers’. Ensure that your node_name and client key are correct.
So my question is about the above error message. When it states that the command failed to authenticate as ‘acmecomputers’, is chef attempting to use ‘acmecomputers’ as a user? I’m passing my root user name and root password, to connect to server01 from my chef server.
Can someone give a brief explanation of how this process works and what I should be looking at to correct this?
Operating systems is CentOS 7.
Chef Development Kit Version: 2.5.3
chef-client version: 13.8.5
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.1
kitchen version: 1.20.0
inspec version: 1.51.21