Details
Description
% knife status
/Users/jtimberman/Development/chef/chef/lib/chef/knife/status.rb:45:in `sort': comparison of Chef::Node with Chef::Node failed (ArgumentError)
from /Users/jtimberman/Development/chef/chef/lib/chef/knife/status.rb:45:in `run'
from /Users/jtimberman/Development/chef/chef/lib/chef/knife.rb:127:in `run'
from /Users/jtimberman/Development/chef/chef/lib/chef/application/knife.rb:121:in `run'
from bin/knife:25:in `<main>'
One of the nodes in the search results had an ohai_time of null, which caused the comparison operator in knife status to fail.
Work around is to specify the search (works in 0.9.10+) of ohai_time:
% knife status "ohai_time:*"
This is fixed in https://github.com/tfheen/chef/tree/CHEF-1832