We are getting the below errors when trying to run knife winrm chef-client --manual-list on nodes we’ve already successfully bootstrapped and run knife winrm chef-client --manual-list before.
The only thing that has changed is that another team at our company bootstrapped our nodes to a different organization within the same Chef server so they could deploy their own cookbooks/recipes.
Errors:
Authentication Error:
Failed to authenticate to the chef server (http 401).
Server Response:
Invalid signature for user or client <nodename>
If these settings are correct, your client_key may be invalid, or you may have a chef user with the same client name as this node.
BTW: we did copy the client.pem and client.rb from our org to one of the impacted servers and that seemed to have worked for one of the nodes, but other nodes are still getting the above errors.
What needs to be done to fix this? Do the impacted nodes need to be deleted from the other org so there are no conflicts? I’m assuming a node can’t be registered under two different Chef orgs, right?
Thanks in advance!
Keith