FATAL: NoMethodError: undefined method `length' for false:FalseClass while installing mysql recipe

Hi chefians!

When using recipe[database::ebs_volume], it errors out with the message:

ec2-107-22-136-247.compute-1.amazonaws.com [Tue, 14 Feb 2012 06:48:35 +0000] FATAL: NoMethodError: undefined method `length’ for false:FalseClass

name "myapp_database_master_ebs"
description "database master for the applications hosted under myapp using ebs a data dir."
run_list(
“recipe[database::ebs_volume]”,
“recipe[database::master]”
)


@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Hi Sachin,

There is not much info, but seems like app["database_master_role"] or
app["database_slave_role"] have the value 'false' and it shouldn't.
Maybe you should check the data_bag for those keys.

Good luck :slight_smile:

On Tue, Feb 14, 2012 at 7:00 AM, Sachin Sagar Rai millisami@gmail.com wrote:

Hi chefians!

When using recipe[database::ebs_volume], it errors out with the message:

ec2-107-22-136-247.compute-1.amazonaws.com [Tue, 14 Feb 2012 06:48:35 +0000]
FATAL: NoMethodError: undefined method `length' for false:FalseClass

name "myapp_database_master_ebs"
description "database master for the applications hosted under myapp using
ebs a data dir."
run_list(
"recipe[database::ebs_volume]",
"recipe[database::master]"
)


@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow

--
Juanje