[chef] Re: Windows chef clients not registering with server


Chronological Thread 
  • From: Bryan McLellan < >
  • To:
  • Subject: [chef] Re: Windows chef clients not registering with server
  • Date: Tue, 29 Nov 2011 03:35:00 -0500


On Nov 27, 2011 10:46 AM, "Madhurranjan Mohaan" < "> > wrote:
>
> validation_key         'C:\Documents and Settings\user.ABC\chef-repo\validation.pem'
>
> [Sun, 27 Nov 2011 18:24:06 +0000] INFO: *** Chef 0.10.4 ***
> [Sun, 27 Nov 2011 18:24:21 +0000] INFO: Client key /etc/chef/client.pem is not present - registering
> [Sun, 27 Nov 2011 18:24:21 +0000] WARN: Failed to read the private key validation.pem: #<Errno::ENOENT: No such file or directory - validation.pem

Try moving the validation key to a location that doesn't have spaces in the file name, like 'c:/opscode/chef'

Also, you will probably need to specify the 'client_key' configuration value so it is created in a Windows compatible location, like 'c:/opscode/chef/client.pem'

I believe 0.10.6 will have a couple improvements on the Windows default file locations, but I don't have internet access as I write this to look up the ticket numbers.

Bryan




Archive powered by MHonArc 2.6.16.

§