[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Created windows instance using chef along with require application


Chronological Thread 
  • From: Vishal Totare < >
  • To:
  • Cc: " " < >
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Created windows instance using chef along with require application
  • Date: Fri, 11 Apr 2014 23:57:08 +0530

Hi George,

Now again am trying to create new instance for java,mysql recipe but while creating windows instance am getting the attached error.


On Fri, Apr 11, 2014 at 11:24 PM, George Miranda < " target="_blank"> > wrote:
Hi Vishal,

The error you're seeing:

"[2014-04-11T13:05:38-04:00] DEBUG: Re-raising exception: Chef::Exceptions::CannotWritePrivateKey - I cannot write your private key to /etc/chef/client.pem - check permissions?
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/api_client/registration.rb:71:in `assert_destination_writable!'"
Usually means that you happen to be running chef-client this time without root permissions.  Try running it as 'sudo chef-client' and let us know if you encounter any further errors.




On Fri, Apr 11, 2014 at 10:32 AM, Vishal Totare < " target="_blank"> > wrote:
Bryan, Please find the "chef-client -l debug" command output by accessing url
http://54.186.2.138/chef-client_debug.txt


Also have attached the output of "knife node show NODE"


On Fri, Apr 11, 2014 at 8:51 PM, Bryan McLellan < " target="_blank"> > wrote:
On Fri, Apr 11, 2014 at 10:55 AM, Vishal Totare < " target="_blank"> > wrote:
> Yes Bryan, Therefore am successfully able to install IIS on the server.

What is the run list on this node? Can you run "knife node show NODE"
and share the results?

Can you run "chef-client -l debug" and put the output in a gist
(http://gist.github.com)?

Bryan



Attachment: windows_instance.png
Description: PNG image




Archive powered by MHonArc 2.6.16.

§