- From: David Montgomery <
>
- To:
- Subject: [chef] Knife error uninitialized constant Chef::Knife::Ssh (NameError)
- Date: Sun, 1 Jul 2012 00:04:05 +0800
Hi
For any knife command I am using, I am getting the below error. If I
repeat the command 3-4 times it will then work. I noticed after I ran
gem update fog
So, knife is now useless in a production env. How do I resolve?
Again, this is for any knife command, not specific to the command I
used below.
knife cloudstack server create 'role[nginx_server]' .........
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife/bootstrap.rb:33:
uninitialized constant Chef::Knife::Ssh (NameError)
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife.rb:204:in `call'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife.rb:204:in
`load_deps'
from
/usr/lib/ruby/gems/1.8/gems/knife-cloudstack-fog-0.2.10/lib/chef/knife/cloudstack_server_create.rb:19
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife/core/subcommand_loader.rb:37:in
`load'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife/core/subcommand_loader.rb:37:in
`load_commands'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife/core/subcommand_loader.rb:37:in
`each'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife/core/subcommand_loader.rb:37:in
`load_commands'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife.rb:114:in
`load_commands'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/knife.rb:162:in `run'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.10.10/lib/chef/application/knife.rb:123:in
`run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19
- [chef] Knife error uninitialized constant Chef::Knife::Ssh (NameError), David Montgomery, 06/30/2012
Archive powered by MHonArc 2.6.16.