On Fri, Jan 21, 2011 at 1:53 PM, Apollon Oikonomopoulos <[email protected]> wrote: > Hi, > > I was playing around with confd a bit, and created an "instance admin > state" query. My intent is to use this to check for dying KVM instances > using cgroups release handlers and be able to restart them sooner than > ganeti-watcher would. So, as a first step, I submit the confd query, in > case you feel it's useful. > > Thanks, > Apollon > -- > Add a new CONFD_REQ_INSTANCE_ADMIN_STATE query to confd, returning an > instance's administrative state (up or down). > > The actual call returns True for "up", False for "down" and None for > "non-existing instance". > > Signed-off-by: Apollon Oikonomopoulos <[email protected]>
LGTM. Should we also add the query to burnin in a couple of places so we check they are correct at various points (when the instances are up and down) and that we don't break them? Thanks, Guido
