So I’ve plugged in my api key into knife.rb, and I have all of the
proper gems installed TMK, but i get the following error when running
a list on my cloud instances:
knife rackspace server list
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/rackspace_server_list.rb:38:in run': uninitialized constant Fog::Rackspace::Servers (NameError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:inrun’
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:inload’
from /usr/bin/knife:19
am i missing something?
Server meta data:
Linux chef-master 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
So I've plugged in my api key into knife.rb, and I have all of the
proper gems installed TMK, but i get the following error when running
a list on my cloud instances:
knife rackspace server list
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/rackspace_server_list.rb:38:in run': uninitialized constant Fog::Rackspace::Servers (NameError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:in load'
from /usr/bin/knife:19
am i missing something?
Server meta data:
Linux chef-master 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
So I've plugged in my api key into knife.rb, and I have all of the
proper gems installed TMK, but i get the following error when running
a list on my cloud instances:
run': uninitialized constant Fog::Rackspace::Servers (NameError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in run'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:in load'
from /usr/bin/knife:19
am i missing something?
Server meta data:
Linux chef-master 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
So I've plugged in my api key into knife.rb, and I have all of the
proper gems installed TMK, but i get the following error when running
a list on my cloud instances:
knife rackspace server list
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/rackspace_server_list.rb:38:in run': uninitialized constant Fog::Rackspace::Servers (NameError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in run'
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:in load'
from /usr/bin/knife:19
am i missing something?
Server meta data:
Linux chef-master 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
On Wednesday, March 2, 2011 at 3:28 PM, msacks wrote:
Yes, I have all of them:
*** LOCAL GEMS ***
abstract (1.0.0)
fog (0.6.0)
Might be the new version of Fog. I think upgraded our fog usage in the 0.9.14 RC, can you try installing it with gem install chef --pre and see if that fixes your issue?
On Wed, Mar 2, 2011 at 3:40 PM, Daniel DeLeo dan@kallistec.com wrote:
Might be the new version of Fog. I think upgraded our fog usage in the
0.9.14 RC, can you try installing it with gem install chef --pre and see
if that fixes your issue?
Fog v0.5.3 was the last version that supported
Fog::Rackspace::Servers. As Dan notes 0.9.14 will have CHEF-1727 [1]
which switches to use Fog::Rackspace::Compute which is compatible with
Fog 0.6.0, so you can use the current prerelease 0.9.14.rc.1 via 'gem
install chef --pre' or you could downgrade to Fog 0.5.3.