HELP!! Chef bootstrap "ERROR: private key needed."
581 views
Skip to first unread message
spe...@ymcnetwork.com
unread,
Jul 2, 2014, 2:57:52 PM7/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to opscode-che...@googlegroups.com
Hi Everyone,
I am learning and setting up Chef. I have the server any my workstation working properly. However, I am running into an issue with installing Chef Client on my AWS EC2 instance.
When I run knife bootstrap X.X.X.X -x ubuntu -i ~/.ssh/<identify-file> -N test-server --sudo, I run into the below error:
[2014-07-02T18:47:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 1.397116417 seconds
So, I created a Ubuntu Ec2 instance, and then from my workstation I ran the previous command. Nothing else has happened or has been changed on the EC2 server.
The /var/chef/cache/chef-stacktrace.out file says:
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chef-OpenStack
Isn't this the error you get for having the same client already
existing? Perhaps you need to delete the existing node and client
"test-server" from your Chef server before reusing the name.