[chef] Re: FATAL: NoMethodError: undefined method `length' for false:FalseClass while installing mysql recipe[database::ebs_volume]


Chronological Thread 
  • From: Juan Jesús Ojeda Croissier < >
  • To:
  • Subject: [chef] Re: FATAL: NoMethodError: undefined method `length' for false:FalseClass while installing mysql recipe[database::ebs_volume]
  • Date: Tue, 14 Feb 2012 07:54:42 +0000

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 :-)

On Tue, Feb 14, 2012 at 7:00 AM, Sachin Sagar Rai 
< >
 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



Archive powered by MHonArc 2.6.16.

§