Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure at end of chef server provisioning #6

Open
jperry opened this issue Jun 26, 2012 · 5 comments
Open

Failure at end of chef server provisioning #6

jperry opened this issue Jun 26, 2012 · 5 comments

Comments

@jperry
Copy link

jperry commented Jun 26, 2012

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?

@jperry
Copy link
Author

jperry commented Jun 28, 2012

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)

@jperry
Copy link
Author

jperry commented Jul 2, 2012

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

@scalp42
Copy link

scalp42 commented Jul 16, 2012

I'm running into the same error.

@jperry
Copy link
Author

jperry commented Jul 16, 2012

Anthony,

Check out knife server:

http://fnichol.github.com/knife-server/

@scalp42
Copy link

scalp42 commented Jul 16, 2012

Jason

Thanks for the tip! Looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants