[chef] Question about new client registration for VM


Chronological Thread 
  • From: Dreamcat4 < >
  • To:
  • Subject: [chef] Question about new client registration for VM
  • Date: Thu, 11 Nov 2010 12:14:03 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=qticA3HA8gVcQDyO8LSUPxdJ2PIYvItxTWB8UGlHALnleJSkKLQPvRlobuuwo8q2vP OvgV45EpXGKN81YeUfZK0O+d/WQolnRlzSBJjrznfhT7rm7CKRSQOPsNaglua8dpTxcp ySelx7XFkBBxNzI5w/SfwgT0oUq1gPdKSc6cA=

Hi!

I'm trying to register a Virtual Machine as new node. As we know -
chef-client sends up the validation.pem to download a new client.pem
file and register itself as a new node...

An error occurs at the point where the client is expecting to receive
its new client.pem file from the server:

"/var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest.rb:80:in
`register': The response from the server did not include a private
key! (Chef::Exceptions::CannotWritePrivateKey)"

Full log:
https://gist.github.com/669039


Could this be because the chef server thinks the node is already
registered (because the host node shares the same IP address as the
Virtual Machine)?


Regards

dreamcat4




Archive powered by MHonArc 2.6.16.

§