Chef-expander error-message

Hi!

please help me out

I have the following error message when I try to run chef-expander

chef-expander
INFO: Chef Expander 0.10.4 starting cluster with nodes
FATAL: undefined method `times’ for nil:NilClass (NoMethodError)

Firstly, the problem was that the Status Page in webgui is empty even thought
there was a connection with node

I found few articles describing that this may happen because of chef-expander
wasn’t running

But I can’t run chef-expander because it fails run

ruby -v
ruby 1.8.7

Thanks!

On Mon, Sep 19, 2011 at 5:31 AM, simpotronica@gmail.com wrote:

Hi!

please help me out

I have the following error message when I try to run chef-expander

chef-expander
INFO: Chef Expander 0.10.4 starting cluster with nodes
FATAL: undefined method `times' for nil:NilClass (NoMethodError)

See http://tickets.opscode.com/browse/CHEF-2531 for the same issue -
main problem being chef-expander has some mandatory arguments that
need to be passed. I suggest taking a look at the init scripts in
chef/distro/ for it, hopefully there's one for your platform.

eg: https://github.com/opscode/chef/blob/master/chef/distro/redhat/etc/init.d/chef-expander

Matthew Kent | http://magoazul.com

On Monday, September 19, 2011 at 8:07 AM, Matthew Kent wrote:

On Mon, Sep 19, 2011 at 5:31 AM, <simpotronica@gmail.com (mailto:simpotronica@gmail.com)> wrote:

Hi!

please help me out

I have the following error message when I try to run chef-expander

chef-expander
INFO: Chef Expander 0.10.4 starting cluster with nodes
FATAL: undefined method `times' for nil:NilClass (NoMethodError)

See http://tickets.opscode.com/browse/CHEF-2531 for the same issue -
main problem being chef-expander has some mandatory arguments that
need to be passed.
Namely the number of workers to start. Add -n1 and you should be good to go.

Matthew Kent | http://magoazul.com

--
Dan DeLeo