Skip to content

Instantly share code, notes, and snippets.

@chef09210
Created May 4, 2016 23:53
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 chef09210/77b1e9d23118bf06864b3bbb8a88eb50 to your computer and use it in GitHub Desktop.
Save chef09210/77b1e9d23118bf06864b3bbb8a88eb50 to your computer and use it in GitHub Desktop.
INFO: Using configuration from C:/chef/chef-repo/.chef/knife.rb
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key winrm_user and found value domain\user
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_password and found value Password1
DEBUG: Looking for key winrm_port and found value 5985
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key session_timeout and found value 30
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key winrm_transport and found value plaintext
DEBUG: Looking for key winrm_authentication_protocol and found value negotiate
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Looking for key ssl_peer_fingerprint and found value
DEBUG: Looking for key ca_trust_file and found value
DEBUG: Adding 10.100.1.7
DEBUG: WinRM::WinRMWebService options: {:user=>"domain\\user", :pass=>"Password1", :basic_auth_only=>false, :disable_sspi=>false, :no_ssl_peer_verification=>false, :ssl_peer_fingerprint=>nil, :ca_trust_path=>nil}
DEBUG: Endpoint: http://10.100.1.7:5985/wsman
DEBUG: Transport: negotiate
DEBUG: chef-client -o 'recipe[audit]'
DEBUG: 10.100.1.7[471BD01D-728D-4BA2-AE0E-E7218BDC1F8D] => :run_command[chef-client -o 'recipe[audit]']
10.100.1.7 [2016-05-05T06:49:00+00:00] INFO: *** Chef 12.9.38 ***
10.100.1.7 [2016-05-05T06:49:00+00:00] INFO: Platform: x64-mingw32
10.100.1.7 [2016-05-05T06:49:00+00:00] INFO: Chef-client pid: 3888
10.100.1.7 [2016-05-05T06:49:17+00:00] WARN: Run List override has been provided.
10.100.1.7 [2016-05-05T06:49:17+00:00] WARN: Original Run List: [role[patch_recipients]]
10.100.1.7 [2016-05-05T06:49:17+00:00] WARN: Overridden Run List: [recipe[audit]]
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Run List is [recipe[audit]]
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Run List expands to [audit]
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Starting Chef Run for OWS007
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Running start handlers
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Start handlers complete.
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Loading cookbooks [audit@0.5.0]
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Skipping removal of obsoleted cookbooks from the cache
10.100.1.7 [2016-05-05T06:49:17+00:00] INFO: Processing compliance_profile[windows] action fetch (audit::default line 28)
10.100.1.7 [2016-05-05T06:49:18+00:00] WARN: Using inspec version: (0.19.3)
10.100.1.7 [2016-05-05T06:49:18+00:00] INFO: Fetch compliance profile base/windows
10.100.1.7 [2016-05-05T06:49:18+00:00] INFO: Processing directory[c:/chef/cache/compliance] action create (c:/chef/cache/cookbooks/audit/libraries/profile.rb line 40)
10.100.1.7 [2016-05-05T06:49:18+00:00] ERROR: 403 "Forbidden" Possible offline Compliance Server or chef_gate auth issue.
10.100.1.7 [2016-05-05T06:49:18+00:00] ERROR: Profile NOT downloaded. Will use cached version if available.
10.100.1.7
10.100.1.7
10.100.1.7 ================================================================================
10.100.1.7 [31mError executing action `fetch` on resource 'compliance_profile[windows]'
10.100.1.7 ================================================================================
10.100.1.7
10.100.1.7 NoMethodError
10.100.1.7 -------------
10.100.1.7 undefined method `path' for nil:NilClass
10.100.1.7
10.100.1.7 Cookbook Trace:
10.100.1.7 ---------------
10.100.1.7 c:/chef/cache/cookbooks/audit/libraries/profile.rb:71:in `block (2 levels) in <class:ComplianceProfile>'
10.100.1.7 c:/chef/cache/cookbooks/audit/libraries/profile.rb:35:in `block in <class:ComplianceProfile>'
10.100.1.7
10.100.1.7 Resource Declaration:
10.100.1.7 ---------------------
10.100.1.7 # In c:/chef/cache/cookbooks/audit/recipes/default.rb
10.100.1.7
10.100.1.7 28: compliance_profile p do
10.100.1.7 29: owner o
10.100.1.7 30: server server
10.100.1.7 31: token token
10.100.1.7 32: inspec_version node['audit']['inspec_version']
10.100.1.7 33: action [:fetch, :execute]
10.100.1.7 34: end
10.100.1.7 35: end
10.100.1.7
10.100.1.7 Compiled Resource:
10.100.1.7 ------------------
10.100.1.7 # Declared in c:/chef/cache/cookbooks/audit/recipes/default.rb:28:in `block in from_file'
10.100.1.7
10.100.1.7 compliance_profile("windows") do
10.100.1.7 action [:fetch, :execute]
10.100.1.7 retries 0
10.100.1.7 retry_delay 2
10.100.1.7 default_guard_interpreter :default
10.100.1.7 declared_type :compliance_profile
10.100.1.7 cookbook_name "audit"
10.100.1.7 recipe_name "default"
10.100.1.7 owner "base"
10.100.1.7 inspec_version "latest"
10.100.1.7 profile "windows"
10.100.1.7 end
10.100.1.7
10.100.1.7 Platform:
10.100.1.7 ---------
10.100.1.7 x64-mingw32
10.100.1.7
10.100.1.7
10.100.1.7 [2016-05-05T06:49:18+00:00] INFO: Running queued delayed notifications before re-raising exception
10.100.1.7 [2016-05-05T06:49:18+00:00] ERROR: Running exception handlers
10.100.1.7 [2016-05-05T06:49:18+00:00] ERROR: Exception handlers complete
10.100.1.7 [2016-05-05T06:49:18+00:00] INFO: Sending resource update report (run-id: e774a5e6-6156-48a1-b6ba-79484d186c93)
10.100.1.7 [2016-05-05T06:49:18+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
10.100.1.7 [2016-05-05T06:49:18+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
10.100.1.7 [2016-05-05T06:49:18+00:00] FATAL: NoMethodError: compliance_profile[windows] (audit::default line 28) had an error: NoMethodError: undefined method `path' for nil:NilClass
DEBUG: 10.100.1.7[471BD01D-728D-4BA2-AE0E-E7218BDC1F8D] => :command_cleanup[chef-client -o 'recipe[audit]']
DEBUG: 10.100.1.7[471BD01D-728D-4BA2-AE0E-E7218BDC1F8D] => :shell_close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment