Skip to content

Instantly share code, notes, and snippets.

View Stromweld's full-sized avatar

Corey Hemminger Stromweld

View GitHub Profile
@Stromweld
Stromweld / automation.log
Created January 19, 2018 21:37
vm_reconfigure_request error checking quota's
[----] I, [2018-01-19T14:17:33.934248 #128421:893140] INFO -- : Q-task_id([vm_reconfigure_request_349]) MiqAeEvent.build_evm_event >> event=<"request_starting"> inputs=<{"EventStream::event_stream"=>2795799, :event_stream_id=>2795799}>
[----] I, [2018-01-19T14:17:33.942817 #128421:893140] INFO -- : Q-task_id([vm_reconfigure_request_349]) User [test.test] with current group ID [32] name [APP_ManageIQ-EcommSoftware-VMAdmin]
[----] I, [2018-01-19T14:17:33.955458 #128421:893140] INFO -- : Q-task_id([vm_reconfigure_request_349]) Instantiating [/System/Process/Event?EventStream%3A%3Aevent_stream=2795799&MiqRequest%3A%3Amiq_request=349&MiqServer%3A%3Amiq_server=1&User%3A%3Auser=25&VmReconfigureRequest%3A%3Avm_reconfigure_request=349&event_stream_id=2795799&event_type=request_starting&object_name=Event&vmdb_object_type=vm_reconfigure_request]
[----] I, [2018-01-19T14:17:34.036101 #128421:893140] INFO -- : Q-task_id([vm_reconfigure_request_349]) Updated namespace [/System/Process/Event?EventStream%3A%3Aevent_strea
@Stromweld
Stromweld / error.txt
Created May 11, 2017 20:02
chef bootstrap error
172.21.11.166 Recipe: timezone_iii::rhel7
172.21.11.166 * execute[tzdata-update] action run (skipped due to only_if)
172.21.11.166 Recipe: tuned-nativex::apply_profile
172.21.11.166 * execute[apply_tuned_profile] action run (skipped due to not_if)
172.21.11.166 Recipe: snmp::default
172.21.11.166 * service[snmpd] action restart
172.21.11.166 - restart service service[snmpd]
172.21.11.166 Recipe: sshd::default
172.21.11.166 * service[sshd] action restart
172.21.11.166 - restart service service[sshd]
ArgumentError: powershell_script[join_example.com] (ad-nativex::joindomain line 116) had an error: ArgumentError: wrong number of arguments (given 0, expected 1)
C:/chef/cache/cookbooks/chocolatey/libraries/helpers.rb:34:in `env_path’
C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118-universal-mingw32/lib/chef/mixin/shell_out.rb:112:in `shell_out’
C:/chef/cache/cookbooks/ad-nativex/recipes/joindomain.rb:123:in `block (2 levels) in from_file’
C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118-universal-mingw32/lib/chef/resource/conditional.rb:106:in `evaluate_block’
C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118-universal-mingw32/lib/chef/resource/conditional.rb:95:in `evaluate’
C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118-universal-mingw32/lib/chef/resource/conditional.rb:88:in `continue?'
C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118-universal-mingw32/lib/chef/resource.rb:1435:in `block in should_skip?'
C:/opscode/chef/embedded/
@Stromweld
Stromweld / gist:0d4fb07593f1fe051a74
Last active March 23, 2016 18:23
debug chef 12.8.1
[root@ip-172-21-26-171 ~]# chef-client -l debug -r recipe[collectd-ng] |tee debug.log
[2016-03-23T14:21:45-04:00] DEBUG: Sleeping for 0 seconds
[2016-03-23T14:21:45-04:00] INFO: Forking chef instance to converge...
[2016-03-23T14:21:45-04:00] DEBUG: Fork successful. Waiting for new chef pid: 3224
[2016-03-23T14:21:45-04:00] DEBUG: Forked instance now converging
[2016-03-23T14:21:45-04:00] INFO: *** Chef 12.8.1 ***
[2016-03-23T14:21:45-04:00] INFO: Chef-client pid: 3224
[2016-03-23T14:21:45-04:00] DEBUG: Chef-client request_id: e8aefcbf-a734-47cb-b97b-b61b110d3a9e
[2016-03-23T14:21:45-04:00] DEBUG: Could not load sigar gem. Skipping NetworkRoutes plugin
[2016-03-23T14:21:45-04:00] DEBUG: Skipping LSB, cannot find /etc/lsb-release or /usr/bin/lsb_release
@Stromweld
Stromweld / gist:3267621bd0f7f96fdbaa
Created March 22, 2016 20:40
stacktrace bootstrap chef 12.8.1
[root@ip-172-21-16-56 cache]# cat chef-stacktrace.out
Generated at 2016-03-22 16:27:07 -0400
Chef::Exceptions::ChecksumMismatch: remote_file[/var/chef/cache/collectd-5.4.1.tar.gz] (collectd-ng::default line 69) had an error: Chef::Exceptions::ChecksumMismatch: Checksum on resource (853680) does not match checksum on content (07d03e)
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/provider/file.rb:348:in `do_validate_content'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/provider/file.rb:151:in `action_create'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/provider/file.rb:162:in `action_create_if_missing'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/provider.rb:144:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/resource.rb:596:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/runner.rb:73:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib/chef/run
@Stromweld
Stromweld / gist:8b78349757f5df1f9eee
Last active March 22, 2016 20:41
Chef Bootstrap client 12.8.1
Instance ID: i-93076e4b
Flavor: c4.large
Image: ami-e4db3284
Region: us-west-2
Availability Zone: us-west-2a
Security Group Ids: sg-3c26af59
IAM Profile: nativex_ec2
Tags: Name: TAW2AL-TEST01
SSH Key: administrator
@Stromweld
Stromweld / chef-client_debug_run.log
Last active February 24, 2016 22:07
chef-client debug run
This file has been truncated, but you can view the full file.
# Logfile created on 2016-02-24 16:03:31 -0600 by logger.rb/41954
[2016-02-24T16:03:31-06:00] DEBUG: Sleeping for 0 seconds
[2016-02-24T16:03:35-06:00] INFO: *** Chef 12.6.0 ***
[2016-02-24T16:03:35-06:00] INFO: Chef-client pid: 2044
[2016-02-24T16:03:35-06:00] DEBUG: Chef-client request_id: b5b358d6-609f-4804-b1b1-8d43dc883b03
[2016-02-24T16:03:38-06:00] DEBUG: Plugin NetworkRoutes threw exception #<LoadError: cannot load such file -- sigar> C:/opscode/chef/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/opscode/chef/embedded/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require'
C:\opscode\chef\embedded\lib\ruby\gems\2.0.0\gems\ohai-8.8.1\lib\ohai\plugins/sigar/network_route.rb:42:in `block (2 levels) in <main>'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/ohai-8.8.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
@Stromweld
Stromweld / chef-stacktrace.out
Created February 24, 2016 21:51
chef-stacktrace.out
Generated at 2016-02-24 15:48:16 -0600
Mixlib::ShellOut::ShellCommandFailed: execute[chef-install] (omnibus_updater::installer line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1603'
---- Begin output of msiexec.exe /qn /i chef-client-12.7.2-1-x86.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" ----
STDOUT:
STDERR:
---- End output of msiexec.exe /qn /i chef-client-12.7.2-1-x86.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" ----
Ran msiexec.exe /qn /i chef-client-12.7.2-1-x86.msi ADDLOCAL="ChefClientFeature,ChefServiceFeature" returned 1603
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/mixlib-shellout-2.2.5-universal-mingw32/lib/mixlib/shellout.rb:289:in `invalid!'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/mixlib-shellout-2.2.5-universal-mingw32/lib/mixlib/shellout.rb:276:in `error!'
C:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/chef-12.6.0-universal-mingw32/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
@Stromweld
Stromweld / chef-client_run.log
Created February 24, 2016 21:49
omnibus_updater windows chef-client update from 12.6.0 to 12.7.2
PS C:\Users\Administrator> chef-client
Starting Chef Client, version 12.6.0
[2016-02-24T15:47:34-06:00] INFO: *** Chef 12.6.0 ***
[2016-02-24T15:47:34-06:00] INFO: Chef-client pid: 700
[2016-02-24T15:47:46-06:00] INFO: Run List is [recipe[omnibus_updater]]
[2016-02-24T15:47:46-06:00] INFO: Run List expands to [omnibus_updater]
[2016-02-24T15:47:46-06:00] INFO: Starting Chef Run for TAW2CM-UPTEST01
[2016-02-24T15:47:46-06:00] INFO: Running start handlers
[2016-02-24T15:47:46-06:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["omnibus_updater"]
@Stromweld
Stromweld / msiexec.log
Created February 24, 2016 20:36
msiexec log of chef-client 12.7.2 install with chef-client 12.6.0 already installed
=== Logging started: 2/22/2016 13:43:10 ===
Action start 13:43:10: INSTALL.
Action start 13:43:10: FindRelatedProducts.
Action ended 13:43:10: FindRelatedProducts. Return value 1.
Action start 13:43:10: AppSearch.
Action ended 13:43:10: AppSearch. Return value 0.
Action start 13:43:10: WixQueryOsWellKnownSID.
Action ended 13:43:10: WixQueryOsWellKnownSID. Return value 1.
Action start 13:43:10: LaunchConditions.
Action ended 13:43:10: LaunchConditions. Return value 1.