Problem installing


#1

Hello,

I followed the instructions in the wiki in order to install chef server (I
tested 7.04, 8.04 and 8.10 with the same result):

sudo chef-solo -r http://bit.ly/WdfK

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!

I install the runit ubuntu package with the same result (the gem’s part was
ok)

Help apreciated.

Thanks in advance!
José Luis


#2

On Wed, Mar 11, 2009 at 11:43 AM, José Luis Gordo Romero
jgordor@gmail.com wrote:

Hello,

I followed the instructions in the wiki in order to install chef server (I
tested 7.04, 8.04 and 8.10 with the same result):

sudo chef-solo -r http://bit.ly/WdfK

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!

Do you have universe enabled?
Check /etc/apt/sources.list and uncomment the lines with universe in
them, and then
run apt-get update.
I’ll make sure that the wiki is updated to make this clear.
-Thom


#3

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/
default.rb line 27) had an error:
No version specified, and no candidate version available!

I install the runit ubuntu package with the same result (the gem’s
part was ok)

You probably need to run ‘apt-get update’ first.

Joshua Sierles
37signals


#4

Hi again,

Thanks for the suport!, I have the universe and apt-get updated and the same
error happen.

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:in
action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:in
each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:inrun_solo’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:19:in
load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:inaction_install’: No version specified, and no candidate version available!
(Chef::Exception::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in
send' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:inconverge’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:ineach’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:in
converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:in
run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’

My sources.list if it helps:

deb http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main
restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

Uncomment the following two lines to add software from the ‘backports’

repository.

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted
universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main
restricted universe multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository. This software is not part of Ubuntu, but is

offered by Canonical and the respective vendors as a service to Ubuntu

users.

#deb http://archive.canonical.com/ubuntu intrepid partner
#deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

Thanks again

2009/3/11 Joshua Sierles joshua@37signals.com

INFO: Starting Chef Solo Run

ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!

I install the runit ubuntu package with the same result (the gem’s part
was ok)

You probably need to run ‘apt-get update’ first.

Joshua Sierles
37signals


#5

Can you possibly paste up -l debug output; thanks.

Regards,

AJ

On 12/03/2009, at 7:47 AM, José Luis Gordo Romero wrote:

Hi again,

Thanks for the suport!, I have the universe and apt-get updated and
the same error happen.

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/
default.rb line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:
44:in action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/ chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/
lib/chef/runner.rb:87:in converge'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.6/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.6/lib/chef/runner.rb:85:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
resource_collection.rb:57:in each'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.6/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.6/lib/chef/client.rb:343:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:inrun_solo’/usr/lib/
ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:
19:in load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb: 44:inaction_install’: No version specified, and no candidate
version available! (Chef::Exception::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:87:in send' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ runner.rb:87:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:85:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ runner.rb:85:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
resource_collection.rb:58:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ resource_collection.rb:57:ineach’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:63:in converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ client.rb:343:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
client.rb:96:in run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’

My sources.list if it helps:

deb http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main
restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main
restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the

Ubuntu

team. Also, please note that software in universe WILL NOT

receive any

review or updates from the Ubuntu security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the

Ubuntu

team, and may not be under a free licence. Please satisfy

yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates
multiverse

Uncomment the following two lines to add software from the

‘backports’

repository.

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it

includes

newer versions of some applications which may provide useful

features.

Also, please note that software in backports WILL NOT receive any

review

or updates from the Ubuntu security team.

deb http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main
restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main
restricted universe multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository. This software is not part of Ubuntu, but is

offered by Canonical and the respective vendors as a service to

Ubuntu

users.

#deb http://archive.canonical.com/ubuntu intrepid partner
#deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main
restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main
restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

Thanks again

2009/3/11 Joshua Sierles joshua@37signals.com
INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/
default.rb line 27) had an error:
No version specified, and no candidate version available!

I install the runit ubuntu package with the same result (the gem’s
part was ok)

You probably need to run ‘apt-get update’ first.

Joshua Sierles
37signals


#6

On Wed, Mar 11, 2009 at 11:47 AM, José Luis Gordo Romero
jgordor@gmail.com wrote:

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!

apt-cache showpkg runit # ?


#7

Hi,

Debug:
INFO: Starting Chef Solo Run
DEBUG: Loading plugin os
DEBUG: Loading plugin ruby
DEBUG: Loading plugin languages
DEBUG: Loading plugin kernel
DEBUG: ---- Begin uname -s STDOUT ----
DEBUG: Linux
DEBUG: ---- End uname -s STDOUT ----
DEBUG: Ran (uname -s) returned 0
DEBUG: ---- Begin uname -r STDOUT ----
DEBUG: 2.6.27-7-server
DEBUG: ---- End uname -r STDOUT ----
DEBUG: Ran (uname -r) returned 0
DEBUG: ---- Begin uname -v STDOUT ----
DEBUG: #1 SMP Tue Nov 4 20:18:35 UTC 2008
DEBUG: ---- End uname -v STDOUT ----
DEBUG: Ran (uname -v) returned 0
DEBUG: ---- Begin uname -m STDOUT ----
DEBUG: i686
DEBUG: ---- End uname -m STDOUT ----
DEBUG: Ran (uname -m) returned 0
DEBUG: Loading plugin keys
DEBUG: Loading plugin platform
DEBUG: Loading plugin linux::platform
DEBUG: Loading plugin linux::lsb
DEBUG: Loading plugin network
DEBUG: Loading plugin hostname
DEBUG: Loading plugin linux::hostname
DEBUG: ---- Begin hostname STDOUT ----
DEBUG: ubuntusrv
DEBUG: ---- End hostname STDOUT ----
DEBUG: Ran (hostname) returned 0
DEBUG: ---- Begin hostname --fqdn STDOUT ----
DEBUG: ubuntusrv.freemindsystems.com
DEBUG: ---- End hostname --fqdn STDOUT ----
DEBUG: Ran (hostname --fqdn) returned 0
DEBUG: Loading plugin linux::network
DEBUG: Loading plugin command
DEBUG: Loading plugin uptime
DEBUG: Loading plugin erlang
DEBUG: Loading plugin virtualization
DEBUG: Loading plugin linux::virtualization
DEBUG: Loading plugin ohai_time
DEBUG: Loading plugin python
DEBUG: Loading plugin java
DEBUG: Loading plugin ec2
DEBUG: Loading plugin linux::memory
DEBUG: Loading plugin linux::cpu
DEBUG: Loading plugin linux::uptime
DEBUG: Loading plugin linux::ps
DEBUG: Loading plugin linux::block_device
DEBUG: Loading plugin linux::filesystem
DEBUG: Loading plugin linux::ssh_host_key
DEBUG: Loading plugin linux::kernel
DEBUG: ---- Begin uname -o STDOUT ----
DEBUG: GNU/Linux
DEBUG: ---- End uname -o STDOUT ----
DEBUG: Ran (uname -o) returned 0
DEBUG: Building node object for ubuntusrv_freemindsystems_com
DEBUG: Ohai Attribute: keys -
{“ssh”=>{“host_dsa_public”=>“AAAAB3NzaC1kc3MAAACBAJVNH1rA6xhijXf/JFKr+m1VeEpFk5k0xvz+NM3Mv9sgzOWgmgZMoifdZ5AfNrhnIVhlKVJA9dchyYgeC3IOMBaFmBN8t1Od7uk8BkbvBjDz2czaPEh62MMVE26odN183u4zwmEr4BH/gfCsT2u+RBDq0/zNzi2da8sg7lIxniv7AAAAFQD8MhcGT7e0cIYkEL4beZ8jHaN9wQAAAIAW5HwwXEARpyWZ+fozGmaf8zd5ZlGN5O/gTApqe9mjTIIoYDqLAKxNiAbfx2mP2vDp9fdu48sRQdt76QXL3tuDV9vZ/yQmWAKSM+wgIo1MpDZ3oaXcJUdhZqeqgI+8/z2D55Fg2gSxgcL0VRIFtPQCtwfdAJ7p+OYgprOaXBGu5gAAAIBg4JBFoxy2Cs7mnK9CQmnbu8NIn1SisF3qe6bn8In/URLl0GHLRhO/pTflegHx7SkZsSI2ryRVlwBoa6ETAC82D75+ds40KrI5InDesvjy8W6SUFd1snVlkHkGimXIkoGPAPDauqqEKVGGM4Ux1cVuH4iqGWE8rSkoEhmj4Witdw==”,
“host_rsa_public”=>“AAAAB3NzaC1yc2EAAAABIwAAAQEAoon6vP/Wmuk3KFxRefg7HVBYE9cVv7frFAbWqRq4cCaRNHot1LTNWdFFxFlF5iEJdCnG7SDVT9YblrFdf13pZ3yZL38vCflC2qPDPsq/XsOtbW3HaJj9h1X3phg8m2plJpkgB7KFh7+o6Jr6iiasJmIcRNIysalSoEnlHZeajKtM/zRF8Ub2fNVXbDc86/7DM3IwMDNqTG3XAEDg9KioONPjPz2HWbc6lORYJ7YkqCD3idjW2iwxIVL3PsDSskEGz0Xsl2VsBvnbdFeAcP7SghH9YkCwPdd3FXPz/1ikYSJlFbxAtiggzGq/CbnLk+Ai55A6jdlfJNecgdjnyJytuw==”}}
DEBUG: Ohai Attribute: kernel - {“modules”=>{“scsi_mod”=>{“size”=>“155212”,
“refcount”=>“7”}, “button”=>{“size”=>“14224”, “refcount”=>“0”},
“jbd”=>{“size”=>“55444”, “refcount”=>“1”}, “pcspkr”=>{“size”=>“10624”,
“refcount”=>“0”}, “snd_seq_device”=>{“size”=>“15116”, “refcount”=>“1”},
“mii”=>{“size”=>“13440”, “refcount”=>“1”}, “sd_mod”=>{“size”=>“42264”,
“refcount”=>“3”}, “ac”=>{“size”=>“12292”, “refcount”=>“0”},
“usbcore”=>{“size”=>“149360”, “refcount”=>“3”},
“crc_t10dif”=>{“size”=>“9984”, “refcount”=>“1”},
“intel_agp”=>{“size”=>“34116”, “refcount”=>“1”},
“ac97_bus”=>{“size”=>“9856”, “refcount”=>“1”},
“container”=>{“size”=>“11520”, “refcount”=>“0”},
“x_tables”=>{“size”=>“22916”, “refcount”=>“1”},
“softcursor”=>{“size”=>“9984”, “refcount”=>“1”},
“mptbase”=>{“size”=>“86628”, “refcount”=>“2”}, “sr_mod”=>{“size”=>“22212”,
“refcount”=>“0”}, “snd_ac97_codec”=>{“size”=>“110372”, “refcount”=>“1”},
“lp”=>{“size”=>“17156”, “refcount”=>“0”}, “fuse”=>{“size”=>“60700”,
“refcount”=>“1”}, “thermal”=>{“size”=>“23708”, “refcount”=>“0”},
“uhci_hcd”=>{“size”=>“30864”, “refcount”=>“0”},
“i2c_piix4”=>{“size”=>“16144”, “refcount”=>“0”}, “shpchp”=>{“size”=>“38036”,
“refcount”=>“0”}, “soundcore”=>{“size”=>“15328”, “refcount”=>“1”},
“parport_pc”=>{“size”=>“39460”, “refcount”=>“1”},
“bitblit”=>{“size”=>“13824”, “refcount”=>“1”}, “font”=>{“size”=>“16512”,
“refcount”=>“1”}, “fbcon”=>{“size”=>“47392”, “refcount”=>“0”},
“cdrom”=>{“size”=>“43040”, “refcount”=>“1”}, “mbcache”=>{“size”=>“16004”,
“refcount”=>“1”}, “i2c_core”=>{“size”=>“31892”, “refcount”=>“1”},
“psmouse”=>{“size”=>“45200”, “refcount”=>“0”},
“serio_raw”=>{“size”=>“13444”, “refcount”=>“0”},
“snd_pcm”=>{“size”=>“83332”, “refcount”=>“2”}, “evdev”=>{“size”=>“17696”,
“refcount”=>“0”}, “parport”=>{“size”=>“42604”, “refcount”=>“2”},
“tileblit”=>{“size”=>“10752”, “refcount”=>“1”}, “mptspi”=>{“size”=>“25224”,
“refcount”=>“2”}, “ata_piix”=>{“size”=>“24708”, “refcount”=>“0”},
“ip_tables”=>{“size”=>“19600”, “refcount”=>“1”},
“iptable_filter”=>{“size”=>“10752”, “refcount”=>“0”},
“fan”=>{“size”=>“12420”, “refcount”=>“0”}, “pata_acpi”=>{“size”=>“12160”,
“refcount”=>“0”}, “ata_generic”=>{“size”=>“12804”, “refcount”=>“0”},
“agpgart”=>{“size”=>“42184”, “refcount”=>“1”},
“snd_timer”=>{“size”=>“29832”, “refcount”=>“1”}, “loop”=>{“size”=>“23180”,
“refcount”=>“0”}, “processor”=>{“size”=>“42284”, “refcount”=>“1”},
“libata”=>{“size”=>“176032”, “refcount”=>“3”},
“scsi_transport_spi”=>{“size”=>“30336”, “refcount”=>“1”},
“pcnet32”=>{“size”=>“40196”, “refcount”=>“0”}, “sg”=>{“size”=>“39220”,
“refcount”=>“0”}, “ext3”=>{“size”=>“133000”, “refcount”=>“1”},
“pci_hotplug”=>{“size”=>“35236”, “refcount”=>“1”},
“snd_page_alloc”=>{“size”=>“16264”, “refcount”=>“1”},
“snd”=>{“size”=>“63268”, “refcount”=>“6”}, “snd_ens1371”=>{“size”=>“30880”,
“refcount”=>“0”}, “ipv6”=>{“size”=>“263460”, “refcount”=>“10”},
“dock”=>{“size”=>“16656”, “refcount”=>“1”}, “ehci_hcd”=>{“size”=>“43916”,
“refcount”=>“0”}, “mptscsih”=>{“size”=>“44032”, “refcount”=>“1”},
“snd_rawmidi”=>{“size”=>“29696”, “refcount”=>“1”},
“gameport”=>{“size”=>“19468”, “refcount”=>“1”}}, “machine”=>“i686”,
“name”=>“Linux”, “os”=>“GNU/Linux”, “version”=>"#1 SMP Tue Nov 4 20:18:35
UTC 2008", “release”=>“2.6.27-7-server”}
DEBUG: Ohai Attribute: fqdn - “ubuntusrv.freemindsystems.com"
DEBUG: Ohai Attribute: platform_version - “8.10"
DEBUG: Ohai Attribute: filesystem - {”/dev/sda1”=>{“kb_size”=>“7850996”,
“kb_available”=>“6516500”, “mount”=>"/", “percent_used”=>“13%”,
“kb_used”=>“935684”}, “udev”=>{“kb_size”=>“257060”,
“kb_available”=>“254376”, “mount_options”=>[“rw”, “mode=0755”],
“fs_type”=>“tmpfs”, “mount”=>"/dev", “percent_used”=>“2%”,
“kb_used”=>“2684”}, “devpts”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”,
“gid=5”, “mode=620”], “fs_type”=>“devpts”, “mount”=>"/dev/pts"},
"/proc"=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“proc”, “mount”=>"/proc"},
“securityfs”=>{“mount_options”=>[“rw”], “fs_type”=>“securityfs”,
“mount”=>"/sys/kernel/security"}, “fusectl”=>{“mount_options”=>[“rw”],
“fs_type”=>“fusectl”, “mount”=>"/sys/fs/fuse/connections"},
“sysfs”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“sysfs”, “mount”=>"/sys"}, “varlock”=>{“kb_size”=>“257060”,
“kb_available”=>“257060”, “mount_options”=>[“rw”, “noexec”, “nosuid”,
“nodev”, “mode=1777”], “fs_type”=>“tmpfs”, “mount”=>"/var/lock",
“percent_used”=>“0%”, “kb_used”=>“0”}, “varrun”=>{“kb_size”=>“257060”,
“kb_available”=>“257004”, “mount_options”=>[“rw”, “nosuid”, “mode=0755”],
“fs_type”=>“tmpfs”, “mount”=>"/var/run", “percent_used”=>“1%”,
“kb_used”=>“56”}, “tmpfs”=>{“kb_size”=>“257060”, “kb_available”=>“257060”,
“mount_options”=>[“rw”, “nosuid”, “nodev”], “fs_type”=>“tmpfs”,
“mount”=>"/dev/shm", “percent_used”=>“0%”, “kb_used”=>“0”}}
DEBUG: Ohai Attribute: command - {“ps”=>“ps -ef”}
DEBUG: Ohai Attribute: ipaddress - "192.168.2.33"
DEBUG: Ohai Attribute: idletime_seconds - 17816
DEBUG: Ohai Attribute: memory - {“dirty”=>“0kB”, “vmalloc_used”=>“3324kB”,
“page_tables”=>“600kB”, “buffers”=>“34948kB”, “slab_unreclaim”=>“8728kB”,
“high_free”=>“0kB”, “vmalloc_chunk”=>“504104kB”, “nfs_unstable”=>“0kB”,
“slab”=>“35228kB”, “inactive”=>“201468kB”, “total”=>“514120kB”,
“vmalloc_total”=>“507896kB”, “low_free”=>“107648kB”,
“low_total”=>“514120kB”, “free”=>“107648kB”, “commit_limit”=>“666676kB”,
“anon_pages”=>“19840kB”, “writeback”=>“0kB”, “cached”=>“306152kB”,
“swap”=>{“total”=>“409616kB”, “free”=>“409616kB”, “cached”=>“0kB”},
“high_total”=>“0kB”, “committed_as”=>“30880kB”, “bounce”=>“0kB”,
“slab_reclaimable”=>“26500kB”, “mapped”=>“6916kB”, “active”=>“159436kB”}
DEBUG: Ohai Attribute: domain - “freemindsystems.com"
DEBUG: Ohai Attribute: os - “linux"
DEBUG: Ohai Attribute: idletime - “4 hours 56 minutes 56 seconds"
DEBUG: Ohai Attribute: virtualization - {“role”=>“guest”,
“emulator”=>“vmware”}
DEBUG: Ohai Attribute: network - {“interfaces”=>{“lo”=>{“flags”=>[“UP”,
“LOOPBACK”, “RUNNING”], “addresses”=>{”::1”=>{“scope”=>“Node”,
“prefixlen”=>“128”, “family”=>“inet6”},
“127.0.0.1”=>{“netmask”=>“255.0.0.0”, “family”=>“inet”}},
“counters”=>{“tx”=>{“bytes”=>“0”, “packets”=>“0”, “collisions”=>“0”,
“queuelen”=>“0”, “errors”=>“0”, “carrier”=>“0”, “overrun”=>“0”,
“drop”=>“0”}, “rx”=>{“bytes”=>“0”, “packets”=>“0”, “errors”=>“0”,
“overrun”=>“0”, “drop”=>“0”, “frame”=>“0”}}, “mtu”=>“16436”,
“encapsulation”=>“Loopback”}, “eth0”=>{“flags”=>[“UP”, “BROADCAST”,
“RUNNING”, “MULTICAST”], “number”=>“0”,
“addresses”=>{“fe80::20c:29ff:fef6:140b”=>{“scope”=>“Link”,
“prefixlen”=>“64”, “family”=>“inet6”},
“192.168.2.33”=>{“netmask”=>“255.255.255.0”, “broadcast”=>“192.168.2.255”,
“family”=>“inet”}, “00:0c:29:f6:14:0b”=>{“family”=>“lladdr”}},
“counters”=>{“tx”=>{“bytes”=>“1477251”, “packets”=>“16397”,
“collisions”=>“0”, “queuelen”=>“1000”, “errors”=>“0”, “carrier”=>“0”,
“overrun”=>“0”, “drop”=>“0”}, “rx”=>{“bytes”=>“22736883”,
“packets”=>“20910”, “errors”=>“0”, “overrun”=>“0”, “drop”=>“0”,
“frame”=>“0”}}, “mtu”=>“1500”, “type”=>“eth”,
“arp”=>{“192.168.2.1”=>“00:17:3f:3b:6d:9e”,
“192.168.2.237”=>“00:16:d3:50:7c:02”}, “encapsulation”=>“Ethernet”}}}
DEBUG: Ohai Attribute: lsb - {“codename”=>“intrepid”, “id”=>“Ubuntu”,
“description”=>”“Ubuntu 8.10"”, “release”=>“8.10”}
DEBUG: Ohai Attribute: ohai_time - 1236803519.83355
DEBUG: Ohai Attribute: os_version - "2.6.27-7-server"
DEBUG: Ohai Attribute: languages - {“python”=>{“version”=>“2.5.2”,
“builddate”=>“Oct 5 2008, 19:24:49”}, “ruby”=>{“target_os”=>“linux”,
“host_vendor”=>“pc”, “target_vendor”=>“pc”, “target_cpu”=>“i486”,
“version”=>“1.8.7”, “host_os”=>“linux-gnu”, “host_cpu”=>“i486”,
“host”=>“i486-pc-linux-gnu”, “target”=>“i486-pc-linux-gnu”,
“release_date”=>“2008-08-11”, “platform”=>“i486-linux”}}
DEBUG: Ohai Attribute: uptime - "5 hours 07 minutes 47 seconds"
DEBUG: Ohai Attribute: cpu - {“real”=>0, “total”=>1, “0”=>{“flags”=>[“fpu”,
“vme”, “de”, “pse”, “tsc”, “msr”, “pae”, “mce”, “cx8”, “apic”, “sep”,
“mtrr”, “pge”, “mca”, “cmov”, “pat”, “pse36”, “clflush”, “mmx”, “fxsr”,
“sse”, “sse2”, “syscall”, “nx”, “mmxext”, “fxsr_opt”, “lm”, “3dnowext”,
“3dnow”, “up”, “pni”, “lahf_lm”], “model”=>“47”, “model_name”=>“AMD
Athlon™ 64 Processor 3000+”, “family”=>“15”, “mhz”=>“1743.752”,
“vendor_id”=>“AuthenticAMD”, “cache_size”=>“512 KB”, “stepping”=>“0”}}
DEBUG: Ohai Attribute: hostname - "ubuntusrv"
DEBUG: Ohai Attribute: macaddress - "00:0c:29:f6:14:0b"
DEBUG: Ohai Attribute: block_device - {“ram13”=>{“size”=>“131072”,
“removable”=>“0”}, “ram0”=>{“size”=>“131072”, “removable”=>“0”},
“loop0”=>{“size”=>“0”, “removable”=>“0”}, “ram14”=>{“size”=>“131072”,
“removable”=>“0”}, “ram1”=>{“size”=>“131072”, “removable”=>“0”},
“loop1”=>{“size”=>“0”, “removable”=>“0”}, “ram15”=>{“size”=>“131072”,
“removable”=>“0”}, “ram2”=>{“size”=>“131072”, “removable”=>“0”},
“loop2”=>{“size”=>“0”, “removable”=>“0”}, “ram3”=>{“size”=>“131072”,
“removable”=>“0”}, “loop3”=>{“size”=>“0”, “removable”=>“0”},
“ram4”=>{“size”=>“131072”, “removable”=>“0”}, “loop4”=>{“size”=>“0”,
“removable”=>“0”}, “sda”=>{“model”=>“VMware Virtual S”, “size”=>“16777216”,
“timeout”=>“30”, “rev”=>"1.0 ", “removable”=>“0”, “vendor”=>"VMware, ",
“state”=>“running”}, “ram5”=>{“size”=>“131072”, “removable”=>“0”},
“loop5”=>{“size”=>“0”, “removable”=>“0”}, “sr0”=>{“model”=>“CD/DVDW
TS-H552B”, “size”=>“2097151”, “timeout”=>“0”, “rev”=>“TS04”,
“removable”=>“1”, “vendor”=>“TSSTcorp”, “state”=>“running”},
“ram6”=>{“size”=>“131072”, “removable”=>“0”}, “loop6”=>{“size”=>“0”,
“removable”=>“0”}, “ram10”=>{“size”=>“131072”, “removable”=>“0”},
“ram7”=>{“size”=>“131072”, “removable”=>“0”}, “loop7”=>{“size”=>“0”,
“removable”=>“0”}, “ram11”=>{“size”=>“131072”, “removable”=>“0”},
“ram8”=>{“size”=>“131072”, “removable”=>“0”}, “ram12”=>{“size”=>“131072”,
“removable”=>“0”}, “ram9”=>{“size”=>“131072”, “removable”=>“0”}}
DEBUG: Ohai Attribute: uptime_seconds - 18467
DEBUG: Ohai Attribute: platform - "ubuntu"
DEBUG: Platform is ubuntu version 8.10
DEBUG: Compiling recipes for node ubuntusrv_freemindsystems_com
DEBUG: Loading attributes from
/tmp/chef-solo/cookbooks/runit/attributes/sv_bin.rb
DEBUG: Loading attributes from
/tmp/chef-solo/cookbooks/chef/attributes/chef.rb
DEBUG: Loading cookbook runit’s definitions from
/tmp/chef-solo/cookbooks/runit/definitions/runit_service.rb
DEBUG: Loading Recipe chef::server
DEBUG: Found recipe server in cookbook chef
DEBUG: Found recipe default in cookbook runit
DEBUG: Converging node ubuntusrv_freemindsystems_com
DEBUG: Processing execute[start-runsvdir]
DEBUG: execute[start-runsvdir] using Chef::Provider::Execute
DEBUG: Doing nothing for execute[start-runsvdir]
DEBUG: Processing package[runit]
DEBUG: package[runit] using Chef::Provider::package::Apt
DEBUG: Checking apt-cache policy for runit
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:in
action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:in
each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:inrun_solo’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:19:in
load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:inaction_install’: No version specified, and no candidate version available!
(Chef::Exception::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in
send' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:inconverge’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:ineach’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:in
converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:in
run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’
from /usr/bin/chef-solo:19

apt-cache showpkg runit
Package: runit
Versions:
2.0.0-1ubuntu1
(/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-i386_Packages)
Description Language: es
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid-updates_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language: es
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language:
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-i386_Packages
MD5: 61c1a9bb04f16937998757129a396977

Reverse Depends:
git-daemon-run,runit 1.8.0-2
vblade-persist,runit 1.8.0-2
twoftpd-run,runit 1.8.0-2
twoftpd,runit
socklog-run,runit 1.8.0-2
socklog,runit
slidentd,runit
runit-services,runit 1.8.0-2
runit-run,runit 1.8.0-3
roundup,runit
resolvconf,runit 1.8.0-3
mailfront,runit
ipsvd,runit
git-daemon-run,runit 1.8.0-2
fnord,runit 1.8.0-2
dropbear,runit
djbdns,runit
daemontools-run,runit
daemontools,runit
cfs,runit 1.8.0-2
cereal,runit 1.8.0-3
bincimap-run,runit 1.8.0-2
bincimap,runit
bcron-run,runit 1.8.0-2
bcron,runit
Dependencies:
2.0.0-1ubuntu1 - runit-run (0 (null)) socklog-run (0 (null)) fgetty (0
(null))
Provides:
2.0.0-1ubuntu1 -

Thanks again

2009/3/11 Bryan McLellan btm@loftninjas.org

On Wed, Mar 11, 2009 at 11:47 AM, José Luis Gordo Romero
jgordor@gmail.com wrote:

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!


#8

Looks mostly ok.

Does ‘apt-cache policy runit’ yield anything interesting? What does
your recipe look like…?

On 12/03/2009, at 9:37 AM, José Luis Gordo Romero wrote:

Hi,

Debug:
INFO: Starting Chef Solo Run
DEBUG: Loading plugin os
DEBUG: Loading plugin ruby
DEBUG: Loading plugin languages
DEBUG: Loading plugin kernel
DEBUG: ---- Begin uname -s STDOUT ----
DEBUG: Linux
DEBUG: ---- End uname -s STDOUT ----
DEBUG: Ran (uname -s) returned 0
DEBUG: ---- Begin uname -r STDOUT ----
DEBUG: 2.6.27-7-server
DEBUG: ---- End uname -r STDOUT ----
DEBUG: Ran (uname -r) returned 0
DEBUG: ---- Begin uname -v STDOUT ----
DEBUG: #1 SMP Tue Nov 4 20:18:35 UTC 2008
DEBUG: ---- End uname -v STDOUT ----
DEBUG: Ran (uname -v) returned 0
DEBUG: ---- Begin uname -m STDOUT ----
DEBUG: i686
DEBUG: ---- End uname -m STDOUT ----
DEBUG: Ran (uname -m) returned 0
DEBUG: Loading plugin keys
DEBUG: Loading plugin platform
DEBUG: Loading plugin linux::platform
DEBUG: Loading plugin linux::lsb
DEBUG: Loading plugin network
DEBUG: Loading plugin hostname
DEBUG: Loading plugin linux::hostname
DEBUG: ---- Begin hostname STDOUT ----
DEBUG: ubuntusrv
DEBUG: ---- End hostname STDOUT ----
DEBUG: Ran (hostname) returned 0
DEBUG: ---- Begin hostname --fqdn STDOUT ----
DEBUG: ubuntusrv.freemindsystems.com
DEBUG: ---- End hostname --fqdn STDOUT ----
DEBUG: Ran (hostname --fqdn) returned 0
DEBUG: Loading plugin linux::network
DEBUG: Loading plugin command
DEBUG: Loading plugin uptime
DEBUG: Loading plugin erlang
DEBUG: Loading plugin virtualization
DEBUG: Loading plugin linux::virtualization
DEBUG: Loading plugin ohai_time
DEBUG: Loading plugin python
DEBUG: Loading plugin java
DEBUG: Loading plugin ec2
DEBUG: Loading plugin linux::memory
DEBUG: Loading plugin linux::cpu
DEBUG: Loading plugin linux::uptime
DEBUG: Loading plugin linux::ps
DEBUG: Loading plugin linux::block_device
DEBUG: Loading plugin linux::filesystem
DEBUG: Loading plugin linux::ssh_host_key
DEBUG: Loading plugin linux::kernel
DEBUG: ---- Begin uname -o STDOUT ----
DEBUG: GNU/Linux
DEBUG: ---- End uname -o STDOUT ----
DEBUG: Ran (uname -o) returned 0
DEBUG: Building node object for ubuntusrv_freemindsystems_com
DEBUG: Ohai Attribute: keys -
{“ssh”=>{“host_dsa_public”=>“AAAAB3NzaC1kc3MAAACBAJVNH1rA6xhijXf/JFKr
+m1VeEpFk5k0xvz
+
NM3Mv9sgzOWgmgZMoifdZ5AfNrhnIVhlKVJA9dchyYgeC3IOMBaFmBN8t1Od7uk8BkbvBjDz2czaPEh62MMVE26odN183u4zwmEr4BH
/gfCsT2u+RBDq0/
zNzi2da8sg7lIxniv7AAAAFQD8MhcGT7e0cIYkEL4beZ8jHaN9wQAAAIAW5HwwXEARpyWZ
+fozGmaf8zd5ZlGN5O/
gTApqe9mjTIIoYDqLAKxNiAbfx2mP2vDp9fdu48sRQdt76QXL3tuDV9vZ/yQmWAKSM
+wgIo1MpDZ3oaXcJUdhZqeqgI+8/z2D55Fg2gSxgcL0VRIFtPQCtwfdAJ7p
+OYgprOaXBGu5gAAAIBg4JBFoxy2Cs7mnK9CQmnbu8NIn1SisF3qe6bn8In/
URLl0GHLRhO/
pTflegHx7SkZsSI2ryRVlwBoa6ETAC82D75
+
ds40KrI5InDesvjy8W6SUFd1snVlkHkGimXIkoGPAPDauqqEKVGGM4Ux1cVuH4iqGWE8rSkoEhmj4Witdw
==”, “host_rsa_public”=>“AAAAB3NzaC1yc2EAAAABIwAAAQEAoon6vP/
Wmuk3KFxRefg7HVBYE9cVv7frFAbWqRq4cCaRNHot1LTNWdFFxFlF5iEJdCnG7SDVT9YblrFdf13pZ3yZL38vCflC2qPDPsq/XsOtbW3HaJj9h1X3phg8m2plJpkgB7KFh7+o6Jr6iiasJmIcRNIysalSoEnlHZeajKtM/zRF8Ub2fNVXbDc86/7DM3IwMDNqTG3XAEDg9KioONPjPz2HWbc6lORYJ7YkqCD3idjW2iwxIVL3PsDSskEGz0Xsl2VsBvnbdFeAcP7SghH9YkCwPdd3FXPz/1ikYSJlFbxAtiggzGq/CbnLk+Ai55A6jdlfJNecgdjnyJytuw==”}}
DEBUG: Ohai Attribute: kernel -
{“modules”=>{“scsi_mod”=>{“size”=>“155212”, “refcount”=>“7”},
“button”=>{“size”=>“14224”, “refcount”=>“0”},
“jbd”=>{“size”=>“55444”, “refcount”=>“1”},
“pcspkr”=>{“size”=>“10624”, “refcount”=>“0”},
“snd_seq_device”=>{“size”=>“15116”, “refcount”=>“1”},
“mii”=>{“size”=>“13440”, “refcount”=>“1”},
“sd_mod”=>{“size”=>“42264”, “refcount”=>“3”},
“ac”=>{“size”=>“12292”, “refcount”=>“0”},
“usbcore”=>{“size”=>“149360”, “refcount”=>“3”},
“crc_t10dif”=>{“size”=>“9984”, “refcount”=>“1”},
“intel_agp”=>{“size”=>“34116”, “refcount”=>“1”},
“ac97_bus”=>{“size”=>“9856”, “refcount”=>“1”},
“container”=>{“size”=>“11520”, “refcount”=>“0”},
“x_tables”=>{“size”=>“22916”, “refcount”=>“1”},
“softcursor”=>{“size”=>“9984”, “refcount”=>“1”},
“mptbase”=>{“size”=>“86628”, “refcount”=>“2”},
“sr_mod”=>{“size”=>“22212”, “refcount”=>“0”},
“snd_ac97_codec”=>{“size”=>“110372”, “refcount”=>“1”},
“lp”=>{“size”=>“17156”, “refcount”=>“0”}, “fuse”=>{“size”=>“60700”,
“refcount”=>“1”}, “thermal”=>{“size”=>“23708”, “refcount”=>“0”},
“uhci_hcd”=>{“size”=>“30864”, “refcount”=>“0”},
“i2c_piix4”=>{“size”=>“16144”, “refcount”=>“0”},
“shpchp”=>{“size”=>“38036”, “refcount”=>“0”},
“soundcore”=>{“size”=>“15328”, “refcount”=>“1”},
“parport_pc”=>{“size”=>“39460”, “refcount”=>“1”},
“bitblit”=>{“size”=>“13824”, “refcount”=>“1”},
“font”=>{“size”=>“16512”, “refcount”=>“1”},
“fbcon”=>{“size”=>“47392”, “refcount”=>“0”},
“cdrom”=>{“size”=>“43040”, “refcount”=>“1”},
“mbcache”=>{“size”=>“16004”, “refcount”=>“1”},
“i2c_core”=>{“size”=>“31892”, “refcount”=>“1”},
“psmouse”=>{“size”=>“45200”, “refcount”=>“0”},
“serio_raw”=>{“size”=>“13444”, “refcount”=>“0”},
“snd_pcm”=>{“size”=>“83332”, “refcount”=>“2”},
“evdev”=>{“size”=>“17696”, “refcount”=>“0”},
“parport”=>{“size”=>“42604”, “refcount”=>“2”},
“tileblit”=>{“size”=>“10752”, “refcount”=>“1”},
“mptspi”=>{“size”=>“25224”, “refcount”=>“2”},
“ata_piix”=>{“size”=>“24708”, “refcount”=>“0”},
“ip_tables”=>{“size”=>“19600”, “refcount”=>“1”},
“iptable_filter”=>{“size”=>“10752”, “refcount”=>“0”},
“fan”=>{“size”=>“12420”, “refcount”=>“0”},
“pata_acpi”=>{“size”=>“12160”, “refcount”=>“0”},
“ata_generic”=>{“size”=>“12804”, “refcount”=>“0”},
“agpgart”=>{“size”=>“42184”, “refcount”=>“1”},
“snd_timer”=>{“size”=>“29832”, “refcount”=>“1”},
“loop”=>{“size”=>“23180”, “refcount”=>“0”},
“processor”=>{“size”=>“42284”, “refcount”=>“1”},
“libata”=>{“size”=>“176032”, “refcount”=>“3”},
“scsi_transport_spi”=>{“size”=>“30336”, “refcount”=>“1”},
“pcnet32”=>{“size”=>“40196”, “refcount”=>“0”},
“sg”=>{“size”=>“39220”, “refcount”=>“0”}, “ext3”=>{“size”=>“133000”,
“refcount”=>“1”}, “pci_hotplug”=>{“size”=>“35236”, “refcount”=>“1”},
“snd_page_alloc”=>{“size”=>“16264”, “refcount”=>“1”},
“snd”=>{“size”=>“63268”, “refcount”=>“6”},
“snd_ens1371”=>{“size”=>“30880”, “refcount”=>“0”},
“ipv6”=>{“size”=>“263460”, “refcount”=>“10”},
“dock”=>{“size”=>“16656”, “refcount”=>“1”},
“ehci_hcd”=>{“size”=>“43916”, “refcount”=>“0”},
“mptscsih”=>{“size”=>“44032”, “refcount”=>“1”},
“snd_rawmidi”=>{“size”=>“29696”, “refcount”=>“1”},
“gameport”=>{“size”=>“19468”, “refcount”=>“1”}}, “machine”=>“i686”,
“name”=>“Linux”, “os”=>“GNU/Linux”, “version”=>"#1 SMP Tue Nov 4
20:18:35 UTC 2008", “release”=>“2.6.27-7-server”}
DEBUG: Ohai Attribute: fqdn - “ubuntusrv.freemindsystems.com"
DEBUG: Ohai Attribute: platform_version - “8.10"
DEBUG: Ohai Attribute: filesystem - {”/dev/
sda1”=>{“kb_size”=>“7850996”, “kb_available”=>“6516500”,
“mount”=>"/", “percent_used”=>“13%”, “kb_used”=>“935684”},
“udev”=>{“kb_size”=>“257060”, “kb_available”=>“254376”,
“mount_options”=>[“rw”, “mode=0755”], “fs_type”=>“tmpfs”, “mount”=>"/
dev", “percent_used”=>“2%”, “kb_used”=>“2684”},
“devpts”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “gid=5”,
“mode=620”], “fs_type”=>“devpts”, “mount”=>"/dev/pts"}, “/
proc”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“proc”, “mount”=>"/proc"},
“securityfs”=>{“mount_options”=>[“rw”], “fs_type”=>“securityfs”,
“mount”=>"/sys/kernel/security"},
“fusectl”=>{“mount_options”=>[“rw”], “fs_type”=>“fusectl”,
“mount”=>"/sys/fs/fuse/connections"},
“sysfs”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“sysfs”, “mount”=>"/sys"},
“varlock”=>{“kb_size”=>“257060”, “kb_available”=>“257060”,
“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”, “mode=1777”],
“fs_type”=>“tmpfs”, “mount”=>"/var/lock", “percent_used”=>“0%”,
“kb_used”=>“0”}, “varrun”=>{“kb_size”=>“257060”,
“kb_available”=>“257004”, “mount_options”=>[“rw”, “nosuid”,
“mode=0755”], “fs_type”=>“tmpfs”, “mount”=>"/var/run",
“percent_used”=>“1%”, “kb_used”=>“56”},
“tmpfs”=>{“kb_size”=>“257060”, “kb_available”=>“257060”,
“mount_options”=>[“rw”, “nosuid”, “nodev”], “fs_type”=>“tmpfs”,
“mount”=>"/dev/shm", “percent_used”=>“0%”, “kb_used”=>“0”}}
DEBUG: Ohai Attribute: command - {“ps”=>“ps -ef”}
DEBUG: Ohai Attribute: ipaddress - "192.168.2.33"
DEBUG: Ohai Attribute: idletime_seconds - 17816
DEBUG: Ohai Attribute: memory - {“dirty”=>“0kB”,
“vmalloc_used”=>“3324kB”, “page_tables”=>“600kB”,
“buffers”=>“34948kB”, “slab_unreclaim”=>“8728kB”,
“high_free”=>“0kB”, “vmalloc_chunk”=>“504104kB”,
“nfs_unstable”=>“0kB”, “slab”=>“35228kB”, “inactive”=>“201468kB”,
“total”=>“514120kB”, “vmalloc_total”=>“507896kB”,
“low_free”=>“107648kB”, “low_total”=>“514120kB”, “free”=>“107648kB”,
“commit_limit”=>“666676kB”, “anon_pages”=>“19840kB”,
“writeback”=>“0kB”, “cached”=>“306152kB”,
“swap”=>{“total”=>“409616kB”, “free”=>“409616kB”, “cached”=>“0kB”},
“high_total”=>“0kB”, “committed_as”=>“30880kB”, “bounce”=>“0kB”,
“slab_reclaimable”=>“26500kB”, “mapped”=>“6916kB”,
“active”=>“159436kB”}
DEBUG: Ohai Attribute: domain - “freemindsystems.com"
DEBUG: Ohai Attribute: os - “linux"
DEBUG: Ohai Attribute: idletime - “4 hours 56 minutes 56 seconds"
DEBUG: Ohai Attribute: virtualization - {“role”=>“guest”,
“emulator”=>“vmware”}
DEBUG: Ohai Attribute: network -
{“interfaces”=>{“lo”=>{“flags”=>[“UP”, “LOOPBACK”, “RUNNING”],
“addresses”=>{”::1”=>{“scope”=>“Node”, “prefixlen”=>“128”,
“family”=>“inet6”}, “127.0.0.1”=>{“netmask”=>“255.0.0.0”,
“family”=>“inet”}}, “counters”=>{“tx”=>{“bytes”=>“0”,
“packets”=>“0”, “collisions”=>“0”, “queuelen”=>“0”, “errors”=>“0”,
“carrier”=>“0”, “overrun”=>“0”, “drop”=>“0”}, “rx”=>{“bytes”=>“0”,
“packets”=>“0”, “errors”=>“0”, “overrun”=>“0”, “drop”=>“0”,
“frame”=>“0”}}, “mtu”=>“16436”, “encapsulation”=>“Loopback”},
“eth0”=>{“flags”=>[“UP”, “BROADCAST”, “RUNNING”, “MULTICAST”],
“number”=>“0”, “addresses”=>{“fe80::20c:
29ff:fef6:140b”=>{“scope”=>“Link”, “prefixlen”=>“64”,
“family”=>“inet6”}, “192.168.2.33”=>{“netmask”=>“255.255.255.0”,
“broadcast”=>“192.168.2.255”, “family”=>“inet”}, “00:0c:
29:f6:14:0b”=>{“family”=>“lladdr”}},
“counters”=>{“tx”=>{“bytes”=>“1477251”, “packets”=>“16397”,
“collisions”=>“0”, “queuelen”=>“1000”, “errors”=>“0”,
“carrier”=>“0”, “overrun”=>“0”, “drop”=>“0”},
“rx”=>{“bytes”=>“22736883”, “packets”=>“20910”, “errors”=>“0”,
“overrun”=>“0”, “drop”=>“0”, “frame”=>“0”}}, “mtu”=>“1500”,
“type”=>“eth”, “arp”=>{“192.168.2.1”=>“00:17:3f:3b:6d:9e”,
“192.168.2.237”=>“00:16:d3:50:7c:02”}, “encapsulation”=>“Ethernet”}}}
DEBUG: Ohai Attribute: lsb - {“codename”=>“intrepid”,
“id”=>“Ubuntu”, “description”=>”“Ubuntu 8.10"”, “release”=>“8.10”}
DEBUG: Ohai Attribute: ohai_time - 1236803519.83355
DEBUG: Ohai Attribute: os_version - "2.6.27-7-server"
DEBUG: Ohai Attribute: languages - {“python”=>{“version”=>“2.5.2”,
“builddate”=>“Oct 5 2008, 19:24:49”}, “ruby”=>{“target_os”=>“linux”,
“host_vendor”=>“pc”, “target_vendor”=>“pc”, “target_cpu”=>“i486”,
“version”=>“1.8.7”, “host_os”=>“linux-gnu”, “host_cpu”=>“i486”,
“host”=>“i486-pc-linux-gnu”, “target”=>“i486-pc-linux-gnu”,
“release_date”=>“2008-08-11”, “platform”=>“i486-linux”}}
DEBUG: Ohai Attribute: uptime - "5 hours 07 minutes 47 seconds"
DEBUG: Ohai Attribute: cpu - {“real”=>0, “total”=>1,
“0”=>{“flags”=>[“fpu”, “vme”, “de”, “pse”, “tsc”, “msr”, “pae”,
“mce”, “cx8”, “apic”, “sep”, “mtrr”, “pge”, “mca”, “cmov”, “pat”,
“pse36”, “clflush”, “mmx”, “fxsr”, “sse”, “sse2”, “syscall”, “nx”,
“mmxext”, “fxsr_opt”, “lm”, “3dnowext”, “3dnow”, “up”, “pni”,
“lahf_lm”], “model”=>“47”, “model_name”=>“AMD Athlon™ 64
Processor 3000+”, “family”=>“15”, “mhz”=>“1743.752”,
“vendor_id”=>“AuthenticAMD”, “cache_size”=>“512 KB”, “stepping”=>“0”}}
DEBUG: Ohai Attribute: hostname - "ubuntusrv"
DEBUG: Ohai Attribute: macaddress - "00:0c:29:f6:14:0b"
DEBUG: Ohai Attribute: block_device - {“ram13”=>{“size”=>“131072”,
“removable”=>“0”}, “ram0”=>{“size”=>“131072”, “removable”=>“0”},
“loop0”=>{“size”=>“0”, “removable”=>“0”},
“ram14”=>{“size”=>“131072”, “removable”=>“0”},
“ram1”=>{“size”=>“131072”, “removable”=>“0”}, “loop1”=>{“size”=>“0”,
“removable”=>“0”}, “ram15”=>{“size”=>“131072”, “removable”=>“0”},
“ram2”=>{“size”=>“131072”, “removable”=>“0”}, “loop2”=>{“size”=>“0”,
“removable”=>“0”}, “ram3”=>{“size”=>“131072”, “removable”=>“0”},
“loop3”=>{“size”=>“0”, “removable”=>“0”}, “ram4”=>{“size”=>“131072”,
“removable”=>“0”}, “loop4”=>{“size”=>“0”, “removable”=>“0”},
“sda”=>{“model”=>“VMware Virtual S”, “size”=>“16777216”,
“timeout”=>“30”, “rev”=>"1.0 ", “removable”=>“0”, “vendor”=>“VMware,
”, “state”=>“running”}, “ram5”=>{“size”=>“131072”,
“removable”=>“0”}, “loop5”=>{“size”=>“0”, “removable”=>“0”},
“sr0”=>{“model”=>“CD/DVDW TS-H552B”, “size”=>“2097151”,
“timeout”=>“0”, “rev”=>“TS04”, “removable”=>“1”,
“vendor”=>“TSSTcorp”, “state”=>“running”},
“ram6”=>{“size”=>“131072”, “removable”=>“0”}, “loop6”=>{“size”=>“0”,
“removable”=>“0”}, “ram10”=>{“size”=>“131072”, “removable”=>“0”},
“ram7”=>{“size”=>“131072”, “removable”=>“0”}, “loop7”=>{“size”=>“0”,
“removable”=>“0”}, “ram11”=>{“size”=>“131072”, “removable”=>“0”},
“ram8”=>{“size”=>“131072”, “removable”=>“0”},
“ram12”=>{“size”=>“131072”, “removable”=>“0”},
“ram9”=>{“size”=>“131072”, “removable”=>“0”}}
DEBUG: Ohai Attribute: uptime_seconds - 18467
DEBUG: Ohai Attribute: platform - "ubuntu"
DEBUG: Platform is ubuntu version 8.10
DEBUG: Compiling recipes for node ubuntusrv_freemindsystems_com
DEBUG: Loading attributes from /tmp/chef-solo/cookbooks/runit/
attributes/sv_bin.rb
DEBUG: Loading attributes from /tmp/chef-solo/cookbooks/chef/
attributes/chef.rb
DEBUG: Loading cookbook runit’s definitions from /tmp/chef-solo/
cookbooks/runit/definitions/runit_service.rb
DEBUG: Loading Recipe chef::server
DEBUG: Found recipe server in cookbook chef
DEBUG: Found recipe default in cookbook runit
DEBUG: Converging node ubuntusrv_freemindsystems_com
DEBUG: Processing execute[start-runsvdir]
DEBUG: execute[start-runsvdir] using Chef::Provider::Execute
DEBUG: Doing nothing for execute[start-runsvdir]
DEBUG: Processing package[runit]
DEBUG: package[runit] using Chef::Provider::package::Apt
DEBUG: Checking apt-cache policy for runit
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/
default.rb line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:
44:in action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/ chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/
lib/chef/runner.rb:87:in converge'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.6/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.6/lib/chef/runner.rb:85:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
resource_collection.rb:57:in each'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.6/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.6/lib/chef/client.rb:343:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:inrun_solo’/usr/lib/
ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:
19:in load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb: 44:inaction_install’: No version specified, and no candidate
version available! (Chef::Exception::Package)
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:87:in send' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ runner.rb:87:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:85:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ runner.rb:85:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
resource_collection.rb:58:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ resource_collection.rb:57:ineach’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
runner.rb:63:in converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/ client.rb:343:inconverge’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/
client.rb:96:in run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’
from /usr/bin/chef-solo:19

apt-cache showpkg runit
Package: runit
Versions:
2.0.0-1ubuntu1 (/var/lib/apt/lists/
es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-
i386_Packages)
Description Language: es
File: /var/lib/apt/lists/
es.archive.ubuntu.com_ubuntu_dists_intrepid-
updates_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language: es
File: /var/lib/apt/lists/
es
.archive.ubuntu.com_ubuntu_dists_intrepid_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language:
File: /var/lib/apt/lists/
es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-
i386_Packages
MD5: 61c1a9bb04f16937998757129a396977

Reverse Depends:
git-daemon-run,runit 1.8.0-2
vblade-persist,runit 1.8.0-2
twoftpd-run,runit 1.8.0-2
twoftpd,runit
socklog-run,runit 1.8.0-2
socklog,runit
slidentd,runit
runit-services,runit 1.8.0-2
runit-run,runit 1.8.0-3
roundup,runit
resolvconf,runit 1.8.0-3
mailfront,runit
ipsvd,runit
git-daemon-run,runit 1.8.0-2
fnord,runit 1.8.0-2
dropbear,runit
djbdns,runit
daemontools-run,runit
daemontools,runit
cfs,runit 1.8.0-2
cereal,runit 1.8.0-3
bincimap-run,runit 1.8.0-2
bincimap,runit
bcron-run,runit 1.8.0-2
bcron,runit
Dependencies:
2.0.0-1ubuntu1 - runit-run (0 (null)) socklog-run (0 (null)) fgetty
(0 (null))
Provides:
2.0.0-1ubuntu1 -

Thanks again

2009/3/11 Bryan McLellan btm@loftninjas.org
On Wed, Mar 11, 2009 at 11:47 AM, José Luis Gordo Romero
jgordor@gmail.com wrote:

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/
default.rb
line 27) had an error:
No version specified, and no candidate version available!


#9

Hi Again,

I’m back with chef, sorry for late response.

I finally tried head
http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD installation.

After installing all correctly on ubuntu server 8.04:

route -n | grep default | awk '/ +/ {print $8} don’t print nothing (-n
convers default no 0.0.0.0), this can be the problem now?

chef-solo -l debug -r http://bit.ly/WdfK
DEBUG: Executing cd /tmp/chef-solo/ && tar xzvf
/tmp/chef-solo/recipes.tgz
DEBUG: ---- Begin cd /tmp/chef-solo/ && tar xzvf /tmp/chef-solo/recipes.tgz
STDOUT ----
DEBUG:
./cookbooks/

./cookbooks/chef/

./cookbooks/chef/attributes/

./cookbooks/chef/attributes/._chef.rb

./cookbooks/chef/attributes/chef.rb

./cookbooks/chef/recipes/

./cookbooks/chef/recipes/default.rb

./cookbooks/chef/recipes/._server.rb

./cookbooks/chef/recipes/server.rb

./cookbooks/chef/templates/

./cookbooks/chef/templates/default/

./cookbooks/chef/templates/default/._client.rb.erb

./cookbooks/chef/templates/default/client.rb.erb

./cookbooks/chef/templates/default/._server.rb.erb

./cookbooks/chef/templates/default/server.rb.erb

./cookbooks/chef/templates/default/sv-chef-indexer-log-run.erb

./cookbooks/chef/templates/default/sv-chef-indexer-run.erb

./cookbooks/chef/templates/default/sv-chef-server-log-run.erb

./cookbooks/chef/templates/default/sv-chef-server-run.erb

./cookbooks/chef/templates/default/sv-stompserver-log-run.erb

./cookbooks/chef/templates/default/sv-stompserver-run.erb

./cookbooks/runit/

./cookbooks/runit/attributes/

./cookbooks/runit/attributes/._sv_bin.rb

./cookbooks/runit/attributes/sv_bin.rb

./cookbooks/runit/definitions/

./cookbooks/runit/definitions/._runit_service.rb

./cookbooks/runit/definitions/runit_service.rb

./cookbooks/runit/files/

./cookbooks/runit/files/default/

./cookbooks/runit/files/Ubuntu-6.10/

./cookbooks/runit/files/Ubuntu-6.10/._runsvdir

./cookbooks/runit/files/Ubuntu-6.10/runsvdir

./cookbooks/runit/files/Ubuntu-7.04/

./cookbooks/runit/files/Ubuntu-7.04/._runsvdir

./cookbooks/runit/files/Ubuntu-7.04/runsvdir

./cookbooks/runit/files/Ubuntu-7.10/

