- From: David Montgomery <
>
- To:
- Subject: [chef] chef solo - Chef::Exceptions::PrivateKeyMissing: I cannot read /etc/chef/client.pem, which you told me to use to sign requests!
- Date: Thu, 11 Oct 2012 22:36:36 +0800
Hi,
I am running chef solo based on this wiki. I am new to chef solo.
http://wiki.opscode.com/display/chef/Chef+Solo
I get this error.... What did I miss fro the wiki?
sudo chef-solo -c ~/workspace/htChef/chef-repo/solo/solo.rb -j
~/workspace/htChef/chef-repo/solo/node.json
[2012-10-11T22:03:21+08:00] INFO: *** Chef 10.14.4 ***
[2012-10-11T22:03:21+08:00] INFO: Setting the run_list to
["recipe[ht_server]"] from JSON
[2012-10-11T22:03:21+08:00] INFO: Run List is [recipe[ht_server]]
[2012-10-11T22:03:21+08:00] INFO: Run List expands to [ht_server]
[2012-10-11T22:03:21+08:00] INFO: Starting Chef Run for ubuntu
[2012-10-11T22:03:21+08:00] INFO: Running start handlers
[2012-10-11T22:03:21+08:00] INFO: Start handlers complete.
[2012-10-11T22:03:21+08:00] WARN: Failed to read the private key
/etc/chef/client.pem: #<Errno::ENOENT: No such file or directory -
/etc/chef/client.pem>
[2012-10-11T22:03:21+08:00] ERROR: Running exception handlers
[2012-10-11T22:03:21+08:00] ERROR: Exception handlers complete
[2012-10-11T22:03:21+08:00] FATAL: Stacktrace dumped to
/var/chef-solo/chef-stacktrace.out
[2012-10-11T22:03:21+08:00] FATAL:
Chef::Exceptions::PrivateKeyMissing: I cannot read
/etc/chef/client.pem, which you told me to use to sign requests!
Thanks
- [chef] chef solo - Chef::Exceptions::PrivateKeyMissing: I cannot read /etc/chef/client.pem, which you told me to use to sign requests!, David Montgomery, 10/11/2012
Archive powered by MHonArc 2.6.16.