Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created October 25, 2012 14:43
Show Gist options
  • Save coderforhire/3952959 to your computer and use it in GitHub Desktop.
Save coderforhire/3952959 to your computer and use it in GitHub Desktop.
knife ssh -VV name:m* ls
DEBUG: Using configuration from /.chef/knife.rb
DEBUG: Signing the request as
DEBUG: Sending HTTP Request via GET to chef-server.newground.com:443/search/node
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: nginx/1.2.3
DEBUG: date: Thu, 25 Oct 2012 14:41:11 GMT
DEBUG: content-type: application/json; charset=utf-8
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: ---- End HTTP Status/Header Data ----
/home/afresta/.rvm/gems/ruby-1.9.3-p0/gems/json-1.6.1/lib/json/common.rb:148:in `parse': 387: unexpected token at '{"Maximum Size":"3072 kB","External Clock":"25 MHz","size":"4","Asset Tag":"To Be Filled By O.E.M.","Flags":{"PSE (Page size extension)":null,"MSR (Model specific registers)":null,"SSE (Streaming SIMD extensions)":null,"PBE (Pending break enabled)":null,"FPU (Floating-point unit on-chip)":null,"TM (Thermal monitor supported)":null,"MCE (Machine check exception)":null,"MTRR (Memory type range registers)":null,"DE (Debugging extension)":null,"PAT (Page attribute table)":null,"SS (Self-snoop)":null,"MMX (MMX technology supported)":null,"PSE-36 (36-bit page size extension)":null,"MCA (Machine check architecture)":null,"SSE2 (Streaming SIMD extensions 2)":null,"APIC (On-chip APIC hardware supported)":null,"CMOV (Conditional move instruction supported)":null,"VME (Virtual mode extension)":null,"FXSR (FXSAVE and FXSTOR instructions supported)":null,"DS (Debug store)":null,"TSC (Time stamp counter)":null,"PGE (Page global enable)":null,"CX8 (CMPXCHG8 instruction supported)":null,"HTT (Multi-threading)":null,"CLFSH (CLFLUSH instruction supported)":null,"SEP (Fast system call)":null,"ACPI (ACPI supported)":null,"PAE (Physical address extension)":null},"Installed Size":"3072 kB","Internal Reference Designator":"J1G6 - AC JACK","Speed":"Unknown","L1 Cache Handle":"0x0005","Core Count":"2","Characteristics":{"3.3 V is provided":null,"PME signal is supported":null,"Opening is shared":null},"application_identifier":"On Board Device Information","Supported SRAM Types":{"Other":null},"Thread Count":"2","Part Number":"To Be Filled By O.E.M.","Version":"I' (JSON::ParserError)
from /.rvm/gems/ruby-1.9.3-p0/gems/json-1.6.1/lib/json/common.rb:148:in `parse'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/json_compat.rb:41:in `from_json'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/rest.rb:265:in `block in raw_http_request'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/rest.rb:363:in `retriable_rest_request'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/rest.rb:249:in `raw_http_request'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/rest.rb:243:in `api_request'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/rest.rb:133:in `get_rest'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/search/query.rb:42:in `search'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/knife/ssh.rb:125:in `configure_session'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/knife/ssh.rb:412:in `run'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/knife.rb:408:in `run_with_pretty_exceptions'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/knife.rb:168:in `run'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/lib/chef/application/knife.rb:123:in `run'
from /.rvm/gems/ruby-1.9.3-p0/gems/chef-10.16.0/bin/knife:25:in `<top (required)>'
from /.rvm/gems/ruby-1.9.3-p0/bin/knife:19:in `load'
from /.rvm/gems/ruby-1.9.3-p0/bin/knife:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment