[chef] Problem installing latest chef-server


Chronological Thread 
  • From: Yann KLIS <yann.klis@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: [chef] Problem installing latest chef-server
  • Date: Fri, 26 Jun 2009 16:39:40 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KLurQHDasUzljTTOBlAwtd4TDtFkM+Zr81JBB5jtqiffrL84cja+9mT+HkuQ6GZdJi pgph+J5l1VtTwLeN7sY/s8KsvyE5tNL7eV6QoMwhvwHE3KNVfgYKokgzDep/WIsl6tXT RHooHytY64ew9Xzjkk01dU0ezgKzIsVeTMJTo=

Hi all,

I'm following this documentation to install chef-server : http://wiki.opscode.com/display/chef/Installation

But I'm encountering some strange errors.

When I'm at the step "sudo chef-solo -c ~/solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz", I get the following error :

rails@ubuntu1:~$ sudo chef-solo -c ~/solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-0.7.0.tar.gz
[Fri, 26 Jun 2009 15:14:51 +0200] INFO: Starting Chef Solo Run
[Fri, 26 Jun 2009 15:14:52 +0200] ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 32) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:in `action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `send'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in `run_solo'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in `run_application'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26/usr/bin/chef-solo:19:in `load'/usr/bin/chef-solo:19
/usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:in `action_install': No version specified, and no candidate version available! (Chef::Exceptions::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `send'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in `run_solo'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26
from /usr/bin/chef-solo:19:in `load'
from /usr/bin/chef-solo:19

So, it seems that there's a problem with the installation of runit. I installed it with "apt-get install runit". But I keep getting the same error.

I use Ubuntu 8.04 and Ubuntu 9.04, and I've also tried with http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz without success...

What am I doing wrong ?

Thanks in advance,

++

yk


  • [chef] Problem installing latest chef-server, Yann KLIS, 06/26/2009

Archive powered by MHonArc 2.6.16.

§