Do you have the Fog gem installed?
Regards,
Avishai
On 03/02/2011 11:01 PM, msacks wrote:
> 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
>
> chef-common-0.9.8-2.el5
> chef-server-api-0.9.8-3.el5
> rubygem-chef-server-webui-0.9.8-2.el5
> chef-0.9.8-2.el5
> rubygem-chef-0.9.8-2.el5
> rubygem-chef-solr-0.9.8-1.el5
> chef-solr-0.9.8-1.el5
> rubygem-chef-server-api-0.9.8-3.el5
> chef-server-webui-0.9.8-2.el5
>
>
> CentOS release 5.5 (Final)
Tom Thomas | Opscode, Inc.
" target="_blank">
| (c) 206.234.1193 | www.opscode.com
Archive powered by MHonArc 2.6.16.