[chef] Re: What is the trigger in the UI in order to know when a node from an ami in complete when launched using knife?


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: What is the trigger in the UI in order to know when a node from an ami in complete when launched using knife?
  • Date: Wed, 28 Mar 2012 10:29:48 -0700

Why use knife instead of boto and fabric? You could monitor ohai_time in the 
node attributes, that is just the timestamp of the last chef run, but using 
boto to do the launch and then watch the instance status and then fabric to 
check SSH might be easier in the long run.

--Noah

On Mar 28, 2012, at 5:56 AM, David Montgomery wrote:

> Hi,
> 
> I am using knife to launch an ami from python.  Then I need to execute
> a loop the will be checking the UI using PyChef so when the node is
> complete..I can do further processing.
> 
> So...what is the field that I should be monitoring that 1) if the
> field exists and 2) if it does exists goes from one state to another.
> i.e. all ready.
> 
> Thanks

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




Archive powered by MHonArc 2.6.16.

§