./cookbooks/runit/files/Ubuntu-7.10/._runsvdir

./cookbooks/runit/files/Ubuntu-7.10/runsvdir

./cookbooks/runit/libraries/

./cookbooks/runit/recipes/

./cookbooks/runit/recipes/default.rb

./cookbooks/runit/templates/

./cookbooks/runit/templates/default/

DEBUG: ---- End cd /tmp/chef-solo/ && tar xzvf /tmp/chef-solo/recipes.tgz
STDOUT ----
DEBUG: Nothing to read on ‘cd /tmp/chef-solo/ && tar xzvf
/tmp/chef-solo/recipes.tgz’ STDERR.
DEBUG: Ran (cd /tmp/chef-solo/ && tar xzvf /tmp/chef-solo/recipes.tgz)
returned 0
INFO: Starting Chef Solo
Run

DEBUG: Loading plugin
os

DEBUG: Loading plugin
ruby

DEBUG: Loading plugin
languages

DEBUG: Loading plugin
kernel

DEBUG: ---- Begin uname -s STDOUT

DEBUG:
Linux

DEBUG: ---- End uname -s STDOUT

DEBUG: Ran (uname -s) returned
0
DEBUG: ---- Begin uname -r STDOUT

DEBUG:
2.6.27-11-generic

DEBUG: ---- End uname -r STDOUT

