chef / ohai

Ohai profiles your system and emits JSON
https://docs.chef.io/ohai.html
Apache License 2.0
681 stars 449 forks source link

OSX locks up for 10 minutes with default ohai plugins #1165

Closed spuder closed 5 years ago

spuder commented 6 years ago

On OSX 10.13.3 with chefDK 12.21.26 the terminal will completely lock up the system for 10+ minutes when executing chef-shell or chef-apply.

This has been a problem for 3+ years, and the work around has always been to disable the 'passwd' ohai plugin. The theory was that if OSX is joined to an Active Directory domain, it tries to enumerate the usernames of all users which takes a long time.

https://stackoverflow.com/questions/28619529/disable-ohai-plugin/28619530#28619530

That work-around no longer works. Here is the output of chef-shell -l debug. My system completely locks up when it reaches the line 'looks_like_ec2'

....
[2018-03-20T12:59:32-06:00] DEBUG: Did not find hint ec2.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_ec2_xen_uuid? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_ec2_dmi? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_amazon_org? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: looks_like_ec2? == false
.

After 10 minutes of not being able to do anything with the system, it resumes with lines

.

[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: found VBoxManage at /usr/local/bin/VBoxManage
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: did not find prlctl
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: found ioreg at /usr/sbin/ioreg
.[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: ran 'ioreg -l' and returned 0
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: Can't load gem: cannot load such file -- libvirt. Cannot continue.
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Zpools: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Machineid: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin ShardSeed threw #<NoMethodError: undefined method `[]' for nil:NilClass>
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:63:in `block (3 levels) in <main>'

Here is the full output:

I can reproduced this on multiple Macs, and various versions of ChefDK.

$ chef-shell -l debug
loading configuration: none (standalone session)
Session type: standalone
Loading.[2018-03-20T12:59:26-06:00] DEBUG: Running Ohai with the following configuration: {:log_location=>#<IO:<STDOUT>>, :log_level=>:debug, :standalone=>true, :config_file=>nil, :shell_config=>{:standalone=>true, :log_level=>:debug, :config_file=>nil}, :formatter=>"null", :solo_legacy_mode=>true}
[2018-03-20T12:59:26-06:00] DEBUG: Running Ohai with the following configuration: {:log_location=>#<IO:<STDOUT>>, :log_level=>:debug, :standalone=>true, :config_file=>nil, :shell_config=>{:standalone=>true, :log_level=>:debug, :config_file=>nil}, :formatter=>"null", :solo_legacy_mode=>true, :formatters=>[], :event_handlers=>[]}
[2018-03-20T12:59:26-06:00] DEBUG: Searching for Ohai plugins in /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins
[2018-03-20T12:59:26-06:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/network_route.rb
[2018-03-20T12:59:26-06:00] DEBUG: Could not load sigar gem. Skipping NetworkRoutes plugin
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sigar/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/uptime.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/chef.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ip_scopes.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/languages.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dragonflybsd/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dragonflybsd/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dragonflybsd/os.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dragonflybsd/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dragonflybsd/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dmi.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/scala.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/groovy.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/rust.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/hostname.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/init_package.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/eucalyptus.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/php.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/virtualbox.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/timezone.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/rackspace.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/haskell.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ps.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/digital_ocean.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ec2.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/root_group.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/passwd.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/python.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/netbsd/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/netbsd/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/netbsd/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/netbsd/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/go.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/bsd/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/bsd/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/c.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/dmi.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/zpools.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/solaris2/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/elixir.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ruby.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/keys.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/packages.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/freebsd/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/freebsd/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/freebsd/os.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/freebsd/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/freebsd/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shells.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/gce.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/openstack.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/os.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/joyent.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ohai_time.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/cloud_v2.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/vmware.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/softlayer.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/lsb.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/mdadm.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/block_device.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/hostnamectl.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/filesystem2.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/machineid.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/sessions.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linux/fips.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/powershell.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/perl.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ohai.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/openbsd/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/openbsd/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/openbsd/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/openbsd/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/nodejs.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/azure.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/linode.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/kernel.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/system_profiler.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/hardware.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/filesystem2.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/darwin/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/command.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/erlang.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/drivers.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/windows/fips.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/network_listeners.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/cloud.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/sysconf.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/java.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/lua.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/ssh_host_key.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/uptime.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/network.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/platform.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/os.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/virtualization.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/cpu.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/filesystem.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/kernel.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/aix/memory.rb
[2018-03-20T12:59:26-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/mono.rb
[2018-03-20T12:59:26-06:00] DEBUG: Plugin Network: ran 'route -n get default' and returned 0
[2018-03-20T12:59:26-06:00] DEBUG: Plugin Network: ran 'ifconfig -a' and returned 0
[2018-03-20T12:59:26-06:00] DEBUG: Plugin Network: ran 'arp -an' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Network: ran 'sysctl net' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Network: ran 'netstat -i -d -l -b -n' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Could not load sigar gem. Skipping NetworkListeners plugin
[2018-03-20T12:59:27-06:00] WARN: Plugin Network: [inet] no ip address on utun7
[2018-03-20T12:59:27-06:00] WARN: Plugin Network: unable to detect ipaddress
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Network: unable to detect macaddress for family 'inet'
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Network: [inet6] no default interface, picking the first ipaddress
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Network: unable to detect macaddress for family 'inet6'
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'uname -s' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'uname -r' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'uname -v' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'uname -m' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'uname -p' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'sysctl -n hw.optional.x86_64' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Kernel: ran 'kextstat -k -l' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin LSB: No data to collect. Skipping...
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Platform: ran '/usr/bin/sw_vers' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n hw.packages' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n hw.physicalcpu' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n hw.logicalcpu' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n hw.cpufrequency' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.vendor' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.brand_string' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.model' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.family' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.stepping' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin CPU: ran 'sysctl -n machdep.cpu.features' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Filesystem: ran 'df -i' and returned 0
.[2018-03-20T12:59:27-06:00] DEBUG: Plugin Filesystem: ran 'mount' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Memory: ran 'sysctl -n hw.memsize' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Memory: ran 'vm_stat' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Uptime: ran '/usr/sbin/sysctl kern.boottime' and returned 0
[2018-03-20T12:59:27-06:00] DEBUG: Plugin IpScopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensions
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Scala: ran 'scala -version' and failed #<Errno::ENOENT: No such file or directory - scala>
[2018-03-20T12:59:27-06:00] DEBUG: Plugin Scala: Could not shell_out "scala -version". Skipping data
.......[2018-03-20T12:59:31-06:00] DEBUG: Plugin Scala: ran 'sbt --version' and returned 0
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Groovy: ran 'groovy -v' and failed #<Errno::ENOENT: No such file or directory - groovy>
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Groovy: Could not shell_out "groovy -v". Skipping plugin
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Rust: ran 'rustc --version' and failed #<Errno::ENOENT: No such file or directory - rustc>
[2018-03-20T12:59:31-06:00] DEBUG: Rust plugin: Could not shell_out "rustc --version". Skipping plugin
.[2018-03-20T12:59:31-06:00] DEBUG: Plugin PHP: ran 'php -v' and returned 0
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: ran 'ghc --version' and failed #<Errno::ENOENT: No such file or directory - ghc>
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: Could not shell_out "ghc --version". Skipping data
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: ran 'ghci --version' and failed #<Errno::ENOENT: No such file or directory - ghci>
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: Could not shell_out "ghci --version". Skipping data
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: ran 'cabal --version' and failed #<Errno::ENOENT: No such file or directory - cabal>
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: Could not shell_out "cabal --version". Skipping data
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: ran 'stack --version' and failed #<Errno::ENOENT: No such file or directory - stack>
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Haskell: Could not shell_out "stack --version". Skipping data
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Python: ran 'python -c "import sys; print (sys.version)"' and returned 0
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Go: ran 'go version' and failed #<Errno::ENOENT: No such file or directory - go>
[2018-03-20T12:59:31-06:00] DEBUG: Go plugin: Could not shell_out "go version". Skipping plugin
[2018-03-20T12:59:31-06:00] DEBUG: Plugin C: Checking for Xcode Command Line Tools.
[2018-03-20T12:59:31-06:00] DEBUG: Plugin C: ran '/usr/bin/xcode-select -p' and returned 0
[2018-03-20T12:59:31-06:00] DEBUG: Plugin C: Xcode Command Line Tools found.
[2018-03-20T12:59:31-06:00] DEBUG: Plugin C: ran 'gcc -v' and returned 0
[2018-03-20T12:59:31-06:00] DEBUG: Plugin Elixir: ran 'elixir -v' and failed #<Errno::ENOENT: No such file or directory - elixir>
[2018-03-20T12:59:31-06:00] DEBUG: Elixir plugin: Could not shell_out "elixir -v". Skipping plugin
.[2018-03-20T12:59:32-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; puts %Q(platform=#{RUBY_PLATFORM},version=#{RUBY_VERSION},release_date=#{RUBY_RELEASE_DATE},target=#{RbConfig::CONFIG['target']},target_cpu=#{RbConfig::CONFIG['target_cpu']},target_vendor=#{RbConfig::CONFIG['target_vendor']},target_os=#{RbConfig::CONFIG['target_os']},host=#{RbConfig::CONFIG['host']},host_cpu=#{RbConfig::CONFIG['host_cpu']},host_os=#{RbConfig::CONFIG['host_os']},host_vendor=#{RbConfig::CONFIG['host_vendor']},bin_dir=#{RbConfig::CONFIG['bindir']},ruby_bin=#{::File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])},)"' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'"' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; puts %x{/Users/sowen/.rvm/rubies/ruby-2.3.0/bin/ruby /Users/sowen/.rvm/rubies/ruby-2.3.0/bin/gem env gemdir}.chomp!"' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Powershell: No data to collect. Skipping...
.[2018-03-20T12:59:32-06:00] DEBUG: Plugin Perl: ran 'perl -V:version -V:archname' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Nodejs: ran 'node -v' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Erlang: ran 'erl -eval '{ok, Ver} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), Vsn = binary:bin_to_list(Ver, {0, byte_size(Ver) - 1}), io:format("~s,~s,~s", [Vsn, erlang:system_info(version), erlang:system_info(nif_version)]), halt().' -noshell' and returned 127
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Erlang: ran 'erl +V' and failed #<Errno::ENOENT: No such file or directory - erl>
[2018-03-20T12:59:32-06:00] DEBUG: Erlang plugin: Could not shell_out "erl +V". Skipping data
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Java: ran '/usr/libexec/java_home' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Java: ran 'java -mx64m -version' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Lua: ran 'lua -v' and failed #<Errno::ENOENT: No such file or directory - lua>
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Lua: Could not shell_out "lua -v". Skipping plugin
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Mono: ran 'mono -V' and failed #<Errno::ENOENT: No such file or directory - mono>
[2018-03-20T12:59:32-06:00] DEBUG: Mono plugin: Could not shell_out "mono -V". Skipping plugin
[2018-03-20T12:59:32-06:00] DEBUG: Plugin DMI: ran 'dmidecode' and failed #<Errno::ENOENT: No such file or directory - dmidecode>
[2018-03-20T12:59:32-06:00] DEBUG: Plugin DMI threw #<Ohai::Exceptions::Exec: No such file or directory - dmidecode>
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/mixin/command.rb:43:in `rescue in shell_out'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/mixin/command.rb:37:in `shell_out'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/dmi.rb:47:in `block (2 levels) in <main>'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `instance_eval'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin/versionvii.rb:90:in `run_plugin'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin.rb:102:in `run'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin.rb:186:in `safe_run'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/runner.rb:86:in `run_v7_plugin'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/runner.rb:45:in `run_plugin'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:100:in `block in run_plugins'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:99:in `each'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:99:in `run_plugins'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:77:in `all_plugins'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/client.rb:606:in `run_ohai'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:155:in `rebuild_node'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:55:in `block in reset!'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:101:in `loading'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:54:in `reset!'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:127:in `session'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:136:in `init'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:65:in `start'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/bin/chef-shell:34:in `<top (required)>'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/bin/chef-shell:57:in `load'
[2018-03-20T12:59:32-06:00] DEBUG: /opt/chefdk/bin/chef-shell:57:in `<main>'
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Hostname: ran 'hostname -s' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Hostname: ran 'hostname' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Hostname: ran 'hostname' and returned 0
[2018-03-20T12:59:32-06:00] DEBUG: Plugin InitPackage: No data to collect. Skipping...
[2018-03-20T12:59:32-06:00] DEBUG: Did not find hint eucalyptus.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Eucalyptus: has_euca_mac? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Eucalyptus: looks_like_euca? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Virtualbox: ran 'VBoxControl guestproperty enumerate' and failed #<Errno::ENOENT: No such file or directory - VBoxControl>
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Virtualbox: Could not execute "VBoxControl guestproperty enumerate". Skipping data
[2018-03-20T12:59:32-06:00] DEBUG: Did not find hint rackspace.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Rackspace: ran 'xenstore-read vm-data/provider_data/provider' and failed #<Errno::ENOENT: No such file or directory - xenstore-read>
[2018-03-20T12:59:32-06:00] DEBUG: Did not find hint digital_ocean.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T12:59:32-06:00] DEBUG: Plugin Digitalocean: No hints present for and doesn't look like digitalocean
[2018-03-20T12:59:32-06:00] DEBUG: Did not find hint ec2.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_ec2_xen_uuid? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_ec2_dmi? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: has_amazon_org? == false
[2018-03-20T12:59:32-06:00] DEBUG: Plugin EC2: looks_like_ec2? == false
.

[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: found VBoxManage at /usr/local/bin/VBoxManage
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: did not find prlctl
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: found ioreg at /usr/sbin/ioreg
.[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: ran 'ioreg -l' and returned 0
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Virtualization: Can't load gem: cannot load such file -- libvirt. Cannot continue.
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Zpools: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Machineid: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin ShardSeed threw #<NoMethodError: undefined method `[]' for nil:NilClass>
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:63:in `block (3 levels) in <main>'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:53:in `block in create_seed'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:42:in `each'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:42:in `create_seed'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/plugins/shard.rb:60:in `block (2 levels) in <main>'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin/versionvii.rb:88:in `instance_eval'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin/versionvii.rb:88:in `run_plugin'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin.rb:102:in `run'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/dsl/plugin.rb:186:in `safe_run'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/runner.rb:86:in `run_v7_plugin'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/runner.rb:45:in `run_plugin'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:100:in `block in run_plugins'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:99:in `each'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:99:in `run_plugins'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/ohai-8.25.1/lib/ohai/system.rb:77:in `all_plugins'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/client.rb:606:in `run_ohai'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:155:in `rebuild_node'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:55:in `block in reset!'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:101:in `loading'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell/shell_session.rb:54:in `reset!'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:127:in `session'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:136:in `init'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/lib/chef/shell.rb:65:in `start'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.21.26/bin/chef-shell:34:in `<top (required)>'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/bin/chef-shell:57:in `load'
[2018-03-20T13:03:56-06:00] DEBUG: /opt/chefdk/bin/chef-shell:57:in `<main>'
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Packages: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Did not find hint gce.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T13:03:56-06:00] DEBUG: Mixin GCE: can_metadata_connect? failed setting up socket: getaddrinfo: nodename nor servname provided, or not known
[2018-03-20T13:03:56-06:00] DEBUG: Plugin GCE: looks_like_gce? == false
[2018-03-20T13:03:56-06:00] DEBUG: Did not find hint openstack.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Openstack: openstack hint not present
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Openstack: has_openstack_dmi? == false
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Openstack: Node does not appear to be an Openstack node
[2018-03-20T13:03:56-06:00] DEBUG: Did not find hint linode.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Linode: looks_like_linode? == false
[2018-03-20T13:03:56-06:00] DEBUG: Did not find hint azure.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Azure: No hints present for azure and doesn't appear to be azure.
[2018-03-20T13:03:56-06:00] DEBUG: Plugin VMware: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Did not find hint softlayer.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Softlayer: looks_like_softlayer? == false
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Mdadm: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin BlockDevice: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Hostnamectl: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Filesystem2: ran 'df -i' and returned 0
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Filesystem2: ran 'mount' and returned 0
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Sessions: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Fips: No data to collect. Skipping...
[2018-03-20T13:03:56-06:00] DEBUG: Plugin Drivers: No data to collect. Skipping...
.[2018-03-20T13:03:57-06:00] DEBUG: Plugin SystemProfile: ran 'system_profiler -xml -detailLevel mini SPParallelATAData SPAudioData SPBluetoothData SPCardReaderData SPDiagnosticsData SPDiscBurningData SPEthernetData SPFibreChannelData SPFireWireData SPDisplaysData SPHardwareRAIDData SPMemoryData SPModemData SPNetworkData SPPCIData SPParallelSCSIData SPPrintersSoftwareData SPPrintersData SPSASData SPSerialATAData SPSoftwareData SPThunderboltData SPUSBData SPWWANData SPAirPortData' and returned 0
.[2018-03-20T13:03:57-06:00] DEBUG: Plugin SystemProfile: ran 'system_profiler -xml -detailLevel full SPHardwareDataType' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPHardwareDataType -xml' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'sw_vers -productName' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'sw_vers -productVersion' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'sw_vers -buildVersion' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'uname -m' and returned 0
.[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPStorageDataType -xml' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPPowerDataType -xml' and returned 0
[2018-03-20T13:03:58-06:00] DEBUG: Plugin Sysconf: No data to collect. Skipping...
[2018-03-20T13:03:58-06:00] DEBUG: Building node object for sowen-mbp.example.com
[2018-03-20T13:03:58-06:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2018-03-20T13:03:58-06:00] DEBUG: Applying attributes from json file
[2018-03-20T13:03:58-06:00] DEBUG: Platform is mac_os_x version 10.13.3
[2018-03-20T13:03:58-06:00] INFO: Run List is []
[2018-03-20T13:03:58-06:00] INFO: Run List expands to []
[2018-03-20T13:03:58-06:00] DEBUG: Cookbooks to compile: []
done.

[2018-03-20T13:03:58-06:00] DEBUG: Applying attributes from json file
This is the chef-shell.
 Chef Version: 12.21.26
 https://www.chef.io/
 https://docs.chef.io/

run `help' for help, `exit' or ^D to quit.
tas50 commented 6 years ago

@spuder Can you try this against the latest ChefDK so we can get some information from Chef 13. Chef 12 is going EOL in just a few weeks and a lot of the code in ohai has changed between 12 and 13.

spuder commented 6 years ago

I just upgraded to ChefDK 2.5.3. The issues persists. My terminal locks up, and I get the beach ball of death. The lock up is less severe, but still makes my computer nearly unusable for 5 minutes. This is on a newly formated mac.

The interesting thing is that the plugins now report how long they took to run. It froze at the same point.

[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: looks_like_ec2? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2 took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin RootGroup took 0.0 seconds to run.

.[2018-03-20T15:56:32-06:00] DEBUG: Plugin Passwd took 0.13 seconds to run.
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: found VBoxManage at /usr/local/bin/VBoxManage
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: did not find prlctl
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: found ioreg at /usr/sbin/ioreg

.[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization: ran 'ioreg -l' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization took 0.76 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Joyent took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization: Can't load gem: cannot load such file -- libvirt. Cannot continue.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin VirtualizationInfo took 0.020000000000000018 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem: ran 'df -i' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem: ran 'mount' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Machineid: No data to collect. Skipping...
[2018-03-20T15:56:33-06:00] DEBUG: Plugin ShardSeed threw #<NoMethodError: undefined method `[]' for nil:NilClass>
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:62:in `block (3 levels) in <main>'

I think it is the SharedSeed plugin that is causing the issue, even though it says Plugin ShardSeed took 0.0 seconds to run.

[sowen:~/Devops/cookbooks] $ chef-shell -l debug
loading configuration: none (standalone session)
Session type: standalone
Loading.[2018-03-20T15:51:48-06:00] DEBUG: Running Ohai with the following configuration: {}
[2018-03-20T15:51:48-06:00] DEBUG: Running Ohai with the following configuration: {}
[2018-03-20T15:51:48-06:00] DEBUG: Searching for Ohai plugins in /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins
[2018-03-20T15:51:48-06:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/uptime.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/chef.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ip_scopes.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/languages.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dragonflybsd/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dragonflybsd/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dragonflybsd/os.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dragonflybsd/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dragonflybsd/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/dmi.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/scala.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/groovy.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/rust.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/hostname.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/init_package.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/eucalyptus.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/php.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/virtualbox.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/timezone.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/rackspace.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/haskell.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ps.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/digital_ocean.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ec2.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/root_group.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/passwd.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/python.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/netbsd/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/netbsd/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/netbsd/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/netbsd/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/go.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/bsd/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/bsd/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/c.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/dmi.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/solaris2/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/elixir.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ruby.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/keys.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/packages.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/freebsd/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/freebsd/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/freebsd/os.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/freebsd/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/freebsd/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shells.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/gce.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/openstack.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/os.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/joyent.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ohai_time.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/vmware.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/softlayer.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/lsb.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/mdadm.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/block_device.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/systemd_paths.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/hostnamectl.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/lspci.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/machineid.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/sessions.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linux/fips.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/powershell.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/perl.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ohai.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/openbsd/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/openbsd/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/openbsd/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/openbsd/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/nodejs.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/zpools.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/azure.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/linode.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/kernel.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/system_profiler.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/hardware.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/darwin/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/command.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/erlang.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/drivers.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/windows/fips.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/cloud.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/sysconf.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/java.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/lua.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/ssh_host_key.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/uptime.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/network.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/platform.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/os.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/virtualization.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/cpu.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/filesystem.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/kernel.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/aix/memory.rb
[2018-03-20T15:51:48-06:00] DEBUG: Loading plugin at /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/mono.rb
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'uname -s' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'uname -r' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'uname -v' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'uname -m' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'uname -p' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'sysctl -n hw.optional.x86_64' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Kernel: ran 'kextstat -k -l' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin LSB: No data to collect. Skipping...
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Platform: ran '/usr/bin/sw_vers' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Uptime: ran '/usr/sbin/sysctl kern.boottime' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Uptime took 0.16000000000000003 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Chef took 0.0 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Ohai took 0.0 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Network: ran 'route -n get default' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Network: ran 'ifconfig -a' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Network: ran 'arp -an' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Network: ran 'sysctl net' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Network: ran 'netstat -i -d -l -b -n' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin IpScopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensions
[2018-03-20T15:51:48-06:00] DEBUG: Plugin IpScopes took 0.08999999999999994 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Languages took 0.0 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Scala: ran 'scala -version' and failed #<Errno::ENOENT: No such file or directory - scala>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Scala: Could not shell_out "scala -version". Skipping data
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Scala took 0.0 seconds to run.
.[2018-03-20T15:51:48-06:00] DEBUG: Plugin Groovy: ran 'groovy -v' and failed #<Errno::ENOENT: No such file or directory - groovy>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Groovy: Could not shell_out "groovy -v". Skipping plugin
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Groovy took 0.0 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Rust: ran 'rustc --version' and failed #<Errno::ENOENT: No such file or directory - rustc>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Rust: Could not shell_out "rustc --version". Skipping plugin
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Rust took 0.010000000000000002 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin PHP: ran 'php -v' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin PHP took 0.14 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: ran 'ghc --version' and failed #<Errno::ENOENT: No such file or directory - ghc>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: Could not shell_out "ghc --version". Skipping data
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: ran 'ghci --version' and failed #<Errno::ENOENT: No such file or directory - ghci>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: Could not shell_out "ghci --version". Skipping data
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: ran 'cabal --version' and failed #<Errno::ENOENT: No such file or directory - cabal>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: Could not shell_out "cabal --version". Skipping data
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: ran 'stack --version' and failed #<Errno::ENOENT: No such file or directory - stack>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell: Could not shell_out "stack --version". Skipping data
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Haskell took 0.010000000000000009 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Python: ran 'python -c "import sys; print (sys.version)"' and returned 0
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Python took 0.059999999999999984 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Go: ran 'go version' and failed #<Errno::ENOENT: No such file or directory - go>
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Go: Could not shell_out "go version". Skipping plugin
[2018-03-20T15:51:48-06:00] DEBUG: Plugin Go took 0.010000000000000009 seconds to run.
[2018-03-20T15:51:48-06:00] DEBUG: Plugin C: Checking for Xcode Command Line Tools.
[2018-03-20T15:51:49-06:00] DEBUG: Plugin C: ran '/usr/bin/xcode-select -p' and returned 0
[2018-03-20T15:51:49-06:00] DEBUG: Plugin C: Xcode Command Line Tools found.
....[2018-03-20T15:51:50-06:00] DEBUG: Plugin C: ran 'gcc -v' and returned 0
[2018-03-20T15:51:50-06:00] DEBUG: Plugin C took 1.59 seconds to run.
[2018-03-20T15:51:50-06:00] DEBUG: Plugin Elixir: ran 'elixir -v' and failed #<Errno::ENOENT: No such file or directory - elixir>
[2018-03-20T15:51:50-06:00] DEBUG: Plugin Elixir: Could not shell_out "elixir -v". Skipping plugin
[2018-03-20T15:51:50-06:00] DEBUG: Plugin Elixir took 0.010000000000000009 seconds to run.
[2018-03-20T15:51:50-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; puts %Q(platform=#{RUBY_PLATFORM},version=#{RUBY_VERSION},release_date=#{RUBY_RELEASE_DATE},target=#{RbConfig::CONFIG['target']},target_cpu=#{RbConfig::CONFIG['target_cpu']},target_vendor=#{RbConfig::CONFIG['target_vendor']},target_os=#{RbConfig::CONFIG['target_os']},host=#{RbConfig::CONFIG['host']},host_cpu=#{RbConfig::CONFIG['host_cpu']},host_os=#{RbConfig::CONFIG['host_os']},host_vendor=#{RbConfig::CONFIG['host_vendor']},bin_dir=#{RbConfig::CONFIG['bindir']},ruby_bin=#{::File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])},)"' and returned 0
[2018-03-20T15:51:50-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; require 'rubygems'; puts ::Gem.default_exec_format % 'gem'"' and returned 0
.[2018-03-20T15:51:51-06:00] DEBUG: Plugin Ruby: ran 'ruby -e "require 'rbconfig'; puts %x{/Users/sowen/.rvm/rubies/ruby-2.3.0/bin/ruby /Users/sowen/.rvm/rubies/ruby-2.3.0/bin/gem env gemdir}.chomp!"' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Ruby took 0.3999999999999998 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Powershell: No data to collect. Skipping...
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Powershell took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Perl: ran 'perl -V:version -V:archname' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Perl took 0.040000000000000036 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Nodejs: ran 'node -v' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Nodejs took 0.020000000000000018 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Erlang: ran 'erl -eval '{ok, Ver} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), Vsn = binary:bin_to_list(Ver, {0, byte_size(Ver) - 1}), io:format("~s,~s,~s", [Vsn, erlang:system_info(version), erlang:system_info(nif_version)]), halt().' -noshell' and returned 127
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Erlang: ran 'erl +V' and failed #<Errno::ENOENT: No such file or directory - erl>
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Erlang: Could not shell_out "erl +V". Skipping data
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Erlang took 0.020000000000000018 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Java: ran '/usr/libexec/java_home' and returned 0
.[2018-03-20T15:51:51-06:00] DEBUG: Plugin Java: ran 'java -mx64m -version' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Java took 0.14000000000000012 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Lua: ran 'lua -v' and failed #<Errno::ENOENT: No such file or directory - lua>
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Lua: Could not shell_out "lua -v". Skipping plugin
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Lua took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Mono: ran 'mono -V' and failed #<Errno::ENOENT: No such file or directory - mono>
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Mono: Could not shell_out "mono -V". Skipping plugin
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Mono took 0.020000000000000018 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Network took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] WARN: Plugin Network: [inet] no ip address on utun3
[2018-03-20T15:51:51-06:00] WARN: Plugin Network: unable to detect ipaddress
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Network: unable to detect macaddress for family 'inet'
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Network: [inet6] no default interface, picking the first ipaddress
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Network: unable to detect macaddress for family 'inet6'
[2018-03-20T15:51:51-06:00] DEBUG: Plugin NetworkAddresses took 0.010000000000000009 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Platform took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin OS took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin CPU: ran 'sysctl -a' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin CPU took 0.040000000000000036 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Memory: ran 'sysctl -n hw.memsize' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Memory: ran 'vm_stat' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Memory took 0.020000000000000018 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin DMI: ran 'dmidecode' and failed #<Errno::ENOENT: No such file or directory - dmidecode>
[2018-03-20T15:51:51-06:00] DEBUG: Plugin DMI: Could not shell_out "dmidecode". Skipping data
[2018-03-20T15:51:51-06:00] DEBUG: Plugin DMI took 0.0 seconds to run.
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Hostname: ran 'hostname -s' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Hostname: ran 'hostname' and returned 0
[2018-03-20T15:51:51-06:00] DEBUG: Plugin Hostname: ran 'hostname' and returned 0
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Hostname took 0.020000000000000018 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin InitPackage: No data to collect. Skipping...
[2018-03-20T15:51:52-06:00] DEBUG: Plugin InitPackage took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Did not find hint eucalyptus.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Eucalyptus: has_euca_mac? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Eucalyptus: looks_like_euca? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Eucalyptus took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Virtualbox: ran 'VBoxControl guestproperty enumerate' and failed #<Errno::ENOENT: No such file or directory - VBoxControl>
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Virtualbox: Could not execute "VBoxControl guestproperty enumerate". Skipping data
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Virtualbox took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Timezone took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Did not find hint rackspace.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Rackspace: ran 'xenstore-read vm-data/provider_data/provider' and failed #<Errno::ENOENT: No such file or directory - xenstore-read>
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Rackspace took 0.010000000000000009 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin PS took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Command took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Did not find hint digital_ocean.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:51:52-06:00] DEBUG: Plugin DigitalOcean: has_do_dmi? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin Digitalocean: No hints present for and doesn't look like digitalocean
[2018-03-20T15:51:52-06:00] DEBUG: Plugin DigitalOcean took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Did not find hint ec2.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: has_ec2_xen_uuid? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: has_ec2_amazon_dmi? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: has_ec2_xen_dmi? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: has_ec2_identifying_number? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2: looks_like_ec2? == false
[2018-03-20T15:51:52-06:00] DEBUG: Plugin EC2 took 0.0 seconds to run.
[2018-03-20T15:51:52-06:00] DEBUG: Plugin RootGroup took 0.0 seconds to run.

.[2018-03-20T15:56:32-06:00] DEBUG: Plugin Passwd took 0.13 seconds to run.
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: found VBoxManage at /usr/local/bin/VBoxManage
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: did not find prlctl
[2018-03-20T15:56:32-06:00] DEBUG: Plugin Virtualization: found ioreg at /usr/sbin/ioreg

.[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization: ran 'ioreg -l' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization took 0.76 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Joyent took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Virtualization: Can't load gem: cannot load such file -- libvirt. Cannot continue.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin VirtualizationInfo took 0.020000000000000018 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem: ran 'df -i' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem: ran 'mount' and returned 0
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Filesystem took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Machineid: No data to collect. Skipping...
[2018-03-20T15:56:33-06:00] DEBUG: Plugin ShardSeed threw #<NoMethodError: undefined method `[]' for nil:NilClass>
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:62:in `block (3 levels) in <main>'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:52:in `block in create_seed'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:41:in `each'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:41:in `create_seed'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/plugins/shard.rb:59:in `block (2 levels) in <main>'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/dsl/plugin/versionvii.rb:88:in `instance_eval'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/dsl/plugin/versionvii.rb:88:in `run_plugin'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/dsl/plugin.rb:102:in `run'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/dsl/plugin.rb:185:in `safe_run'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/runner.rb:90:in `run_v7_plugin'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/runner.rb:47:in `block in run_plugin'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/runner.rb:39:in `run_plugin'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/system.rb:105:in `block in run_plugins'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/system.rb:104:in `each'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/system.rb:104:in `run_plugins'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.8.0/lib/ohai/system.rb:82:in `all_plugins'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/client.rb:606:in `run_ohai'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell/shell_session.rb:155:in `rebuild_node'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell/shell_session.rb:55:in `block in reset!'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell/shell_session.rb:101:in `loading'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell/shell_session.rb:54:in `reset!'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell.rb:142:in `session'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell.rb:151:in `init'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/lib/chef/shell.rb:72:in `start'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.8.5/bin/chef-shell:36:in `<top (required)>'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/bin/chef-shell:250:in `load'
[2018-03-20T15:56:33-06:00] DEBUG: /opt/chefdk/bin/chef-shell:250:in `<main>'
[2018-03-20T15:56:33-06:00] DEBUG: Plugin ShardSeed took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Keys took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin SSHHostKey took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Packages: No data to collect. Skipping...
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Packages took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Plugin Shells took 0.0 seconds to run.
[2018-03-20T15:56:33-06:00] DEBUG: Did not find hint gce.json in the hint path(s): /etc/chef/ohai/hints
..[2018-03-20T15:56:34-06:00] DEBUG: Mixin HttpHelper: can_socket_connect? failed setting up socket connection: getaddrinfo: nodename nor servname provided, or not known
[2018-03-20T15:56:34-06:00] DEBUG: Plugin GCE: looks_like_gce? == false
[2018-03-20T15:56:34-06:00] DEBUG: Plugin GCE took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Did not find hint openstack.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Openstack: openstack hint not present
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Openstack: has_openstack_dmi? == false
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Openstack: Node does not appear to be an Openstack node
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Openstack took 0.010000000000000009 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin OhaiTime took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin VMware: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin VMware took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Did not find hint softlayer.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Softlayer: looks_like_softlayer? == false
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Softlayer took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin LSB took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Mdadm: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Mdadm took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin BlockDevice: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin BlockDevice took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin SystemdPaths: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin SystemdPaths took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Hostnamectl: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Hostnamectl took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Lspci: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Lspci took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Machineid took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Sessions: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Sessions took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Fips: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Fips took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Zpools: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Zpools took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Did not find hint azure.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Azure: No hints present and doesn't appear to be on Azure.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Azure took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Did not find hint linode.json in the hint path(s): /etc/chef/ohai/hints
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Linode: looks_like_linode? == false
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Linode took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Kernel took 0.0 seconds to run.
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Drivers: No data to collect. Skipping...
[2018-03-20T15:56:34-06:00] DEBUG: Plugin Drivers took 0.0 seconds to run.
..[2018-03-20T15:56:35-06:00] DEBUG: Plugin SystemProfile: ran 'system_profiler -xml -detailLevel mini SPParallelATAData SPAudioData SPBluetoothData SPCardReaderData SPDiagnosticsData SPDiscBurningData SPEthernetData SPFibreChannelData SPFireWireData SPDisplaysData SPHardwareRAIDData SPMemoryData SPModemData SPNetworkData SPPCIData SPParallelSCSIData SPPrintersSoftwareData SPPrintersData SPSASData SPSerialATAData SPSoftwareData SPThunderboltData SPUSBData SPWWANData SPAirPortData' and returned 0
.[2018-03-20T15:56:35-06:00] DEBUG: Plugin SystemProfile: ran 'system_profiler -xml -detailLevel full SPHardwareDataType' and returned 0
[2018-03-20T15:56:35-06:00] DEBUG: Plugin SystemProfile took 2.5300000000000002 seconds to run.
[2018-03-20T15:56:35-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPHardwareDataType -xml' and returned 0
[2018-03-20T15:56:35-06:00] DEBUG: Plugin Hardware: ran 'sw_vers' and returned 0
[2018-03-20T15:56:35-06:00] DEBUG: Plugin Hardware: ran 'uname -m' and returned 0
[2018-03-20T15:56:35-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPStorageDataType -xml' and returned 0
.[2018-03-20T15:56:36-06:00] DEBUG: Plugin Hardware: ran 'system_profiler SPPowerDataType -xml' and returned 0
[2018-03-20T15:56:36-06:00] DEBUG: Plugin Hardware took 0.2999999999999995 seconds to run.
[2018-03-20T15:56:36-06:00] DEBUG: Plugin Cloud took 0.0 seconds to run.
[2018-03-20T15:56:36-06:00] DEBUG: Plugin Sysconf: No data to collect. Skipping...
[2018-03-20T15:56:36-06:00] DEBUG: Plugin Sysconf took 0.0 seconds to run.
[2018-03-20T15:56:36-06:00] DEBUG: Building node object for sowen-mbp.example.com
[2018-03-20T15:56:36-06:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2018-03-20T15:56:36-06:00] DEBUG: Applying attributes from json file
[2018-03-20T15:56:36-06:00] DEBUG: Platform is mac_os_x version 10.13.3
[2018-03-20T15:56:36-06:00] INFO: Run List is []
[2018-03-20T15:56:36-06:00] INFO: Run List expands to []
[2018-03-20T15:56:36-06:00] DEBUG: Cookbooks to compile: []
done.

[2018-03-20T15:56:36-06:00] DEBUG: Applying attributes from json file
This is the chef-shell.
 Chef Version: 13.8.5
 https://www.chef.io/
 https://docs.chef.io/

run `help' for help, `exit' or ^D to quit.

Ohai2u sowen@sowen-mbp.example.com!
chef (13.8.5)>
tas50 commented 6 years ago

You should be able to disable that Passwd plugin in Chef 12 / 13. Mid cycle in 12 (since it was YEARS) the syntax for Ohai configs changed. Try this in your chef config:

ohai.disabled_plugins = [ :Passwd ]

The good news is that this plugin is disabled by default in Chef 14. It caused tons of issues in enterprise environments with AD/LDAP.

spuder commented 6 years ago

I'm a bit confused on how to disable it since there is no /etc/chef/client.rb on OSX. I have that line in ~/.chef/knife.rb, but it appears to not do anything. do I need to make /etc/chef/ directory and put a client.rb in there?

I've tried this with no luck.

sudo mkdir -p /etc/chef
sudo echo 'ohai.disabled_plugins = [ :Passwd ]' > /etc/chef/client.rb

https://github.com/chef/chef-rfc/blob/master/rfc053-ohai-config.md#configuration-files

spuder commented 6 years ago

Coderanger pointed out the problem, chef-shell doesn't read from any config file

https://github.com/chef/chef/blob/master/lib/chef/shell.rb#L346

If I put the following in ~/.chef/knife.rb

ohai.disabled_plugins = [
  :Passwd,
  :Virtualbox,
  :Virtualization,
  :ShardSeed
]

And then run chef-shell -c ~/.chef/knife.rb, then my mac no longer locks up.

tas50 commented 6 years ago

@spuder Any chance you can download a current build of chef 14 and tell me if this still happens without setting that config? https://downloads.chef.io/chef/current

spuder commented 6 years ago

I see what you mean now, I installed chefdk 2.5.3 and removed /etc/chef/client.rb. No more lock ups.

$ chef --version
Chef Development Kit Version: 2.5.3
chef-client version: 13.8.5
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.1
kitchen version: 1.20.0
inspec version: 1.51.21
 $ chef-shell
loading configuration: none (standalone session)
Session type: standalone
Loading........done.

This is the chef-shell.
 Chef Version: 13.8.5
 https://www.chef.io/
 https://docs.chef.io/

run `help' for help, `exit' or ^D to quit.

Ohai2u foobar@!
chef (13.8.5)> exit
spuder commented 6 years ago

The issue persists on the latest version of chefdk. My machine locks up for 5+ minutes when I enter chef-shell

Locks up after this line [2018-04-12T14:44:35-06:00] DEBUG: Plugin RootGroup took 0.0 seconds to run.

[2018-04-12T14:44:35-06:00] DEBUG: Plugin DigitalOcean took 0.0 seconds to run.
[2018-04-12T14:44:35-06:00] DEBUG: Did not find hint ec2.json in the hint path(s): /etc/chef/ohai/hints
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2: has_ec2_xen_uuid? == false
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2: has_ec2_amazon_dmi? == false
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2: has_ec2_xen_dmi? == false
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2: has_ec2_identifying_number? == false
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2: looks_like_ec2? == false
[2018-04-12T14:44:35-06:00] DEBUG: Plugin EC2 took 0.0 seconds to run.
[2018-04-12T14:44:35-06:00] DEBUG: Plugin RootGroup took 0.0 seconds to run.
#<<<<<<<<<<<------------- Locks up here -------------------------------->>>>>>#
.[2018-04-12T14:49:11-06:00] DEBUG: Plugin Passwd took 0.09999999999999976 seconds to run.
[2018-04-12T14:49:12-06:00] DEBUG: Plugin Virtualization: found VBoxManage at /usr/local/bin/VBoxManage
[2018-04-12T14:49:12-06:00] DEBUG: Plugin Virtualization: did not find prlctl
[2018-04-12T14:49:12-06:00] DEBUG: Plugin Virtualization: found ioreg at /usr/sbin/ioreg
.[2018-04-12T14:49:13-06:00] DEBUG: Plugin Virtualization: ran 'ioreg -l' and returned 0
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Virtualization took 1.02 seconds to run.
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Joyent took 0.0 seconds to run.
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Virtualization: Can't load gem: cannot load such file -- libvirt. Cannot continue.
[2018-04-12T14:49:13-06:00] DEBUG: Plugin VirtualizationInfo took 0.010000000000000009 seconds to run.
.[2018-04-12T14:49:13-06:00] DEBUG: Plugin Filesystem: ran 'df -i' and returned 0
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Filesystem: ran 'mount' and returned 0
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Filesystem took 0.010000000000000009 seconds to run.
[2018-04-12T14:49:13-06:00] DEBUG: Plugin Machineid: No data to collect. Skipping...

The logs suggest that Passwd plugin is the culprit, but if I disable it, the problem persists.

spuder commented 6 years ago

I've tried with the latest chefDK 2.5.3

chef --version
Chef Development Kit Version: 2.5.3
chef-client version: 13.8.5
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.1
kitchen version: 1.20.0
inspec version: 1.51.21

I installed chef-client 14.0.202, but chef --version still reports 13.8.5 as being installed

I'm still getting lockups with the latest chefdk regardless if I have ohai plugins enabled or disabled

chef-shell -c /dev/null
chef-shell -c /etc/chef/client.rb

client.rb

Ohai::Config[:disabled_plugins] = [
  :Passwd,
  :Virtualbox,
  :Virtualization,
  :ShardSeed
]

I will FedEx you my laptop or do a screenshare or whatever it takes to identify the source of the problem. The work arounds I had in chef 12 are no longer working. What other information can I provide that would be helpful?

MarkGibbons commented 6 years ago

You might try this syntax in your client.rb file. It's a little different than what you have listed above.

ohai.disabled_plugins = [:Passwd]

I run either chefdk 2.4.17 or 2.5.* depending.

with settings in/etc/chef/client.rb chef-shell -z runs ohai runs chef-client runs

spuder commented 6 years ago

@MarkGibbons I've also used ohai.disabled_plugins = [ :Passwd ] with no change in behavior. In chef 14, this 'workaround' shouldn't even be required since the Passwd plugin was rewritten for OSX users who are joined to active directory.

tas50 commented 6 years ago

We've seen some strange behavior like this that was cleaned up changing how we handle sysctl shellout in later versions of Ohai. Any chance you could try this on the latest Ohai.

spuder commented 6 years ago

Unfortunately I switched jobs to a company that isn’t using chef so I can’t reproduce.

tas50 commented 5 years ago

I'm going to close this out at this point since we can't get a repro and we've solved some of the underlying issues that were probably causing this

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.