Skip to content

Instantly share code, notes, and snippets.

@deepakprasanna
Created November 20, 2012 23:59
Show Gist options
  • Save deepakprasanna/4122109 to your computer and use it in GitHub Desktop.
Save deepakprasanna/4122109 to your computer and use it in GitHub Desktop.
Header hash: {"X-Ops-Timestamp"=>"2012-11-20T22:55:41Z", "X-Ops-Authorization-6"=>"9eBKQX2cLrnpVdKvzoRZZlnTo7mxY4qoHNdVunCg4A==", "X-Ops-Authorization-5"=>"tDx9tLQhmi6vBCmJDgLVUcn1TNu2KDXAHm1eyMYEzODt5pxU33sNz1ci986F", "X-Ops-Authorization-4"=>"DVthyovKPdM3DjjAr/OoUE4jmaW/hRU3RM2Y4/XqB2Re5LgAm8GEOwMGjQLt", "X-Ops-Authorization-3"=>"tTNpdbfaWPOlL5YZm7WBDXvJVI6y6M9SFET09YD2gdLP67cPRFI+T8O94LJz", "X-Ops-Authorization-2"=>"5bxX59bJTSIDlTsy//Yg3JxTa7vqOdtZhrN4UrCF5O2wSHZ4qvpv0zV+vKe4", "X-Ops-Authorization-1"=>"PCBa2qLMchbmuA2qSjl/8gJ+BfNwisIn2uvIPmfkf2nLfKvnoGkPV2uSiHi9", "X-Ops-Userid"=>"thoughtster-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Content-Hash"=>"zmBEqtnLCFUnT0M1aEm8ZdX/1BQ="}
[2012-11-20T22:55:41+00:00] DEBUG: Sending HTTP Request via POST to api.opscode.com:80/organizations/thoughtster/clients
[2012-11-20T22:55:56+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2012-11-20T22:55:56+00:00] DEBUG: HTTP 1.1 301 Moved Permanently
[2012-11-20T22:55:56+00:00] DEBUG: content-type: text/html
[2012-11-20T22:55:56+00:00] DEBUG: date: Tue, 20 Nov 2012 22:55:30 GMT
[2012-11-20T22:55:56+00:00] DEBUG: location: https://api.opscode.com/organizations/thoughtster/clients
[2012-11-20T22:55:56+00:00] DEBUG: connection: close
[2012-11-20T22:55:56+00:00] DEBUG: content-length: 184
[2012-11-20T22:55:56+00:00] DEBUG: server: nginx/1.0.5
[2012-11-20T22:55:56+00:00] DEBUG: ---- End HTTP Status/Header Data ----
[2012-11-20T22:55:56+00:00] DEBUG: Following redirect 1/10
[2012-11-20T22:55:56+00:00] DEBUG: Signing the request as thoughtster-validator
[2012-11-20T22:55:56+00:00] DEBUG: String to sign: 'Method:GET
Hashed Path:7mJ5s3zp3/hL+OHo/Nfl6Es7p38=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2012-11-20T22:55:56Z
X-Ops-UserId:thoughtster-validator'
Header hash: {"X-Ops-Timestamp"=>"2012-11-20T22:55:56Z", "X-Ops-Authorization-6"=>"DbwF3fkAL5RXB1DmZ/p/142s0RD+689PRIb8s05vjw==", "X-Ops-Authorization-5"=>"cKdCPOuSk/M4i0MXoi4bt20B0rK8QSMxOcYFyKR4se5BAnGDkbycYWnbTZcm", "X-Ops-Authorization-4"=>"Kpi2u2E0vLeMHOI8yxhOgjZlTFvd7ttDZsY2ubXiu9xZChswJY1owpJ0kxpV", "X-Ops-Authorization-3"=>"WoVcIGvTSdfc0nScMMn0rpSGZtXrbutmVjopAu58PDtmyYkJ200cywJxXsEr", "X-Ops-Authorization-2"=>"H3ZdymloI7m3m0Mu/uXudp07T7kKfs2zAMLiyCR4LPzA1eRoC43MxHI9AsCj", "X-Ops-Authorization-1"=>"P3kuV6TtlxWF2KrsTkPjFJDbFkQqaMZ6sdLwPXao74cI8LQfl3lcIG3Uedic", "X-Ops-Userid"=>"thoughtster-validator", "X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk="}
[2012-11-20T22:55:56+00:00] DEBUG: Sending HTTP Request via GET to api.opscode.com:443/organizations/thoughtster/clients
[2012-11-20T22:56:12+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2012-11-20T22:56:12+00:00] DEBUG: HTTP 1.1 200 OK
[2012-11-20T22:56:12+00:00] DEBUG: content-type: application/json; charset=utf-8
[2012-11-20T22:56:12+00:00] DEBUG: date: Tue, 20 Nov 2012 22:55:45 GMT
[2012-11-20T22:56:12+00:00] DEBUG: status: 200 OK
[2012-11-20T22:56:12+00:00] DEBUG: content-encoding: gzip
[2012-11-20T22:56:12+00:00] DEBUG: transfer-encoding: chunked
[2012-11-20T22:56:12+00:00] DEBUG: connection: close
[2012-11-20T22:56:12+00:00] DEBUG: server: nginx/1.0.5
[2012-11-20T22:56:12+00:00] DEBUG: ---- End HTTP Status/Header Data ----
[2012-11-20T22:56:12+00:00] DEBUG: decompressing gzip response
[2012-11-20T22:56:12+00:00] DEBUG: Registration response: {"i-2508a35a"=>"https://api.opscode.com/organizations/thoughtster/clients/i-2508a35a", "thoughtster-validator"=>"https://api.opscode.com/organizations/thoughtster/clients/thoughtster-validator"}
================================================================================
Chef encountered an error attempting to create the client "vagrant-deepak"
================================================================================
[2012-11-20T22:56:12+00:00] DEBUG: Creating directory /srv/chef
[2012-11-20T22:56:12+00:00] DEBUG: Creating directory /srv/chef/file_store
[2012-11-20T22:56:12+00:00] FATAL: Stacktrace dumped to /srv/chef/file_store/chef-stacktrace.out
[2012-11-20T22:56:12+00:00] DEBUG: Chef::Exceptions::CannotWritePrivateKey: The response from the server did not include a private key!
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/rest.rb:102:in `register'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/rest.rb:98:in `upto'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/rest.rb:98:in `register'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/rest.rb:96:in `catch'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/rest.rb:96:in `register'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/client.rb:325:in `register'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/client.rb:407:in `do_run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/client.rb:176:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/application.rb:140:in `run_chef_client'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/application/client.rb:274:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/application/client.rb:267:in `loop'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/application/client.rb:267:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/application.rb:72:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/chef-client:26
/opt/vagrant_ruby/bin/chef-client:19:in `load'
/opt/vagrant_ruby/bin/chef-client:19
[2012-11-20T22:56:12+00:00] FATAL: Chef::Exceptions::CannotWritePrivateKey: The response from the server did not include a private key!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment