[chef] Re: Re: Re: Re: Re: How to handle the elastic_ip associate recipe to finish up smoothly?


Chronological Thread 
  • From: JD Harrington < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: How to handle the elastic_ip associate recipe to finish up smoothly?
  • Date: Sat, 7 Jul 2012 18:26:52 +0200

On Sat, Jul 7, 2012 at 3:16 PM, Sachin Sagar Rai 
< >
 wrote:
> @JD, thanks for the reply n ur bootstrap gist
>
> I looked at it. But my question about the ssh hanging when elastic_ip is
> attached is not answered?
>
> Or am I getting it wrong?

Running chef-client with the --daemonize option means it is not
attached to your TTY. ssh hangs because binding an elastic IP actually
changes the public IP of the instance you're binding it to, rather
than adding the elastic IP in addition to the already allocated public
IP. By running chef-client daemonized (or, as suggested earlier, in
screen/tmux), you're detaching chef-client from the TTY of your ssh
connection so that the run won't be interrupted.



Archive powered by MHonArc 2.6.16.

§