Skip to content

Instantly share code, notes, and snippets.

@stonith
Created September 28, 2014 06:42
Show Gist options
  • Save stonith/a391f055e2d977f6d58d to your computer and use it in GitHub Desktop.
Save stonith/a391f055e2d977f6d58d to your computer and use it in GitHub Desktop.
Successful Auth but failed to return all data
knife winrm -VV -m web01.example.local -R EXAMPLE.LOCAL ipconfig
DEBUG: Adding web01.example.local
DEBUG: :session => :init
DEBUG: :relay_to_servers => ipconfig
DEBUG: :relayed => web01.example.local
DEBUG: web01.example.local => :run_command
DEBUG: web01.example.local[2EA1E844-A274-4774-843B-XXXXXXXXXXXX] => :shell_open
DEBUG: web01.example.local[2EA1E844-A274-4774-843B-XXXXXXXXXXXX] => :run_command[ipconfig]
DEBUG: :relay_output_from_backend => ["web01.example.local", "\r\nWindows IP Configuration\r\n\r\n"]
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/winrm-1.1.3/lib/winrm/winrm_service.rb:382:in `rescue in send_message': Bad SOAP Packet returned. Sometimes a retry will solve this error. (WinRM::WinRMWebServiceError)
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/winrm-1.1.3/lib/winrm/winrm_service.rb:370:in `send_message'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/winrm-1.1.3/lib/winrm/winrm_service.rb:198:in `cleanup_command'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/em-winrm-0.5.5/lib/em-winrm/shell.rb:66:in `run_command'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/em-winrm-0.5.5/lib/em-winrm/server.rb:58:in `block (2 levels) in run_command'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:1037:in `call'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:1037:in `block in spawn_threadpool'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment