infochimps-labs/ironfan

Bootstrap failure is sometimes hard to see

jasonm opened this issue · 1 comments

When bootstrapping several machines in parallel a node or few will sometimes fail to bootstrap, but the failure is buried several screens back in stdout and the output of the knife cluster bootstrap command doesn't highlight the failure.

Is it possible to inspect a chef node and see if the last bootstrap succeeded, and display this as a column in the "Current state" table? Or, is it appropriate to inspect the output of the bootstrap script (e.g. ubuntu12.04-ironfan.erb) and look for the "Chef bootstrap failed!" message?

I like both ideas, though the "current state" fits better with how other parts of Ironfan operate (and is simpler to accomplish). I can't promise very quick fix on this, but I will gladly test and include any reasonable pull request that accomplishes this.