[chef] Re: Re: problem with knife rackspace ....


Chronological Thread 
  • From: Tom Thomas < >
  • To:
  • Subject: [chef] Re: Re: problem with knife rackspace ....
  • Date: Wed, 2 Mar 2011 13:11:11 -0800

see http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+with+Knife for detail on the gems required on the local management workstation where you use knife.

sudo gem install net-ssh net-ssh-multi fog highline

On Wed, Mar 2, 2011 at 1:08 PM, Avishai Ish-Shalom < " target="_blank"> > wrote:
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.

§