DEBUG: Ran (uname -r) returned
0
DEBUG: ---- Begin uname -v STDOUT

DEBUG: #1 SMP Thu Jan 29 19:24:39 UTC
2009
DEBUG: ---- End uname -v STDOUT

DEBUG: Ran (uname -v) returned
0
DEBUG: ---- Begin uname -m STDOUT

DEBUG:
i686

DEBUG: ---- End uname -m STDOUT ----
DEBUG: Ran (uname -m) returned 0
DEBUG: Loading plugin virtualization
DEBUG: Loading plugin linux::virtualization
DEBUG: Loading plugin network
DEBUG: Loading plugin hostname
DEBUG: Loading plugin linux::hostname
DEBUG: ---- Begin hostname STDOUT ----
DEBUG: chefserver
DEBUG: ---- End hostname STDOUT ----
DEBUG: Ran (hostname) returned 0
DEBUG: ---- Begin hostname --fqdn STDOUT ----
DEBUG: chefserver
DEBUG: ---- End hostname --fqdn STDOUT ----
DEBUG: Ran (hostname --fqdn) returned 0
DEBUG: Loading plugin linux::network
DEBUG: Ran (route -n | grep default | awk ‘/ +/ {print $8}’) returned 0
/usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:62:in from': private methodchomp!’ called fornil:NilClass (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/plugins/linux/network.rb:19:in
from_file' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:114:inrequire_plugin’
from
/usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:109:in each' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:109:inrequire_plugin’
from
/usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/plugins/network.rb:23:in
from_file' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:114:inrequire_plugin’
from
/usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:109:in each' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:109:inrequire_plugin’
from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:96:in
all_plugins' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:89:ineach’
from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:89:in
all_plugins' from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:87:ineach’
from /usr/lib/ruby/gems/1.8/gems/ohai-0.2.1/lib/ohai/system.rb:87:in
all_plugins' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.7/lib/chef/client.rb:114:inbuild_node’
from /usr/lib/ruby/gems/1.8/gems/chef-0.5.7/lib/chef/client.rb:95:in
run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.7/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’
from /usr/bin/chef-solo:19

