Skip to content

Instantly share code, notes, and snippets.

@andreacampi
Last active December 11, 2015 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreacampi/4555435 to your computer and use it in GitHub Desktop.
Save andreacampi/4555435 to your computer and use it in GitHub Desktop.
[2013-01-17T11:36:09+00:00] DEBUG: Converging node US15
[2013-01-17T11:36:09+00:00] DEBUG: Saving the current state of node US15
[2013-01-17T11:36:09+00:00] DEBUG: Signing the request as US15
[2013-01-17T11:36:09+00:00] DEBUG: String to sign: 'Method:PUT
Hashed Path:wu79aiW5QknMNapv0l6iz/Rqj38=
X-Ops-Content-Hash:2uYa0YsKiDG4OLMEwoLNL5pFsOE=
X-Ops-Timestamp:2013-01-17T11:36:09Z
X-Ops-UserId:US15'
Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"US15", "X-Ops-Timestamp"=>"2013-01-17T11:36:09Z", "X-Ops-Content-Hash"=>"2uYa0YsKiDG4OLMEwoLNL5pFsOE=", "X-Ops-Authorization-1"=>"BnUU05ITt9qM5351YMh5KK2eZhEK7s707rBUEDyDV1gUh1LVEwsDgVAWH7jo", "X-Ops-Authorization-2"=>"r41GCcqzZaV7pP6xUKcsWhRz2xQU58NdVuFTFPeKN6zuUlC0EyB1KqNT/PZE", "X-Ops-Authorization-3"=>"tb55SI9p6x/BjcDCuidDYvSpxw0cwmVeUPy/3WDLhgaXYw+NJPIvCU1zz/C9", "X-Ops-Authorization-4"=>"AllMn7ndTx+ehakcG6FgTrfvtZ7qgnk9M1RBRq9kApFnroiJpQ/4ioQmwbrV", "X-Ops-Authorization-5"=>"SMI+Gvs2ID2BvtKynBL9oZfUDArfZCALxxf90o9nllQIRlzOwNJZ84/+pmNy", "X-Ops-Authorization-6"=>"nz4c393AHFSYVPAdTZNjunp/moxd4fNVnzXuweEk8Q=="}
[2013-01-17T11:36:09+00:00] DEBUG: Sending HTTP Request via PUT to frcva3065.corp.com:443/organizations/test/nodes/US15
[2013-01-17T11:36:10+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2013-01-17T11:36:10+00:00] DEBUG: HTTP 1.1 403 Forbidden
[2013-01-17T11:36:10+00:00] DEBUG: server: nginx/1.0.12
[2013-01-17T11:36:10+00:00] DEBUG: date: Thu, 17 Jan 2013 11:36:03 GMT
[2013-01-17T11:36:10+00:00] DEBUG: connection: close
[2013-01-17T11:36:10+00:00] DEBUG: content-length: 39
[2013-01-17T11:36:10+00:00] DEBUG: ---- End HTTP Status/Header Data ----
[2013-01-17T11:36:10+00:00] DEBUG: Re-raising exception: Net::HTTPServerException - 403 "Forbidden"
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:2632:in `error!'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/rest.rb:278:in `block in api_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/rest.rb:359:in `retriable_rest_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/rest.rb:245:in `api_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/rest.rb:149:in `put_rest'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/node.rb:630:in `save'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/client.rb:210:in `save_updated_node'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/client.rb:422:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/client.rb:176:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application/client.rb:283:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application/client.rb:270:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application/client.rb:270:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/lib/chef/application.rb:70:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.4/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23:in `<main>'
/var/log/opscode/opscode-account/@4000000050f7e1ca3b3fb3a4.s:2013-01-17_11:34:09.66553 ~ Params: {"name"=>"US15", "admin"=>false, "controller"=>"clients", "action"=>"create", "organization_id"=>"acp", "format"=>nil}
/var/log/opscode/opscode-account/current:2013-01-17_11:34:30.13038 ~ Params: {"controller"=>"clients", "action"=>"destroy", "organization_id"=>"acp", "id"=>"US15", "format"=>nil}
/var/log/opscode/opscode-account/current:2013-01-17_11:34:36.89162 ~ Params: {"name"=>"US15", "admin"=>false, "controller"=>"clients", "action"=>"create", "organization_id"=>"acp", "format"=>nil}
/var/log/opscode/opscode-webui/current:2013-01-17_11:34:29.82277 Started DELETE "/clients/US15" for 10.253.101.194 at 2013-01-17 12:34:29 +0100
/var/log/opscode/opscode-webui/current:2013-01-17_11:34:29.82528 Parameters: {"authenticity_token"=>"qkSJ9YqhiSqfUSKLZIXvu9SMt23UTOz1VZ1Cf+PHKvA=", "id"=>"US15"}
/var/log/opscode/opscode-webui/current:2013-01-17_11:34:30.13517 cache: [POST /clients/US15] invalidate, pass
/var/log/opscode/opscode-erchef/erchef.log.1:2013-01-17T11:34:11Z erchef@127.0.0.1 INFO req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEBAAH2wAAAAAcAAAAA; status=404; org_name=acp; method=GET; path=/organizations/test/nodes/US15; user=US15; msg=node_not_found; req_time=26; couch_time=16; couch_count=1; rdbms_time=6; rdbms_count=2
/var/log/opscode/opscode-erchef/erchef.log.1:2013-01-17T11:34:13Z erchef@127.0.0.1 INFO req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEBAAH3EQAAAAcAAAAA; status=201; org_name=acp; method=POST; path=/organizations/test/nodes; user=US15; msg={created,<<"US15">>}; req_time=230; couch_time=15; couch_count=1; rdbms_time=2; rdbms_count=2; authz_time=187; authz_count=2
/var/log/opscode/opscode-erchef/erchef.log.1:2013-01-17T11:34:16Z erchef@127.0.0.1 INFO req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEBAAH39AAAAAcAAAAA; status=200; org_name=acp; method=PUT; path=/organizations/test/nodes/US15; user=US15; msg=[]; req_time=44; couch_time=16; couch_count=1; rdbms_time=7; rdbms_count=3; authz_time=5; authz_count=1
/var/log/opscode/opscode-erchef/erchef.log.1:2013-01-17T11:34:38Z erchef@127.0.0.1 INFO req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEBAAH6qwAAAAcAAAAA; status=200; org_name=acp; method=GET; path=/organizations/test/nodes/US15; user=US15; msg=[]; req_time=33; couch_time=21; couch_count=1; rdbms_time=2; rdbms_count=2; authz_time=6; authz_count=1
/var/log/opscode/opscode-erchef/erchef.log.1:2013-01-17T11:34:47Z erchef@127.0.0.1 INFO req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjEBAAH72AAAAAcAAAAA; status=403; org_name=acp; method=PUT; path=/organizations/test/nodes/US15; user=US15; msg={update,forbidden}; req_time=33; couch_time=17; couch_count=1; rdbms_time=2; rdbms_count=2; authz_time=5; authz_count=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment