chef-hatch-repo
chef-hatch-repo copied to clipboard
Failure at end of chef server provisioning
Hi,
I get a failure at the end of the chef server provisioning see output
root@chef:/vagrant# rake hatch:init['hatch']
Registering hatch
[2012-06-26T03:30:46+02:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/validation.pem>
rake aborted!
I cannot read /etc/chef/validation.pem, which you told me to use to sign requests!
Tasks: TOP => hatch:init
Any suggestions?
I dug in a little further and it looks to be failing with memory issues.
[2012-06-27T22:08:48+02:00] INFO: Sending client(0fc4b3b8-bbd1-4c22-b8aa-2df45c916c93) to the index queue for deletion..
/usr/lib/ruby/gems/1.8/gems/bunny-0.8.0/lib/qrack/client.rb:191:in `read': failed to allocate memory (NoMemoryError)
When it goes to run the rake command:
cd /vagrant && rake hatch:init['hatch']
The server is down because of the memory issues. Increasing the memory on the vm didn't fix the issue. Please take a look when have a sec.
Thanks, Jay
I'm running into the same error.
Anthony,
Check out knife server:
http://fnichol.github.com/knife-server/
Jason
Thanks for the tip! Looking into it.