My gems:
gem list

*** LOCAL GEMS ***

abstract (1.0.0)
cgi_multipart_eof_fix (2.5.0)
chef (0.5.7)
chef-server (0.5.7)
chef-server-slice (0.5.7)
cucumber (0.1.16)
daemons (1.0.10)
diff-lcs (1.1.2)
erubis (2.6.4)
eventmachine (0.12.6)
extlib (0.9.10)
fastthread (1.0.1)
ferret (0.11.6)
gem_plugin (0.2.3)
haml (2.0.9)
hoe (1.11.0)
json (1.1.3)
json_pure (1.1.3)
merb-assets (1.0.9)
merb-core (1.0.9)
merb-haml (1.0.9)
merb-helpers (1.0.9)
merb-slices (1.0.9)
mime-types (1.16)
mongrel (1.1.5)
ohai (0.2.1)
polyglot (0.2.5)
rack (0.9.1)
rake (0.8.4)
rspec (1.2.0)
ruby-openid (2.1.4)
rubyforge (1.0.3)
stomp (1.1)
stompserver (0.9.9)
syntax (1.0.0)
term-ansicolor (1.0.3)
thor (0.9.9)
treetop (1.2.4)

Thanks again
Jose Luis

2009/3/11 AJ Christensen aj@junglist.gen.nz

Looks mostly ok.
Does ‘apt-cache policy runit’ yield anything interesting? What does your
recipe look like…?

On 12/03/2009, at 9:37 AM, José Luis Gordo Romero wrote:

Hi,

Debug:
INFO: Starting Chef Solo Run
DEBUG: Loading plugin os
DEBUG: Loading plugin ruby
DEBUG: Loading plugin languages
DEBUG: Loading plugin kernel
DEBUG: ---- Begin uname -s STDOUT ----
DEBUG: Linux
DEBUG: ---- End uname -s STDOUT ----
DEBUG: Ran (uname -s) returned 0
DEBUG: ---- Begin uname -r STDOUT ----
DEBUG: 2.6.27-7-server
DEBUG: ---- End uname -r STDOUT ----
DEBUG: Ran (uname -r) returned 0
DEBUG: ---- Begin uname -v STDOUT ----
DEBUG: #1 SMP Tue Nov 4 20:18:35 UTC 2008
DEBUG: ---- End uname -v STDOUT ----
DEBUG: Ran (uname -v) returned 0
DEBUG: ---- Begin uname -m STDOUT ----
DEBUG: i686
DEBUG: ---- End uname -m STDOUT ----
DEBUG: Ran (uname -m) returned 0
DEBUG: Loading plugin keys
DEBUG: Loading plugin platform
DEBUG: Loading plugin linux::platform
DEBUG: Loading plugin linux::lsb
DEBUG: Loading plugin network
DEBUG: Loading plugin hostname
DEBUG: Loading plugin linux::hostname
DEBUG: ---- Begin hostname STDOUT ----
DEBUG: ubuntusrv
DEBUG: ---- End hostname STDOUT ----
DEBUG: Ran (hostname) returned 0
DEBUG: ---- Begin hostname --fqdn STDOUT ----
DEBUG: ubuntusrv.freemindsystems.com
DEBUG: ---- End hostname --fqdn STDOUT ----
DEBUG: Ran (hostname --fqdn) returned 0
DEBUG: Loading plugin linux::network
DEBUG: Loading plugin command
DEBUG: Loading plugin uptime
DEBUG: Loading plugin erlang
DEBUG: Loading plugin virtualization
DEBUG: Loading plugin linux::virtualization
DEBUG: Loading plugin ohai_time
DEBUG: Loading plugin python
DEBUG: Loading plugin java
DEBUG: Loading plugin ec2
DEBUG: Loading plugin linux::memory
DEBUG: Loading plugin linux::cpu
DEBUG: Loading plugin linux::uptime
DEBUG: Loading plugin linux::ps
DEBUG: Loading plugin linux::block_device
DEBUG: Loading plugin linux::filesystem
DEBUG: Loading plugin linux::ssh_host_key
DEBUG: Loading plugin linux::kernel
DEBUG: ---- Begin uname -o STDOUT ----
DEBUG: GNU/Linux
DEBUG: ---- End uname -o STDOUT ----
DEBUG: Ran (uname -o) returned 0
DEBUG: Building node object for ubuntusrv_freemindsystems_com
DEBUG: Ohai Attribute: keys -
{“ssh”=>{“host_dsa_public”=>“AAAAB3NzaC1kc3MAAACBAJVNH1rA6xhijXf/JFKr+m1VeEpFk5k0xvz+NM3Mv9sgzOWgmgZMoifdZ5AfNrhnIVhlKVJA9dchyYgeC3IOMBaFmBN8t1Od7uk8BkbvBjDz2czaPEh62MMVE26odN183u4zwmEr4BH/gfCsT2u+RBDq0/zNzi2da8sg7lIxniv7AAAAFQD8MhcGT7e0cIYkEL4beZ8jHaN9wQAAAIAW5HwwXEARpyWZ+fozGmaf8zd5ZlGN5O/gTApqe9mjTIIoYDqLAKxNiAbfx2mP2vDp9fdu48sRQdt76QXL3tuDV9vZ/yQmWAKSM+wgIo1MpDZ3oaXcJUdhZqeqgI+8/z2D55Fg2gSxgcL0VRIFtPQCtwfdAJ7p+OYgprOaXBGu5gAAAIBg4JBFoxy2Cs7mnK9CQmnbu8NIn1SisF3qe6bn8In/URLl0GHLRhO/pTflegHx7SkZsSI2ryRVlwBoa6ETAC82D75+ds40KrI5InDesvjy8W6SUFd1snVlkHkGimXIkoGPAPDauqqEKVGGM4Ux1cVuH4iqGWE8rSkoEhmj4Witdw==”,
“host_rsa_public”=>“AAAAB3NzaC1yc2EAAAABIwAAAQEAoon6vP/Wmuk3KFxRefg7HVBYE9cVv7frFAbWqRq4cCaRNHot1LTNWdFFxFlF5iEJdCnG7SDVT9YblrFdf13pZ3yZL38vCflC2qPDPsq/XsOtbW3HaJj9h1X3phg8m2plJpkgB7KFh7+o6Jr6iiasJmIcRNIysalSoEnlHZeajKtM/zRF8Ub2fNVXbDc86/7DM3IwMDNqTG3XAEDg9KioONPjPz2HWbc6lORYJ7YkqCD3idjW2iwxIVL3PsDSskEGz0Xsl2VsBvnbdFeAcP7SghH9YkCwPdd3FXPz/1ikYSJlFbxAtiggzGq/CbnLk+Ai55A6jdlfJNecgdjnyJytuw==”}}
DEBUG: Ohai Attribute: kernel - {“modules”=>{“scsi_mod”=>{“size”=>“155212”,
“refcount”=>“7”}, “button”=>{“size”=>“14224”, “refcount”=>“0”},
“jbd”=>{“size”=>“55444”, “refcount”=>“1”}, “pcspkr”=>{“size”=>“10624”,
“refcount”=>“0”}, “snd_seq_device”=>{“size”=>“15116”, “refcount”=>“1”},
“mii”=>{“size”=>“13440”, “refcount”=>“1”}, “sd_mod”=>{“size”=>“42264”,
“refcount”=>“3”}, “ac”=>{“size”=>“12292”, “refcount”=>“0”},
“usbcore”=>{“size”=>“149360”, “refcount”=>“3”},
“crc_t10dif”=>{“size”=>“9984”, “refcount”=>“1”},
“intel_agp”=>{“size”=>“34116”, “refcount”=>“1”},
“ac97_bus”=>{“size”=>“9856”, “refcount”=>“1”},
“container”=>{“size”=>“11520”, “refcount”=>“0”},
“x_tables”=>{“size”=>“22916”, “refcount”=>“1”},
“softcursor”=>{“size”=>“9984”, “refcount”=>“1”},
“mptbase”=>{“size”=>“86628”, “refcount”=>“2”}, “sr_mod”=>{“size”=>“22212”,
“refcount”=>“0”}, “snd_ac97_codec”=>{“size”=>“110372”, “refcount”=>“1”},
“lp”=>{“size”=>“17156”, “refcount”=>“0”}, “fuse”=>{“size”=>“60700”,
“refcount”=>“1”}, “thermal”=>{“size”=>“23708”, “refcount”=>“0”},
“uhci_hcd”=>{“size”=>“30864”, “refcount”=>“0”},
“i2c_piix4”=>{“size”=>“16144”, “refcount”=>“0”}, “shpchp”=>{“size”=>“38036”,
“refcount”=>“0”}, “soundcore”=>{“size”=>“15328”, “refcount”=>“1”},
“parport_pc”=>{“size”=>“39460”, “refcount”=>“1”},
“bitblit”=>{“size”=>“13824”, “refcount”=>“1”}, “font”=>{“size”=>“16512”,
“refcount”=>“1”}, “fbcon”=>{“size”=>“47392”, “refcount”=>“0”},
“cdrom”=>{“size”=>“43040”, “refcount”=>“1”}, “mbcache”=>{“size”=>“16004”,
“refcount”=>“1”}, “i2c_core”=>{“size”=>“31892”, “refcount”=>“1”},
“psmouse”=>{“size”=>“45200”, “refcount”=>“0”},
“serio_raw”=>{“size”=>“13444”, “refcount”=>“0”},
“snd_pcm”=>{“size”=>“83332”, “refcount”=>“2”}, “evdev”=>{“size”=>“17696”,
“refcount”=>“0”}, “parport”=>{“size”=>“42604”, “refcount”=>“2”},
“tileblit”=>{“size”=>“10752”, “refcount”=>“1”}, “mptspi”=>{“size”=>“25224”,
“refcount”=>“2”}, “ata_piix”=>{“size”=>“24708”, “refcount”=>“0”},
“ip_tables”=>{“size”=>“19600”, “refcount”=>“1”},
“iptable_filter”=>{“size”=>“10752”, “refcount”=>“0”},
“fan”=>{“size”=>“12420”, “refcount”=>“0”}, “pata_acpi”=>{“size”=>“12160”,
“refcount”=>“0”}, “ata_generic”=>{“size”=>“12804”, “refcount”=>“0”},
“agpgart”=>{“size”=>“42184”, “refcount”=>“1”},
“snd_timer”=>{“size”=>“29832”, “refcount”=>“1”}, “loop”=>{“size”=>“23180”,
“refcount”=>“0”}, “processor”=>{“size”=>“42284”, “refcount”=>“1”},
“libata”=>{“size”=>“176032”, “refcount”=>“3”},
“scsi_transport_spi”=>{“size”=>“30336”, “refcount”=>“1”},
“pcnet32”=>{“size”=>“40196”, “refcount”=>“0”}, “sg”=>{“size”=>“39220”,
“refcount”=>“0”}, “ext3”=>{“size”=>“133000”, “refcount”=>“1”},
“pci_hotplug”=>{“size”=>“35236”, “refcount”=>“1”},
“snd_page_alloc”=>{“size”=>“16264”, “refcount”=>“1”},
“snd”=>{“size”=>“63268”, “refcount”=>“6”}, “snd_ens1371”=>{“size”=>“30880”,
“refcount”=>“0”}, “ipv6”=>{“size”=>“263460”, “refcount”=>“10”},
“dock”=>{“size”=>“16656”, “refcount”=>“1”}, “ehci_hcd”=>{“size”=>“43916”,
“refcount”=>“0”}, “mptscsih”=>{“size”=>“44032”, “refcount”=>“1”},
“snd_rawmidi”=>{“size”=>“29696”, “refcount”=>“1”},
“gameport”=>{“size”=>“19468”, “refcount”=>“1”}}, “machine”=>“i686”,
“name”=>“Linux”, “os”=>“GNU/Linux”, “version”=>"#1 SMP Tue Nov 4 20:18:35
UTC 2008", “release”=>“2.6.27-7-server”}
DEBUG: Ohai Attribute: fqdn - “ubuntusrv.freemindsystems.com"
DEBUG: Ohai Attribute: platform_version - “8.10"
DEBUG: Ohai Attribute: filesystem - {”/dev/sda1”=>{“kb_size”=>“7850996”,
“kb_available”=>“6516500”, “mount”=>"/", “percent_used”=>“13%”,
“kb_used”=>“935684”}, “udev”=>{“kb_size”=>“257060”,
“kb_available”=>“254376”, “mount_options”=>[“rw”, “mode=0755”],
“fs_type”=>“tmpfs”, “mount”=>"/dev", “percent_used”=>“2%”,
“kb_used”=>“2684”}, “devpts”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”,
“gid=5”, “mode=620”], “fs_type”=>“devpts”, “mount”=>"/dev/pts"},
"/proc"=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“proc”, “mount”=>"/proc"},
“securityfs”=>{“mount_options”=>[“rw”], “fs_type”=>“securityfs”,
“mount”=>"/sys/kernel/security"}, “fusectl”=>{“mount_options”=>[“rw”],
“fs_type”=>“fusectl”, “mount”=>"/sys/fs/fuse/connections"},
“sysfs”=>{“mount_options”=>[“rw”, “noexec”, “nosuid”, “nodev”],
“fs_type”=>“sysfs”, “mount”=>"/sys"}, “varlock”=>{“kb_size”=>“257060”,
“kb_available”=>“257060”, “mount_options”=>[“rw”, “noexec”, “nosuid”,
“nodev”, “mode=1777”], “fs_type”=>“tmpfs”, “mount”=>"/var/lock",
“percent_used”=>“0%”, “kb_used”=>“0”}, “varrun”=>{“kb_size”=>“257060”,
“kb_available”=>“257004”, “mount_options”=>[“rw”, “nosuid”, “mode=0755”],
“fs_type”=>“tmpfs”, “mount”=>"/var/run", “percent_used”=>“1%”,
“kb_used”=>“56”}, “tmpfs”=>{“kb_size”=>“257060”, “kb_available”=>“257060”,
“mount_options”=>[“rw”, “nosuid”, “nodev”], “fs_type”=>“tmpfs”,
“mount”=>"/dev/shm", “percent_used”=>“0%”, “kb_used”=>“0”}}
DEBUG: Ohai Attribute: command - {“ps”=>“ps -ef”}
DEBUG: Ohai Attribute: ipaddress - "192.168.2.33"
DEBUG: Ohai Attribute: idletime_seconds - 17816
DEBUG: Ohai Attribute: memory - {“dirty”=>“0kB”, “vmalloc_used”=>“3324kB”,
“page_tables”=>“600kB”, “buffers”=>“34948kB”, “slab_unreclaim”=>“8728kB”,
“high_free”=>“0kB”, “vmalloc_chunk”=>“504104kB”, “nfs_unstable”=>“0kB”,
“slab”=>“35228kB”, “inactive”=>“201468kB”, “total”=>“514120kB”,
“vmalloc_total”=>“507896kB”, “low_free”=>“107648kB”,
“low_total”=>“514120kB”, “free”=>“107648kB”, “commit_limit”=>“666676kB”,
“anon_pages”=>“19840kB”, “writeback”=>“0kB”, “cached”=>“306152kB”,
“swap”=>{“total”=>“409616kB”, “free”=>“409616kB”, “cached”=>“0kB”},
“high_total”=>“0kB”, “committed_as”=>“30880kB”, “bounce”=>“0kB”,
“slab_reclaimable”=>“26500kB”, “mapped”=>“6916kB”, “active”=>“159436kB”}
DEBUG: Ohai Attribute: domain - “freemindsystems.com"
DEBUG: Ohai Attribute: os - “linux"
DEBUG: Ohai Attribute: idletime - “4 hours 56 minutes 56 seconds"
DEBUG: Ohai Attribute: virtualization - {“role”=>“guest”,
“emulator”=>“vmware”}
DEBUG: Ohai Attribute: network - {“interfaces”=>{“lo”=>{“flags”=>[“UP”,
“LOOPBACK”, “RUNNING”], “addresses”=>{”::1”=>{“scope”=>“Node”,
“prefixlen”=>“128”, “family”=>“inet6”},
“127.0.0.1”=>{“netmask”=>“255.0.0.0”, “family”=>“inet”}},
“counters”=>{“tx”=>{“bytes”=>“0”, “packets”=>“0”, “collisions”=>“0”,
“queuelen”=>“0”, “errors”=>“0”, “carrier”=>“0”, “overrun”=>“0”,
“drop”=>“0”}, “rx”=>{“bytes”=>“0”, “packets”=>“0”, “errors”=>“0”,
“overrun”=>“0”, “drop”=>“0”, “frame”=>“0”}}, “mtu”=>“16436”,
“encapsulation”=>“Loopback”}, “eth0”=>{“flags”=>[“UP”, “BROADCAST”,
“RUNNING”, “MULTICAST”], “number”=>“0”,
“addresses”=>{“fe80::20c:29ff:fef6:140b”=>{“scope”=>“Link”,
“prefixlen”=>“64”, “family”=>“inet6”},
“192.168.2.33”=>{“netmask”=>“255.255.255.0”, “broadcast”=>“192.168.2.255”,
“family”=>“inet”}, “00:0c:29:f6:14:0b”=>{“family”=>“lladdr”}},
“counters”=>{“tx”=>{“bytes”=>“1477251”, “packets”=>“16397”,
“collisions”=>“0”, “queuelen”=>“1000”, “errors”=>“0”, “carrier”=>“0”,
“overrun”=>“0”, “drop”=>“0”}, “rx”=>{“bytes”=>“22736883”,
“packets”=>“20910”, “errors”=>“0”, “overrun”=>“0”, “drop”=>“0”,
“frame”=>“0”}}, “mtu”=>“1500”, “type”=>“eth”,
“arp”=>{“192.168.2.1”=>“00:17:3f:3b:6d:9e”,
“192.168.2.237”=>“00:16:d3:50:7c:02”}, “encapsulation”=>“Ethernet”}}}
DEBUG: Ohai Attribute: lsb - {“codename”=>“intrepid”, “id”=>“Ubuntu”,
“description”=>”“Ubuntu 8.10"”, “release”=>“8.10”}
DEBUG: Ohai Attribute: ohai_time - 1236803519.83355
DEBUG: Ohai Attribute: os_version - "2.6.27-7-server"
DEBUG: Ohai Attribute: languages - {“python”=>{“version”=>“2.5.2”,
“builddate”=>“Oct 5 2008, 19:24:49”}, “ruby”=>{“target_os”=>“linux”,
“host_vendor”=>“pc”, “target_vendor”=>“pc”, “target_cpu”=>“i486”,
“version”=>“1.8.7”, “host_os”=>“linux-gnu”, “host_cpu”=>“i486”,
“host”=>“i486-pc-linux-gnu”, “target”=>“i486-pc-linux-gnu”,
“release_date”=>“2008-08-11”, “platform”=>“i486-linux”}}
DEBUG: Ohai Attribute: uptime - "5 hours 07 minutes 47 seconds"
DEBUG: Ohai Attribute: cpu - {“real”=>0, “total”=>1, “0”=>{“flags”=>[“fpu”,
“vme”, “de”, “pse”, “tsc”, “msr”, “pae”, “mce”, “cx8”, “apic”, “sep”,
“mtrr”, “pge”, “mca”, “cmov”, “pat”, “pse36”, “clflush”, “mmx”, “fxsr”,
“sse”, “sse2”, “syscall”, “nx”, “mmxext”, “fxsr_opt”, “lm”, “3dnowext”,
“3dnow”, “up”, “pni”, “lahf_lm”], “model”=>“47”, “model_name”=>“AMD
Athlon™ 64 Processor 3000+”, “family”=>“15”, “mhz”=>“1743.752”,
“vendor_id”=>“AuthenticAMD”, “cache_size”=>“512 KB”, “stepping”=>“0”}}
DEBUG: Ohai Attribute: hostname - "ubuntusrv"
DEBUG: Ohai Attribute: macaddress - "00:0c:29:f6:14:0b"
DEBUG: Ohai Attribute: block_device - {“ram13”=>{“size”=>“131072”,
“removable”=>“0”}, “ram0”=>{“size”=>“131072”, “removable”=>“0”},
“loop0”=>{“size”=>“0”, “removable”=>“0”}, “ram14”=>{“size”=>“131072”,
“removable”=>“0”}, “ram1”=>{“size”=>“131072”, “removable”=>“0”},
“loop1”=>{“size”=>“0”, “removable”=>“0”}, “ram15”=>{“size”=>“131072”,
“removable”=>“0”}, “ram2”=>{“size”=>“131072”, “removable”=>“0”},
“loop2”=>{“size”=>“0”, “removable”=>“0”}, “ram3”=>{“size”=>“131072”,
“removable”=>“0”}, “loop3”=>{“size”=>“0”, “removable”=>“0”},
“ram4”=>{“size”=>“131072”, “removable”=>“0”}, “loop4”=>{“size”=>“0”,
“removable”=>“0”}, “sda”=>{“model”=>“VMware Virtual S”, “size”=>“16777216”,
“timeout”=>“30”, “rev”=>"1.0 ", “removable”=>“0”, “vendor”=>"VMware, ",
“state”=>“running”}, “ram5”=>{“size”=>“131072”, “removable”=>“0”},
“loop5”=>{“size”=>“0”, “removable”=>“0”}, “sr0”=>{“model”=>“CD/DVDW
TS-H552B”, “size”=>“2097151”, “timeout”=>“0”, “rev”=>“TS04”,
“removable”=>“1”, “vendor”=>“TSSTcorp”, “state”=>“running”},
“ram6”=>{“size”=>“131072”, “removable”=>“0”}, “loop6”=>{“size”=>“0”,
“removable”=>“0”}, “ram10”=>{“size”=>“131072”, “removable”=>“0”},
“ram7”=>{“size”=>“131072”, “removable”=>“0”}, “loop7”=>{“size”=>“0”,
“removable”=>“0”}, “ram11”=>{“size”=>“131072”, “removable”=>“0”},
“ram8”=>{“size”=>“131072”, “removable”=>“0”}, “ram12”=>{“size”=>“131072”,
“removable”=>“0”}, “ram9”=>{“size”=>“131072”, “removable”=>“0”}}
DEBUG: Ohai Attribute: uptime_seconds - 18467
DEBUG: Ohai Attribute: platform - "ubuntu"
DEBUG: Platform is ubuntu version 8.10
DEBUG: Compiling recipes for node ubuntusrv_freemindsystems_com
DEBUG: Loading attributes from
/tmp/chef-solo/cookbooks/runit/attributes/sv_bin.rb
DEBUG: Loading attributes from
/tmp/chef-solo/cookbooks/chef/attributes/chef.rb
DEBUG: Loading cookbook runit’s definitions from
/tmp/chef-solo/cookbooks/runit/definitions/runit_service.rb
DEBUG: Loading Recipe chef::server
DEBUG: Found recipe server in cookbook chef
DEBUG: Found recipe default in cookbook runit
DEBUG: Converging node ubuntusrv_freemindsystems_com
DEBUG: Processing execute[start-runsvdir]
DEBUG: execute[start-runsvdir] using Chef::Provider::Execute
DEBUG: Doing nothing for execute[start-runsvdir]
DEBUG: Processing package[runit]
DEBUG: package[runit] using Chef::Provider::package::Apt
DEBUG: Checking apt-cache policy for runit
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:in
action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:in
each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:in
converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:inrun_solo’/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:19:in
load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:inaction_install’: No version specified, and no candidate version available!
(Chef::Exception::Package)
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in send' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:inconverge’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:inconverge’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:in
each' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:ineach’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:in converge' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:inconverge’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:in run_solo' from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94 from /usr/bin/chef-solo:19:inload’
from /usr/bin/chef-solo:19

apt-cache showpkg runit
Package: runit
Versions:
2.0.0-1ubuntu1
(/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-i386_Packages)
Description Language: es
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid-updates_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language: es
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_i18n_Translation-es
MD5: 61c1a9bb04f16937998757129a396977
Description Language:
File:
/var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-i386_Packages
MD5: 61c1a9bb04f16937998757129a396977

Reverse Depends:
git-daemon-run,runit 1.8.0-2
vblade-persist,runit 1.8.0-2
twoftpd-run,runit 1.8.0-2
twoftpd,runit
socklog-run,runit 1.8.0-2
socklog,runit
slidentd,runit
runit-services,runit 1.8.0-2
runit-run,runit 1.8.0-3
roundup,runit
resolvconf,runit 1.8.0-3
mailfront,runit
ipsvd,runit
git-daemon-run,runit 1.8.0-2
fnord,runit 1.8.0-2
dropbear,runit
djbdns,runit
daemontools-run,runit
daemontools,runit
cfs,runit 1.8.0-2
cereal,runit 1.8.0-3
bincimap-run,runit 1.8.0-2
bincimap,runit
bcron-run,runit 1.8.0-2
bcron,runit
Dependencies:
2.0.0-1ubuntu1 - runit-run (0 (null)) socklog-run (0 (null)) fgetty (0
(null))
Provides:
2.0.0-1ubuntu1 -

Thanks again

2009/3/11 Bryan McLellan btm@loftninjas.org

On Wed, Mar 11, 2009 at 11:47 AM, José Luis Gordo Romero
jgordor@gmail.com wrote:

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb
line 27) had an error:
No version specified, and no candidate version available!


#10

2009/3/18 José Luis Gordo Romero jgordor@gmail.com:

route -n | grep default | awk '/ +/ {print $8} don’t print nothing (-n
convers default no 0.0.0.0), this can be the problem now?

Woop. That’s a bug in HEAD. You’re right.

We’ll take care of that.

http://tickets.opscode.com/browse/OHAI-78


#11

already fixed: http://tickets.opscode.com/browse/OHAI-76

sorry you hit this, jose!

bb

On Wed, Mar 18, 2009 at 8:43 AM, Bryan McLellan btm@loftninjas.org wrote:

2009/3/18 José Luis Gordo Romero jgordor@gmail.com:

route -n | grep default | awk '/ +/ {print $8} don’t print nothing (-n
convers default no 0.0.0.0), this can be the problem now?

Woop. That’s a bug in HEAD. You’re right.

We’ll take care of that.

http://tickets.opscode.com/browse/OHAI-78