Skip to content

Instantly share code, notes, and snippets.

@michaelcarruthers
Created March 25, 2010 23:11
Show Gist options
  • Save michaelcarruthers/344252 to your computer and use it in GitHub Desktop.
Save michaelcarruthers/344252 to your computer and use it in GitHub Desktop.
ubuntu@ip-10-162-103-127:~$ sudo chef-client -V -l debug
[Thu, 25 Mar 2010 23:10:55 +0000] INFO: Starting Chef Run
[Thu, 25 Mar 2010 23:10:56 +0000] INFO: Client key /etc/chef/client.pem is not present - registering
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:56 +0000] WARN: Failed attempt 0 of 6 on client creation
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:56 +0000] WARN: Failed attempt 1 of 6 on client creation
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:56 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:57 +0000] WARN: Failed attempt 2 of 6 on client creation
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:57 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:58 +0000] WARN: Failed attempt 3 of 6 on client creation
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:58 +0000] WARN: Failed attempt 4 of 6 on client creation
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Sending HTTP Request via POST to ip-10-162-110-47.us-west-1.compute.internal:4000/clients
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: HTTP Request Returned 409 Conflict: Client already exists
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Signing the request as chef-validator
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: Sending HTTP Request via PUT to ip-10-162-110-47.us-west-1.compute.internal:4000/clients/ip-10-162-103-127.us-west-1.compute.internal
[Thu, 25 Mar 2010 23:10:58 +0000] DEBUG: HTTP Request Returned 500 Internal Server Error: Connection refused - connect(2)
[Thu, 25 Mar 2010 23:10:58 +0000] WARN: Failed attempt 5 of 6 on client creation
[Thu, 25 Mar 2010 23:10:58 +0000] ERROR: Failed to read the private key /etc/chef/client.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/client.pem>, /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/rest.rb:61:in `read'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/rest.rb:61:in `load_signing_key'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/rest.rb:50:in `initialize'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:189:in `new'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:189:in `register'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:84:in `run'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:210:in `run_application'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:202:in `loop'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:202:in `run_application'/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application.rb:57:in `run'/var/lib/gems/1.8/gems/chef-0.8.8/bin/chef-client:26/var/lib/gems/1.8/bin/chef-client:19:in `load'/var/lib/gems/1.8/bin/chef-client:19
/var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/rest.rb:64:in `load_signing_key': I cannot read /etc/chef/client.pem, which you told me to use to sign requests! (Chef::Exceptions::PrivateKeyMissing)
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/rest.rb:50:in `initialize'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:189:in `new'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:189:in `register'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/client.rb:84:in `run'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:210:in `run_application'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:202:in `loop'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application/client.rb:202:in `run_application'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/../lib/chef/application.rb:57:in `run'
from /var/lib/gems/1.8/gems/chef-0.8.8/bin/chef-client:26
from /var/lib/gems/1.8/bin/chef-client:19:in `load'
from /var/lib/gems/1.8/bin/chef-client:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment