Ohai error when running knife configure

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef
server, which is an admin. I grabbed that pem file and the validator
pem. When I run “knife configure -i” on the client, I get this:

ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugin for
dependency os

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete

I had the same thing...
See if this doesn't help you:

Its a bug. If you make the changes mentioned here:

...that should fix you.

Seth

On Fri, Apr 18, 2014 at 7:39 PM, Peter Loron peterl@standingwave.orgwrote:

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef server,
which is an admin. I grabbed that pem file and the validator pem. When I
run "knife configure -i" on the client, I get this:

ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugin for
dependency os

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete

That was it! Thanks!

-Pete

On 2014-04-18 16:45, Seth Floyd wrote:

I had the same thing...See if this doesn't help
you: chef infra - knife configure -i fails - Stack Overflow
[1]

Its a bug. If you make the changes mentioned
here: [CHEF-5211] Adding load_plugins call to ensure ohai plugins are loaded by micgo · Pull Request #1374 · chef/chef · GitHub [2]
...that should fix you.

Seth

On Fri, Apr 18, 2014 at 7:39 PM, Peter Loron peterl@standingwave.org
wrote:

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef
server, which is an admin. I grabbed that pem file and the validator
pem. When I run "knife configure -i" on the client, I get this:

ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugin
for dependency os

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete

Links:

[1]
chef infra - knife configure -i fails - Stack Overflow
[2] [CHEF-5211] Adding load_plugins call to ensure ohai plugins are loaded by micgo · Pull Request #1374 · chef/chef · GitHub