knife-ssh is not working on all nodes. If I use knife-search, results are as expected:
$ knife search ‘chef_environment:production’ -i
4 items found
But with knife-ssh I’m not so lucky.
$ knife ssh ‘chef_environment:production’ 'uptime’
10.0.1.160 17:53:30 up 2 days, 23:29, 3 users, load average: 0.48, 0.47, 0.52
What could be the problem, and how do I fix it? This is an OSS Chef Server, server and all clients are all on latest Chef versions.